Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002932/0.002932, allocations: 181.2 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.331/1.331, allocations: 194.2 MB / 202.1 MB, free: 8.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 122.1 kB / 247.1 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1846/0.1846, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.831e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09687, allocations: 54.86 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3997, allocations: 79.67 MB / 0.515 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4, allocations: 67.08 kB / 0.515 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0265/0.4265, allocations: 7.9 MB / 0.5227 GB, free: 8.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.4265, allocations: 0.875 kB / 0.5227 GB, free: 8.281 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003588/0.4269, allocations: 336.1 kB / 0.5231 GB, free: 7.922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.427, allocations: 13.19 kB / 0.5231 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.427, allocations: 7.891 kB / 0.5231 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.4271, allocations: 160.5 kB / 0.5232 GB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4271, allocations: 1.188 kB / 0.5232 GB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4272, allocations: 0 / 0.5232 GB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.62e-05/0.4272, allocations: 2.188 kB / 0.5232 GB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.4273, allocations: 35.02 kB / 0.5233 GB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.4273, allocations: 1.344 kB / 0.5233 GB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4273, allocations: 3.906 kB / 0.5233 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4273, allocations: 3.938 kB / 0.5233 GB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.4274, allocations: 132.4 kB / 0.5234 GB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.4275, allocations: 19.58 kB / 0.5234 GB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.4275, allocations: 6.078 kB / 0.5234 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4276, allocations: 4.719 kB / 0.5234 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4276, allocations: 35.59 kB / 0.5235 GB, free: 7.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.4276, allocations: 0 / 0.5235 GB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002015/0.4278, allocations: 43.81 kB / 0.5235 GB, free: 7.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4278, allocations: 56.75 kB / 0.5236 GB, free: 7.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.4279, allocations: 87.91 kB / 0.5236 GB, free: 7.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.4279, allocations: 26.83 kB / 0.5237 GB, free: 7.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.4279, allocations: 80.14 kB / 0.5237 GB, free: 7.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.4279, allocations: 6.469 kB / 0.5237 GB, free: 7.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.428, allocations: 0 / 0.5237 GB, free: 7.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.428, allocations: 312 kB / 0.524 GB, free: 6.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.428, allocations: 5.188 kB / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.428, allocations: 4.688 kB / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.4281, allocations: 3.562 kB / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4281, allocations: 0 / 0.5241 GB, free: 6.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.924e-05/0.4282, allocations: 41 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4282, allocations: 5.562 kB / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4282, allocations: 0 / 0.5241 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4283, allocations: 5.391 kB / 0.5241 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.4283, allocations: 0 / 0.5241 GB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4283, allocations: 4.094 kB / 0.5241 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.4283, allocations: 1.469 kB / 0.5241 GB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4283, allocations: 7.938 kB / 0.5241 GB, free: 6.746 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.4284, allocations: 102.4 kB / 0.5242 GB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.4284, allocations: 5.125 kB / 0.5242 GB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.4286, allocations: 53.45 kB / 0.5243 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4286, allocations: 0 / 0.5243 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4286, allocations: 1.281 kB / 0.5243 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4286, allocations: 0 / 0.5243 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.148e-05/0.4287, allocations: 128 kB / 0.5244 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4287, allocations: 1.5 kB / 0.5244 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.4287, allocations: 0 / 0.5244 GB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4287, allocations: 5.469 kB / 0.5244 GB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.4287, allocations: 3.906 kB / 0.5244 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4287, allocations: 0 / 0.5244 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4287, allocations: 5.438 kB / 0.5244 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.668e-05/0.4288, allocations: 65.22 kB / 0.5245 GB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.4288, allocations: 82.42 kB / 0.5246 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.4288, allocations: 0 / 0.5246 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.4289, allocations: 2.75 kB / 0.5246 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.4289, allocations: 0.7188 kB / 0.5246 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4289, allocations: 5.219 kB / 0.5246 GB, free: 6.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.045e-05/0.4289, allocations: 76.75 kB / 0.5246 GB, free: 6.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.4293, allocations: 56.05 kB / 0.5247 GB, free: 6.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.4296, allocations: 142.1 kB / 0.5248 GB, free: 6.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.753e-05/0.4297, allocations: 34.69 kB / 0.5249 GB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4297, allocations: 0 / 0.5249 GB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.4297, allocations: 28.3 kB / 0.5249 GB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.4298, allocations: 2.688 kB / 0.5249 GB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.4301, allocations: 54.44 kB / 0.5249 GB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.4303, allocations: 0.6838 MB / 0.5256 GB, free: 5.203 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4303, allocations: 0 / 0.5256 GB, free: 5.203 MB / 346.7 MB Notification: Performance of Templates: time 0.003872/0.4341, allocations: 0.9873 MB / 0.5266 GB, free: 4.699 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1)