Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.157/2.157, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.00159, allocations: 185.2 kB / 360.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001167, allocations: 96.42 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.239e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/0.7654, allocations: 146.6 MB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/0.7658, allocations: 94.19 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0579/0.8237, allocations: 13.46 MB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.143e-05/0.8239, allocations: 12 kB / 1.119 GB, free: 12.66 MB / 0.7292 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.002025/0.8259, allocations: 0.8626 MB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.826, allocations: 8.531 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.8262, allocations: 71.16 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8275, allocations: 473.7 kB / 1.121 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.8276, allocations: 20 kB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.8278, allocations: 36 kB / 1.121 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/0.8292, allocations: 393.9 kB / 1.121 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.8306, allocations: 489.7 kB / 1.121 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.8307, allocations: 0 / 1.121 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.8308, allocations: 4 kB / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.8308, allocations: 12 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.8346, allocations: 1.446 MB / 1.123 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.8357, allocations: 424.9 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.8363, allocations: 195.7 kB / 1.124 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.8363, allocations: 7.125 kB / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006476/0.837, allocations: 259 kB / 1.124 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.126e-06/0.837, allocations: 0 / 1.124 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001182/0.8382, allocations: 407.3 kB / 1.124 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.8383, allocations: 115.5 kB / 1.124 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.8391, allocations: 436.5 kB / 1.125 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.8392, allocations: 41.69 kB / 1.125 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.8394, allocations: 193.1 kB / 1.125 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.8397, allocations: 153.9 kB / 1.125 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.8397, allocations: 0 / 1.125 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.8399, allocations: 370.8 kB / 1.125 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.8405, allocations: 169.5 kB / 1.126 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.8411, allocations: 282.4 kB / 1.126 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.8416, allocations: 163.1 kB / 1.126 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8416, allocations: 0 / 1.126 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001369/0.843, allocations: 499.4 kB / 1.126 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.843, allocations: 8.031 kB / 1.126 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8431, allocations: 4 kB / 1.126 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.8431, allocations: 4 kB / 1.126 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.8438, allocations: 99.66 kB / 1.127 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.8438, allocations: 4 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.8446, allocations: 67.8 kB / 1.127 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.8447, allocations: 31.89 kB / 1.127 GB, free: 4.742 MB / 0.7292 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.0002356/0.8449, allocations: 151.3 kB / 1.127 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.8451, allocations: 59.33 kB / 1.127 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.8466, allocations: 485.9 kB / 1.127 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.8467, allocations: 7.938 kB / 1.127 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.8467, allocations: 0 / 1.127 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8467, allocations: 9.484 kB / 1.127 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.8497, allocations: 1.182 MB / 1.129 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.8497, allocations: 1.812 kB / 1.129 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.8502, allocations: 71.83 kB / 1.129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.8502, allocations: 0 / 1.129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.8503, allocations: 4 kB / 1.129 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.8503, allocations: 4 kB / 1.129 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8503, allocations: 3.984 kB / 1.129 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/0.8516, allocations: 0.5355 MB / 1.129 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.8518, allocations: 140.5 kB / 1.129 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.852, allocations: 7.906 kB / 1.129 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.8527, allocations: 59.94 kB / 1.129 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.853, allocations: 84.52 kB / 1.129 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.8531, allocations: 23.98 kB / 1.129 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005397/0.8536, allocations: 315.2 kB / 1.13 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007644/0.8544, allocations: 135.8 kB / 1.13 GB, free: 1.406 MB / 0.7292 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.001454/0.8559, allocations: 0.5269 MB / 1.13 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.8572, allocations: 0.4929 MB / 1.131 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8572, allocations: 0 / 1.131 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.8579, allocations: 258.4 kB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.8586, allocations: 74.03 kB / 1.131 GB, free: 316 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.8611, allocations: 0.7571 MB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.862, allocations: 0.959 MB / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.8621, allocations: 0 / 1.133 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.02267/0.8847, allocations: 7.842 MB / 1.141 GB, free: 6.797 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)