As the message says, you should use the XDMF file format to read in the mesh, as described in for instance:
or