Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [: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.327/1.327, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009632/0.0009629, allocations: 187.4 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.024/1.024, 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.0008345/0.0008345, allocations: 89.94 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.992e-06/6.082e-06, allocations: 0 / 0.8511 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4166, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5579, allocations: 140.1 MB / 1.101 GB, free: 20 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.5582, allocations: 87.94 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01184/0.57, allocations: 4.334 MB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.5701, allocations: 4 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006762/0.5708, allocations: 0.5117 MB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5708, allocations: 8.531 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/0.5709, allocations: 35.62 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5712, allocations: 263.4 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.5712, allocations: 8 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.5713, allocations: 21.03 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003927/0.5717, allocations: 198.6 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.5721, allocations: 271.8 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5721, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5722, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.5722, allocations: 8 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.5736, allocations: 0.8943 MB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.574, allocations: 221.1 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.5742, allocations: 100.8 kB / 1.107 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.5742, allocations: 4.234 kB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.5744, allocations: 143.5 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.5744, allocations: 0 / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.000391/0.5748, allocations: 189.9 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5749, allocations: 59.39 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.575, allocations: 166.3 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.5751, allocations: 33.69 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.5752, allocations: 143.1 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.5752, allocations: 71.06 kB / 1.108 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5752, allocations: 0 / 1.108 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5754, allocations: 338.8 kB / 1.108 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5755, allocations: 72 kB / 1.108 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.5757, allocations: 134.3 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.5758, allocations: 79.41 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5758, allocations: 0 / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003986/0.5762, allocations: 245 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5762, allocations: 8 kB / 1.109 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.5763, allocations: 3.906 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5763, allocations: 4 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.5765, allocations: 44.06 kB / 1.109 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5765, allocations: 10.36 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.5768, allocations: 52.88 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.5768, allocations: 11.98 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001047/0.5769, allocations: 126.2 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.5769, allocations: 20.28 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.5774, allocations: 223.8 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5774, allocations: 8 kB / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5774, allocations: 0 / 1.109 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5774, allocations: 3.984 kB / 1.109 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008515/0.5783, allocations: 0.6202 MB / 1.11 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5783, allocations: 4 kB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5784, allocations: 37.91 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5784, allocations: 0 / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.5785, allocations: 0 / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5785, allocations: 4 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5785, allocations: 0.9375 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003673/0.5789, allocations: 303.2 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.5789, allocations: 100.8 kB / 1.11 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.579, allocations: 11.92 kB / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5792, allocations: 35.97 kB / 1.11 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.5793, allocations: 31.94 kB / 1.111 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.5793, allocations: 12 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.346e-05/0.5794, allocations: 120 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003002/0.5797, allocations: 44 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001538/0.5799, allocations: 128.8 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.5802, allocations: 206.1 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5802, allocations: 0 / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5804, allocations: 115.9 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5806, allocations: 23.36 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.5813, allocations: 309 kB / 1.111 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.5817, allocations: 0.7943 MB / 1.112 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.5817, allocations: 4 kB / 1.112 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of Templates: time 0.005751/0.5875, allocations: 2.906 MB / 1.115 GB, free: 0.9219 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)