Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001658, allocations: 177.2 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 82.02 kB / 0.7325 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.728e-06, allocations: 4 kB / 0.8511 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6608, allocations: 115.3 MB / 0.9637 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9752/1.636, allocations: 473.9 MB / 1.426 GB, free: 94.63 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.636, allocations: 94.22 kB / 1.427 GB, free: 94.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.754/5.391, allocations: 1.002 GB / 2.429 GB, free: 136.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004936/5.391, allocations: 75.23 kB / 2.429 GB, free: 136.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.009171/5.4, allocations: 2.82 MB / 2.432 GB, free: 134.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/5.401, allocations: 10.56 kB / 2.432 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/5.405, allocations: 0.7068 MB / 2.432 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009215/5.414, allocations: 3.071 MB / 2.435 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009123/5.415, allocations: 290.4 kB / 2.436 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000782/5.416, allocations: 109.9 kB / 2.436 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003625/5.419, allocations: 1.45 MB / 2.437 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004381/5.424, allocations: 1.675 MB / 2.439 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/5.424, allocations: 9.469 kB / 2.439 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/5.424, allocations: 5.875 kB / 2.439 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.803e-05/5.424, allocations: 38.56 kB / 2.439 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/5.442, allocations: 9.68 MB / 2.448 GB, free: 129.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/5.444, allocations: 0.7189 MB / 2.449 GB, free: 129.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009324/5.445, allocations: 0.5808 MB / 2.45 GB, free: 129.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007768/5.452, allocations: 4.043 MB / 2.454 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/5.454, allocations: 0.7058 MB / 2.454 GB, free: 127.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 3.707e-06/5.454, allocations: 3.469 kB / 2.454 GB, free: 127.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.003694/5.457, allocations: 1.289 MB / 2.456 GB, free: 127.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/5.457, allocations: 221.4 kB / 2.456 GB, free: 127 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/5.462, allocations: 1.846 MB / 2.458 GB, free: 126.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/5.462, allocations: 34.23 kB / 2.458 GB, free: 126.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/5.463, allocations: 0.7611 MB / 2.458 GB, free: 126.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/5.464, allocations: 298.4 kB / 2.459 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/5.464, allocations: 7.312 kB / 2.459 GB, free: 126.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001241/5.464, allocations: 354.1 kB / 2.459 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/5.465, allocations: 0.6201 MB / 2.46 GB, free: 125.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/5.467, allocations: 1.119 MB / 2.461 GB, free: 125.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/5.469, allocations: 0.8377 MB / 2.461 GB, free: 125.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/5.469, allocations: 3.875 kB / 2.461 GB, free: 125.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005581/5.475, allocations: 1.971 MB / 2.463 GB, free: 125.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001372/5.476, allocations: 5.032 MB / 2.468 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.532e-05/5.476, allocations: 14.48 kB / 2.468 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.887e-05/5.477, allocations: 20.16 kB / 2.468 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/5.478, allocations: 367 kB / 2.469 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-05/5.478, allocations: 32.83 kB / 2.469 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/5.482, allocations: 431.5 kB / 2.469 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/5.482, allocations: 97.03 kB / 2.469 GB, free: 119.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/5.483, allocations: 3.625 kB / 2.469 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005225/5.488, allocations: 1.671 MB / 2.471 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.582e-05/5.488, allocations: 17.31 kB / 2.471 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-05/5.488, allocations: 19.81 kB / 2.471 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/5.49, allocations: 363.4 kB / 2.471 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-05/5.49, allocations: 28.91 kB / 2.471 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/5.494, allocations: 389.6 kB / 2.472 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003763/5.494, allocations: 94.59 kB / 2.472 GB, free: 119.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * Array equations: 2 * Algorithm blocks: 4 * 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 0.0008695/5.495, allocations: 158.5 kB / 2.472 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/5.496, allocations: 236.5 kB / 2.472 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/5.501, allocations: 1.551 MB / 2.474 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/5.501, allocations: 13.25 kB / 2.474 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/5.501, allocations: 0 / 2.474 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002108/5.503, allocations: 1.195 MB / 2.475 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/5.511, allocations: 3.4 MB / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/5.511, allocations: 0 / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/5.512, allocations: 238.6 kB / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.024e-05/5.512, allocations: 5.875 kB / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/5.512, allocations: 23.28 kB / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/5.512, allocations: 3.656 kB / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/5.512, allocations: 0 / 2.478 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004502/5.517, allocations: 2.293 MB / 2.481 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/5.519, allocations: 0.5109 MB / 2.481 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009802/5.52, allocations: 4.172 kB / 2.481 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/5.523, allocations: 154.5 kB / 2.481 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/5.523, allocations: 76.25 kB / 2.481 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/5.523, allocations: 51.19 kB / 2.481 GB, free: 118.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003778/5.527, allocations: 1.378 MB / 2.483 GB, free: 118 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007513/5.534, allocations: 1.452 MB / 2.484 GB, free: 117.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * 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.00381/5.538, allocations: 1.483 MB / 2.486 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005466/5.544, allocations: 2.697 MB / 2.488 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/5.544, allocations: 0 / 2.488 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/5.545, allocations: 0.6233 MB / 2.489 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007132/5.552, allocations: 0.9359 MB / 2.49 GB, free: 117 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/5.565, allocations: 3.28 MB / 2.493 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003488/5.568, allocations: 1.926 MB / 2.495 GB, free: 115.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.422e-06/5.568, allocations: 0 / 2.495 GB, free: 115.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1202/5.689, allocations: 60.47 MB / 2.554 GB, free: 110.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)