https://github.com/CATIA-Systems/FMPy/issues/628 How to compile an FMU on Windows to be used in Mac?
I personally have not tried if this works but could these be relevant?