Convert rooms to mass error: trim_with_edge_loops requires all curves to touch surface dynamo

Hi everyone! I am converting rooms into masses using dynamo. After completing running, some masses have been created successfully but some failed. And there is a warning called trim_with_edge_loops requires all curves to touch surface dynamo. I found that the number of the output list is less than that of rooms defined. Is there something wrong? I am a new user of this forum and it seems that I cannot upload attachments now. So I upload the screenshots and the dynamo file to google drive, see this. Thank you!

I am closing this as you’ve opened a new thread for the same question. Please refrain from duplicate posts in the future.

For future reference the other thread is here: Convert rooms to mass: trim_with_edge_loops requires all curves to touch surface dynamo