Hi, i'm trying to compile my modelica model to generate an FMU compiled for a Win64 target. I have tryed both Jmodelica 1.5 and 1.7 but the both seems to use mingw to generate a win32 dll. When i load the dll with a win64 application i got errors. Is there a way to compiler the FMU slecting the target host and in particular the platform?
Thanks Alessandro
FMI Compilation on Win64 (How to generate a win64 compliant FMU dll from Jmodelica?)
Hi Alessandro,
There is currently no win64 support in JModelica.org. However, we have a product called OPTIMICA Studio with which you can compile FMUs for a win64 target. You can download a demo version from http://www.modelon.com/products/modelica-workshop-for-physical-modeling/ (we are in the middle of a name change, that is why it is still called "Modelica workshop for physical modeling" on the homepage). Also, the next version of OPTIMICA Studio (1.2) will contain simulation and optmization support. With the current version you can create FMUs, but need another program (such as JModelica.org) to simulate it.
Best regards,
Tove
Hi,
JModelica.org supports only 32 bit FMUs also in the Python import currently, so you will need a master that supports 64bit FMUs in order to simulate them. For example, the FMI Toolbox for MATLAB, http://www.modelon.com/products/fmi-toolbox-for-matlab/, is available in 64 bit, and the upcoming version of OPTIMICA Studio will also support import of 64 bit FMUs.
/Johan