Converting gmsh to xdmf

Further down in that thread, I explain how to deal with the cell blocks generated by meshio, see Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio .
Also, you could just use Converter from GMSH to XDMF (with physical groups)