Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.578/2.578, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.00174, allocations: 184.1 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 102.8 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5137/0.515, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.7634, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7769/1.54, allocations: 140.5 MB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004913/1.541, allocations: 95.61 kB / 1.021 GB, free: 15.75 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.092/1.633, allocations: 16.66 MB / 1.037 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.633, allocations: 12 kB / 1.037 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/1.634, allocations: 83.05 kB / 1.037 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/1.637, allocations: 0.5617 MB / 1.038 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/1.637, allocations: 23.25 kB / 1.038 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/1.637, allocations: 43.84 kB / 1.038 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002317/1.639, allocations: 416.8 kB / 1.038 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/1.642, allocations: 496 kB / 1.039 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/1.642, allocations: 0 / 1.039 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/1.642, allocations: 11.92 kB / 1.039 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/1.643, allocations: 12 kB / 1.039 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00502/1.648, allocations: 1.516 MB / 1.04 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.649, allocations: 453.1 kB / 1.041 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/1.65, allocations: 208 kB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.254e-05/1.65, allocations: 15.98 kB / 1.041 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000728/1.651, allocations: 272.4 kB / 1.041 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.887e-06/1.651, allocations: 0 / 1.041 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001437/1.652, allocations: 442.5 kB / 1.041 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/1.652, allocations: 174.2 kB / 1.042 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.654, allocations: 0.6238 MB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/1.654, allocations: 40.02 kB / 1.042 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/1.654, allocations: 204.5 kB / 1.042 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/1.654, allocations: 165 kB / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/1.654, allocations: 0 / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002307/1.655, allocations: 379.1 kB / 1.043 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/1.655, allocations: 168.7 kB / 1.043 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/1.656, allocations: 348.2 kB / 1.043 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/1.657, allocations: 176.5 kB / 1.044 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.311e-06/1.657, allocations: 0 / 1.044 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001663/1.658, allocations: 0.5222 MB / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.658, allocations: 4 kB / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.658, allocations: 0 / 1.044 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/1.658, allocations: 8.281 kB / 1.044 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.659, allocations: 98.34 kB / 1.044 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.659, allocations: 4 kB / 1.044 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/1.66, allocations: 35.73 kB / 1.044 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/1.66, allocations: 34.11 kB / 1.044 GB, free: 11.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.000298/1.66, allocations: 156.2 kB / 1.044 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.66, allocations: 63.25 kB / 1.045 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.662, allocations: 0.5263 MB / 1.045 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.662, allocations: 8 kB / 1.045 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.662, allocations: 3.938 kB / 1.045 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.662, allocations: 3.984 kB / 1.045 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003663/1.666, allocations: 1.323 MB / 1.046 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.666, allocations: 0 / 1.046 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/1.667, allocations: 58.41 kB / 1.046 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/1.667, allocations: 0 / 1.046 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/1.667, allocations: 11.17 kB / 1.046 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/1.667, allocations: 4 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.667, allocations: 4 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001989/1.669, allocations: 0.5743 MB / 1.047 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001866/1.671, allocations: 0.9656 MB / 1.048 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/1.671, allocations: 168.7 kB / 1.048 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.671, allocations: 3.906 kB / 1.048 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/1.672, allocations: 31.59 kB / 1.048 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/1.673, allocations: 79.72 kB / 1.048 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.673, allocations: 30.42 kB / 1.048 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001736/1.675, allocations: 461.2 kB / 1.049 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004123/1.679, allocations: 168.6 kB / 1.049 GB, free: 8.102 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * 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.00287/1.682, allocations: 0.5366 MB / 1.049 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002463/1.684, allocations: 0.4999 MB / 1.05 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.684, allocations: 0.5625 kB / 1.05 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.685, allocations: 274 kB / 1.05 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.687, allocations: 89.25 kB / 1.05 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/1.69, allocations: 0.9568 MB / 1.051 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.692, allocations: 1.022 MB / 1.052 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of SimCode: time 1.673e-06/1.692, allocations: 0 / 1.052 GB, free: 5.262 MB / 0.6667 GB