Group Abstract Group Abstract

Message Boards Message Boards

Cannot import or simulate FMU from JModelica2.4 due to different platforms

Posted 6 years ago
POSTED BY: Frank Wendel
4 Replies
Posted 6 years ago

Dear Otto,

Thank You for your fast and straightforward assistance. My problem could be solved with solution 2.

Kind regards Frank

POSTED BY: Frank Wendel

Nothing has been dropped, but if you have a 64-bit FMU you need to compile your simulation as a 64-bit application. Now, he clearly controls both ends (since he compiled the FMU him self) so he has two options

  1. Configure JModelica to compile a 32-bit FMU and stick to 32-bit simulations in SystemModeler.
  2. Configure SystemModeler to compile a 64-bit simulation and stick to 64-bit FMUs from JModelica.

I know how to do 2 so that is what I can suggest, for 1 I would suggest to search for help in a more appropriate place.

Otto

POSTED BY: Otto Tronarp
Anonymous User
Anonymous User
Posted 6 years ago

He seems to be saying 32bit support interface was dropped and has no explanation for the lack of care.

If you can do as he suggests depends upon whether you control it (in which case your time is burned not his) or you do not (meaning the modules were purchased and will never be re-released ever).

POSTED BY: Anonymous User

Your FMU seems to be compiled as a 64-bit DLL so you need to build your simulations as a 64-bit executable. You can change that in Tools > Options > General > Compiler, change target to x86_64.

Otto

POSTED BY: Otto Tronarp
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard