Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.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.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.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.075/2.075, allocations: 253.1 MB / 260.4 MB, free: 0.5352 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.001621/0.001621, allocations: 181.7 kB / 319.6 MB, free: 7.652 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.981/1.981, allocations: 205.4 MB / 0.5704 GB, free: 25.62 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.001291/0.00129, allocations: 100.7 kB / 0.6746 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.963e-06, allocations: 0 / 0.7843 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4978, allocations: 106.2 MB / 0.8881 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.7133, allocations: 134.8 MB / 1.02 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/0.7137, allocations: 91.94 kB / 1.02 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.03178/0.7455, allocations: 6.971 MB / 1.027 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.7456, allocations: 8 kB / 1.027 GB, free: 14.97 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001626/0.7473, allocations: 0.6563 MB / 1.027 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.7473, allocations: 11.97 kB / 1.027 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.7475, allocations: 51.42 kB / 1.027 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.7482, allocations: 334.4 kB / 1.028 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.7483, allocations: 24 kB / 1.028 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.7484, allocations: 28 kB / 1.028 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/0.7496, allocations: 377.9 kB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.7509, allocations: 448.1 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.7509, allocations: 0 / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.751, allocations: 4 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.7511, allocations: 20.98 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.7545, allocations: 1.3 MB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.7555, allocations: 337 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.7559, allocations: 170.1 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.046e-05/0.756, allocations: 4.438 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.7566, allocations: 220.5 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.7566, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.001004/0.7576, allocations: 314.9 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.7577, allocations: 60.03 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.7581, allocations: 226.5 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-05/0.7582, allocations: 41.69 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.7584, allocations: 181.1 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.7586, allocations: 126.3 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.7586, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7588, allocations: 342.8 kB / 1.032 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.7593, allocations: 153.3 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.7599, allocations: 232.7 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.7604, allocations: 143.2 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7604, allocations: 4 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00135/0.7618, allocations: 455.4 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.7618, allocations: 11.91 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7619, allocations: 0 / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.7619, allocations: 4 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.7625, allocations: 72.05 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.7625, allocations: 16 kB / 1.033 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.7633, allocations: 75.78 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.7633, allocations: 24 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$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.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.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.0002406/0.7636, allocations: 164.7 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.7637, allocations: 27.62 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.765, allocations: 388 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.765, allocations: 4 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.765, allocations: 3.938 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.765, allocations: 3.984 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.7676, allocations: 0.9511 MB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7676, allocations: 0 / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.768, allocations: 51.91 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.768, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.768, allocations: 7.984 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.7681, allocations: 3.906 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7681, allocations: 3.938 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001063/0.7691, allocations: 456.5 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.7693, allocations: 112.7 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.7694, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.77, allocations: 55.95 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.7702, allocations: 68.39 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.7703, allocations: 19.98 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001813/0.7705, allocations: 133.6 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000612/0.7711, allocations: 83.91 kB / 1.035 GB, free: 5.738 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$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.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000293/0.7714, allocations: 142.8 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7726, allocations: 438.6 kB / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7726, allocations: 0 / 1.036 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.7731, allocations: 213.8 kB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.7736, allocations: 39.53 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.7755, allocations: 0.5037 MB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/0.7763, allocations: 0.8666 MB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.7763, allocations: 0 / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of Templates: time 0.4372/1.213, allocations: 4.995 MB / 1.042 GB, free: 104.1 MB / 0.6823 GB