The error message suggests that the Tria elements do not form a closed volume, there could be gaps. If this is due to unequivalanced nodes, you can sweep the nodes. If there exists a gap you need to check the surface mesh to make sure it is closed in order to generate the TET mesh.