﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4755	Reduce memory usage when building models in OpenModelica	Francesco Casella	Martin Sjölund	"Please check the results of [https://libraries.openmodelica.org/branches/newInst/ScalableTestSuite/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_112_M_112.err DistributionSystemModelica_N_112_M_112]in the [https://libraries.openmodelica.org/branches/newInst/ScalableTestSuite/ScalableTestSuite.html new front end Hudson report]. The following message appears many time
{{{
GC Warning: Failed to expand heap by 16777216 bytes
}}}
then the final message is issued
{{{
GC Warning: Out of Memory! Heap size: 3240 MiB. Returning NULL!
}}}
If I am not mistaken this mode should have a quarter million equations, so it is large but not exceedingly so; it is the largest model so far in the testsuite. The {{{N_80_M_80}}} model, which is half as big, clears the NF in four seconds with about 1.6 GB memory allocation, which non-trivial but still pretty manageable.

Can we configure the Hudson job to also support the N_112_M_112 model? All other times should be below 300 s, save the C compilation, which will however improve a lot as soon as Willi is finished with the new daeMode backend workflow."	enhancement	new	high	2.1.0	*unknown*				Per Östlund
