Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.189/2.189, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 185.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 91.38 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/8.907e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.216/6.41, allocations: 2.471 GB / 3.359 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/6.411, allocations: 87.64 kB / 3.359 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.603/11.01, allocations: 0.8873 GB / 4.247 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002873/11.01, allocations: 37.55 kB / 4.247 GB, free: 131.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.01132/11.03, allocations: 1.925 MB / 4.248 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/11.03, allocations: 11.41 kB / 4.248 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00851/11.03, allocations: 0.563 MB / 4.249 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007407/11.04, allocations: 1.228 MB / 4.25 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001978/11.04, allocations: 180.1 kB / 4.25 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007636/11.04, allocations: 58.31 kB / 4.25 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004714/11.05, allocations: 0.9636 MB / 4.251 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004382/11.05, allocations: 1.028 MB / 4.252 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/11.05, allocations: 6.328 kB / 4.252 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/11.05, allocations: 3.469 kB / 4.252 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/11.05, allocations: 40.31 kB / 4.252 GB, free: 130.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02242/11.08, allocations: 4.903 MB / 4.257 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/11.08, allocations: 0.8326 MB / 4.258 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/11.08, allocations: 461 kB / 4.258 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002365/11.08, allocations: 0.8428 MB / 4.259 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00216/11.09, allocations: 0.6228 MB / 4.26 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 6.532e-06/11.09, allocations: 0 / 4.26 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.007138/11.09, allocations: 1.095 MB / 4.261 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/11.09, allocations: 143.5 kB / 4.261 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/11.1, allocations: 0.7363 MB / 4.262 GB, free: 127 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003848/11.1, allocations: 28.7 kB / 4.262 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/11.1, allocations: 383.6 kB / 4.262 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/11.1, allocations: 267.9 kB / 4.262 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/11.1, allocations: 3.906 kB / 4.262 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001256/11.1, allocations: 341.1 kB / 4.263 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/11.1, allocations: 395.1 kB / 4.263 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/11.1, allocations: 0.5984 MB / 4.264 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004096/11.11, allocations: 0.5685 MB / 4.264 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/11.11, allocations: 0 / 4.264 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.008298/11.11, allocations: 1.235 MB / 4.266 GB, free: 126 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003982/11.11, allocations: 1.135 MB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/11.11, allocations: 7.219 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.241e-05/11.11, allocations: 6.406 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/11.12, allocations: 279.3 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.499e-05/11.12, allocations: 7.125 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/11.12, allocations: 190.3 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005788/11.12, allocations: 50.5 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/11.12, allocations: 4.531 kB / 4.267 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006745/11.13, allocations: 1.096 MB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/11.13, allocations: 3.688 kB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/11.13, allocations: 14.78 kB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/11.14, allocations: 281.4 kB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.778e-05/11.14, allocations: 10.88 kB / 4.269 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/11.14, allocations: 171.3 kB / 4.269 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/11.14, allocations: 51.59 kB / 4.269 GB, free: 124.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0006475/11.14, allocations: 197.5 kB / 4.269 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/11.14, allocations: 122.1 kB / 4.269 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/11.15, allocations: 1.259 MB / 4.27 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/11.15, allocations: 7.312 kB / 4.27 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/11.15, allocations: 7.812 kB / 4.27 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/11.15, allocations: 3.75 kB / 4.27 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/11.16, allocations: 2.679 MB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/11.16, allocations: 3.969 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003166/11.17, allocations: 221.8 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.75e-05/11.17, allocations: 7.438 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/11.17, allocations: 33.02 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/11.17, allocations: 3.812 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/11.17, allocations: 10.92 kB / 4.273 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008719/11.17, allocations: 2.098 MB / 4.275 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/11.18, allocations: 355.8 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006303/11.18, allocations: 15.25 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004006/11.18, allocations: 128.4 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/11.18, allocations: 56.62 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/11.18, allocations: 53.98 kB / 4.276 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001796/11.18, allocations: 0.557 MB / 4.276 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006159/11.19, allocations: 0.9416 MB / 4.277 GB, free: 123.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.006881/11.2, allocations: 2.454 MB / 4.28 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00626/11.2, allocations: 1.677 MB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/11.2, allocations: 0.9375 kB / 4.281 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/11.21, allocations: 0.6104 MB / 4.282 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/11.21, allocations: 399.2 kB / 4.282 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/11.22, allocations: 1.805 MB / 4.284 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/11.22, allocations: 1.317 MB / 4.285 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.923e-06/11.22, allocations: 2.656 kB / 4.285 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.1027/11.33, allocations: 40.12 MB / 4.324 GB, free: 120.5 MB / 0.8855 GB