- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation with many variables (Heap...
Simulation with many variables (Heap error)
Simulation with many variables (Heap error)
Hi,
I have troubles compiling models with large numbers of variables. If the number of variables exceeds 1000 variables, I receive a heap error on gcc or gdb. It is reproducable, i.e. it seems to be the number of variables. I have increased the heapsize to (1GB) buy adding some compiler options. This helps to make a step from ~500 up to 1000, but this seems to be the "sound wall".
Are there any additional measures to handle this topic or do I realy standing in front of the "sound wall".
Thanks.
Re: Simulation with many variables (Heap error)
What output format and OMC version are you using? (Older versions or .plt output put the result-file in memory; use .mat format to save a lot of heap)
- sjoelund.se
- 1700 Posts
Re: Simulation with many variables (Heap error)
Try the 64bit nightly-build as it can access far more memory
https://build.openmodelica.org/omc/buil … lds/64bit/
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation with many variables (Heap...