- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Change compiler (need 64 bit)
Change compiler (need 64 bit)
Change compiler (need 64 bit)
Hello all,
I'm wondering if there is any chance in OpenModelica to change compiler?
I need to export 64 bit FMU (.dll).
Thanks for help,
Lala
- Lala
- 32 Posts
Re: Change compiler (need 64 bit)
Or, there is another possibility. If someone has Dymola, You can export my model as 64 bit FMU. I really need this and I will be grateful if someone will help me with this.
If You are interested to help, I will send You my model from OpenModlica.
Cheers,
Lala
- Lala
- 32 Posts
Re: Change compiler (need 64 bit)
Hello,
I need the possibility the change the compiler on Windows from gcc 32bit to a 64bit compiler. I am having the issue that the 32bit gcc runs out of memory and crashes during compilation (revision-21068). A guide would be nice.
Code:
returning NULL (not enough memory) from rml_major_collection!
returning NULL (not enough memory) from rml_minor_collection!
returning NULL (not enough memory) from rml_prim_gcalloc!
Re: Change compiler (need 64 bit)
Re: Change compiler (need 64 bit)
You can't install the 64bit OpenModelica? That would produce a 64bit FMU.
- adrpo
- 885 Posts
Re: Change compiler (need 64 bit)
here is the info :
e:/OpenModelica1.12.0-64bit//share/omc/scripts/Compile.bat conditioning_circuit msvc10 mingw64 parallel 4 0
PATH = "e:\OpenModelica1.12.0-64bit\tools\msys\mingw64\bin;e:\OpenModelica1.12.0-64bit\tools\msys\mingw64\bin\..\..\usr\bin;"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
It seems to use 32bit compiler
Re: Change compiler (need 64 bit)
It should work to compile with GCC, it might even be possible to import it and run it in Simulink.
Yes, unfortunately for MSVC we only compile the 32bit dependencies and the FMU.
We should add support for 64bit MSVC. I opened a ticket about it:
https://trac.openmodelica.org/OpenModelica/ticket/4738
and we will try to fix this as soon as possible.
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Change compiler (need 64 bit)