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.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") [: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.144/2.144, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.002761/0.002761, allocations: 177.3 kB / 319.6 MB, free: 3.289 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.031/2.031, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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: 87.44 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.242e-05/1.195e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2923, allocations: 106.3 MB / 0.8881 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6679/0.9604, allocations: 141.4 MB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.9607, allocations: 92.8 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05915/1.02, allocations: 13.47 MB / 1.039 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.984e-05/1.02, allocations: 16.19 kB / 1.039 GB, free: 1.816 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002225/1.022, allocations: 0.8502 MB / 1.04 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.022, allocations: 8.031 kB / 1.04 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/1.023, allocations: 75.14 kB / 1.04 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/1.024, allocations: 472.2 kB / 1.041 GB, free: 460 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/1.024, allocations: 23.56 kB / 1.041 GB, free: 440 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.024, allocations: 36 kB / 1.041 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/1.025, allocations: 395.5 kB / 1.041 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.027, allocations: 482 kB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.027, allocations: 4 kB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/1.027, allocations: 0 / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/1.027, allocations: 12 kB / 1.042 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/1.031, allocations: 1.464 MB / 1.043 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.032, allocations: 401 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/1.033, allocations: 200.3 kB / 1.044 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.938e-05/1.033, allocations: 8.5 kB / 1.044 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/1.033, allocations: 265.3 kB / 1.044 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 4.228e-06/1.034, allocations: 0 / 1.044 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.001321/1.035, allocations: 396.9 kB / 1.044 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/1.035, allocations: 114.7 kB / 1.044 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/1.036, allocations: 437.5 kB / 1.045 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.036, allocations: 41.31 kB / 1.045 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1.036, allocations: 202.3 kB / 1.045 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.037, allocations: 156 kB / 1.045 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/1.037, allocations: 0 / 1.045 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.037, allocations: 366 kB / 1.046 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/1.037, allocations: 165.9 kB / 1.046 GB, free: 12.51 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/1.038, allocations: 282.7 kB / 1.046 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/1.039, allocations: 163.3 kB / 1.046 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.039, allocations: 4 kB / 1.046 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001497/1.04, allocations: 0.4938 MB / 1.047 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.04, allocations: 4 kB / 1.047 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.04, allocations: 4 kB / 1.047 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/1.04, allocations: 4 kB / 1.047 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.041, allocations: 95.75 kB / 1.047 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.041, allocations: 4 kB / 1.047 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008802/1.042, allocations: 75.64 kB / 1.047 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/1.042, allocations: 27.61 kB / 1.047 GB, free: 11.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003137/1.042, allocations: 152.3 kB / 1.047 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.042, allocations: 59.2 kB / 1.047 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.044, allocations: 480.1 kB / 1.047 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.044, allocations: 12 kB / 1.048 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.044, allocations: 3.906 kB / 1.048 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.044, allocations: 3.984 kB / 1.048 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.047, allocations: 1.178 MB / 1.049 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.048, allocations: 0 / 1.049 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/1.048, allocations: 67.7 kB / 1.049 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.048, allocations: 4 kB / 1.049 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/1.048, allocations: 7.75 kB / 1.049 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.048, allocations: 7.906 kB / 1.049 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.048, allocations: 0 / 1.049 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001413/1.05, allocations: 0.5284 MB / 1.049 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/1.05, allocations: 143 kB / 1.049 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.05, allocations: 7.125 kB / 1.049 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/1.051, allocations: 59.94 kB / 1.049 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/1.051, allocations: 92.64 kB / 1.05 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/1.051, allocations: 15.38 kB / 1.05 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006485/1.052, allocations: 312.5 kB / 1.05 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009283/1.053, allocations: 130 kB / 1.05 GB, free: 8.906 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001614/1.054, allocations: 0.5397 MB / 1.051 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.056, allocations: 499.5 kB / 1.051 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.056, allocations: 0 / 1.051 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/1.057, allocations: 260 kB / 1.051 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/1.058, allocations: 82.92 kB / 1.051 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.06, allocations: 0.7476 MB / 1.052 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.062, allocations: 0.9606 MB / 1.053 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of SimCode: time 1.242e-06/1.062, allocations: 0 / 1.053 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of Templates: time 0.02598/1.088, allocations: 7.839 MB / 1.061 GB, free: 14.55 MB / 0.6823 GB