Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6006/0.6006, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 221.4 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008565, allocations: 99.14 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.432e-06, allocations: 0 / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5207/0.6529, allocations: 334.6 MB / 0.96 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.6532, allocations: 87.97 kB / 0.9601 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.02769/0.6809, allocations: 13.9 MB / 0.9737 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.681, allocations: 4 kB / 0.9737 GB, free: 1.051 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000658/0.6816, allocations: 465.5 kB / 0.9741 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6817, allocations: 8.031 kB / 0.9741 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.6817, allocations: 19.8 kB / 0.9741 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.6819, allocations: 175 kB / 0.9743 GB, free: 332 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6819, allocations: 8 kB / 0.9743 GB, free: 324 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.6819, allocations: 11.91 kB / 0.9743 GB, free: 312 kB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001885/0.6821, allocations: 86.59 kB / 0.9744 GB, free: 256 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.6823, allocations: 80.73 kB / 0.9745 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6823, allocations: 0 / 0.9745 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.6823, allocations: 0 / 0.9745 GB, free: 184 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6823, allocations: 4 kB / 0.9745 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1718/0.8541, allocations: 394.2 kB / 0.9749 GB, free: 331.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.8543, allocations: 88.64 kB / 0.975 GB, free: 331.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.8543, allocations: 43.39 kB / 0.975 GB, free: 331.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007313/0.8551, allocations: 0.9248 MB / 0.9759 GB, free: 330.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.8551, allocations: 33.34 kB / 0.9759 GB, free: 330.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.8551, allocations: 3.344 kB / 0.9759 GB, free: 330.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003622/0.8555, allocations: 138.4 kB / 0.9761 GB, free: 330.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.207e-05/0.8555, allocations: 54.83 kB / 0.9761 GB, free: 330.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.8556, allocations: 136.8 kB / 0.9763 GB, free: 330.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.8556, allocations: 32.45 kB / 0.9763 GB, free: 330.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.8556, allocations: 109 kB / 0.9764 GB, free: 330.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.8556, allocations: 40.36 kB / 0.9764 GB, free: 330.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.8557, allocations: 0 / 0.9764 GB, free: 330.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.8557, allocations: 325.4 kB / 0.9767 GB, free: 330.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.8558, allocations: 45.66 kB / 0.9768 GB, free: 330.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.8559, allocations: 81.73 kB / 0.9769 GB, free: 330.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.8563, allocations: 140.4 kB / 0.977 GB, free: 330.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.8564, allocations: 3.688 kB / 0.977 GB, free: 330.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006005/0.857, allocations: 259.3 kB / 0.9772 GB, free: 330 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.857, allocations: 8.406 kB / 0.9772 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.857, allocations: 0 / 0.9772 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.857, allocations: 2.875 kB / 0.9773 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.8573, allocations: 63.02 kB / 0.9773 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/0.8573, allocations: 5.5 kB / 0.9773 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8574, allocations: 42.64 kB / 0.9774 GB, free: 330 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.8575, allocations: 6.25 kB / 0.9774 GB, free: 330 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.903e-05/0.8575, allocations: 110 kB / 0.9775 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.8576, allocations: 10 kB / 0.9775 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.8579, allocations: 159.6 kB / 0.9776 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8579, allocations: 1.641 kB / 0.9776 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8579, allocations: 0 / 0.9776 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8579, allocations: 3.609 kB / 0.9776 GB, free: 329.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.8581, allocations: 186 kB / 0.9778 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8581, allocations: 5.125 kB / 0.9778 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.8582, allocations: 34.94 kB / 0.9778 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8583, allocations: 6.688 kB / 0.9779 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.8583, allocations: 0 / 0.9779 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8583, allocations: 0 / 0.9779 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8583, allocations: 3.375 kB / 0.9779 GB, free: 329.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003145/0.8586, allocations: 241.5 kB / 0.9781 GB, free: 329.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.8586, allocations: 91.42 kB / 0.9782 GB, free: 329.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.8587, allocations: 0 / 0.9782 GB, free: 329.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.8588, allocations: 23.11 kB / 0.9782 GB, free: 329.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.8589, allocations: 7.234 kB / 0.9782 GB, free: 329.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.8589, allocations: 1.906 kB / 0.9782 GB, free: 329.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.991e-05/0.8589, allocations: 113.7 kB / 0.9783 GB, free: 329.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002704/0.8592, allocations: 69.67 kB / 0.9784 GB, free: 329.4 MB / 0.6823 GB 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002151/0.8594, allocations: 173.7 kB / 0.9785 GB, free: 329.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.8596, allocations: 116.6 kB / 0.9787 GB, free: 329.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8596, allocations: 0 / 0.9787 GB, free: 329.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.8597, allocations: 45.34 kB / 0.9787 GB, free: 329.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.8599, allocations: 22.52 kB / 0.9787 GB, free: 329.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.8602, allocations: 153.5 kB / 0.9789 GB, free: 329.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.8604, allocations: 0.7273 MB / 0.9796 GB, free: 328.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.8604, allocations: 0 / 0.9796 GB, free: 328.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.004349/0.8647, allocations: 2.728 MB / 0.9822 GB, free: 328.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)