Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") [: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.102/2.102, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001804/0.001804, allocations: 177.3 kB / 319.6 MB, free: 3.32 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 2.123/2.123, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001278/0.001277, allocations: 106.5 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.897e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.534/5.75, allocations: 2.193 GB / 3.081 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/5.75, allocations: 99.31 kB / 3.081 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2356/5.986, allocations: 64.39 MB / 3.144 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001258/5.986, allocations: 32 kB / 3.144 GB, free: 111.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003488/5.989, allocations: 1.352 MB / 3.145 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/5.99, allocations: 8.031 kB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/5.991, allocations: 246 kB / 3.145 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/5.994, allocations: 0.7408 MB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/5.994, allocations: 48 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/5.994, allocations: 75.92 kB / 3.146 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003499/5.997, allocations: 1.312 MB / 3.147 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/6.001, allocations: 1.057 MB / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/6.001, allocations: 0 / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/6.001, allocations: 4 kB / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/6.001, allocations: 42.25 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/6.011, allocations: 3.271 MB / 3.152 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/6.014, allocations: 0.9232 MB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009361/6.015, allocations: 384.3 kB / 3.153 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/6.015, allocations: 40.94 kB / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/6.016, allocations: 0.5339 MB / 3.154 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.359e-06/6.016, allocations: 0 / 3.154 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.00357/6.02, allocations: 0.8702 MB / 3.154 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/6.02, allocations: 252.3 kB / 3.155 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/6.021, allocations: 0.6007 MB / 3.155 GB, free: 99.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003807/6.022, allocations: 41.7 kB / 3.155 GB, free: 99.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/6.022, allocations: 368.7 kB / 3.156 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/6.022, allocations: 331.2 kB / 3.156 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/6.023, allocations: 0 / 3.156 GB, free: 98.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001611/6.023, allocations: 398.7 kB / 3.156 GB, free: 98.35 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009213/6.024, allocations: 318.6 kB / 3.157 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/6.025, allocations: 494.2 kB / 3.157 GB, free: 97.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/6.026, allocations: 374.3 kB / 3.157 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/6.026, allocations: 0 / 3.157 GB, free: 97.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003554/6.03, allocations: 0.9979 MB / 3.158 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/6.03, allocations: 4 kB / 3.158 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/6.03, allocations: 4 kB / 3.158 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/6.031, allocations: 84.81 kB / 3.158 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/6.032, allocations: 199.7 kB / 3.159 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/6.035, allocations: 1.453 MB / 3.16 GB, free: 94.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/6.037, allocations: 123.3 kB / 3.16 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/6.037, allocations: 51.89 kB / 3.16 GB, free: 94.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003909/6.038, allocations: 164.9 kB / 3.16 GB, free: 93.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/6.038, allocations: 90.88 kB / 3.161 GB, free: 93.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/6.043, allocations: 1.205 MB / 3.162 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/6.043, allocations: 16 kB / 3.162 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/6.043, allocations: 0 / 3.162 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/6.043, allocations: 3.984 kB / 3.162 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/6.05, allocations: 2.339 MB / 3.164 GB, free: 90.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/6.05, allocations: 0 / 3.164 GB, free: 90.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/6.051, allocations: 175.7 kB / 3.164 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009845/6.052, allocations: 84.78 kB / 3.164 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/6.052, allocations: 19.97 kB / 3.164 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/6.055, allocations: 1.48 MB / 3.166 GB, free: 88.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.055, allocations: 64 / 3.166 GB, free: 88.34 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003555/6.058, allocations: 1.092 MB / 3.167 GB, free: 87.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/6.059, allocations: 327.5 kB / 3.167 GB, free: 86.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/6.059, allocations: 11.98 kB / 3.167 GB, free: 86.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/6.061, allocations: 87.92 kB / 3.167 GB, free: 86.78 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/6.061, allocations: 117 kB / 3.167 GB, free: 86.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/6.061, allocations: 47.97 kB / 3.167 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008199/6.062, allocations: 447.1 kB / 3.168 GB, free: 86.19 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001758/6.064, allocations: 359.2 kB / 3.168 GB, free: 85.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002199/6.066, allocations: 1.049 MB / 3.169 GB, free: 84.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002803/6.069, allocations: 0.9921 MB / 3.17 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/6.069, allocations: 4.188 kB / 3.17 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/6.071, allocations: 0.608 MB / 3.171 GB, free: 83.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/6.073, allocations: 241.9 kB / 3.171 GB, free: 83.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/6.08, allocations: 1.733 MB / 3.173 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/6.082, allocations: 1.274 MB / 3.174 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.373e-06/6.082, allocations: 0 / 3.174 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of Templates: time 0.05295/6.135, allocations: 20.32 MB / 3.194 GB, free: 59.79 MB / 0.8698 GB