Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.835/1.835, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009465/0.0009465, allocations: 184.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 221.3 MB / 0.7819 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.0008788, allocations: 102.9 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4459/0.4468, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.6399, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5525/1.192, allocations: 157.9 MB / 1.36 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.193, allocations: 93.94 kB / 1.36 GB, free: 15.5 MB / 0.8073 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.03508/1.228, allocations: 16.95 MB / 1.376 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/1.228, allocations: 9 kB / 1.376 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/1.228, allocations: 90.95 kB / 1.376 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/1.229, allocations: 0.5584 MB / 1.377 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.229, allocations: 20 kB / 1.377 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/1.229, allocations: 39.75 kB / 1.377 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006102/1.229, allocations: 416 kB / 1.377 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/1.23, allocations: 0.4899 MB / 1.378 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.23, allocations: 7.984 kB / 1.378 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/1.23, allocations: 0 / 1.378 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.23, allocations: 12 kB / 1.378 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/1.232, allocations: 1.504 MB / 1.379 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/1.233, allocations: 449.3 kB / 1.38 GB, free: 368 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/1.233, allocations: 214.3 kB / 1.38 GB, free: 232 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/1.233, allocations: 11.81 kB / 1.38 GB, free: 224 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/1.233, allocations: 267.2 kB / 1.38 GB, free: 24 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=65): time 2.004e-06/1.233, allocations: 4 kB / 1.38 GB, free: 20 kB / 0.8073 GB Notification: Performance of matching and sorting (n=65): time 0.0006896/1.234, allocations: 432.9 kB / 1.381 GB, free: 15.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/1.234, allocations: 174.4 kB / 1.381 GB, free: 15.48 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/1.235, allocations: 0.6264 MB / 1.381 GB, free: 15 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/1.235, allocations: 37.3 kB / 1.381 GB, free: 14.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/1.235, allocations: 215.9 kB / 1.382 GB, free: 14.77 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/1.235, allocations: 150.5 kB / 1.382 GB, free: 14.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/1.235, allocations: 0 / 1.382 GB, free: 14.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.235, allocations: 382.5 kB / 1.382 GB, free: 14.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/1.235, allocations: 173.4 kB / 1.382 GB, free: 14.19 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/1.236, allocations: 332.9 kB / 1.383 GB, free: 13.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/1.236, allocations: 178.3 kB / 1.383 GB, free: 13.79 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.236, allocations: 3.938 kB / 1.383 GB, free: 13.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.000759/1.237, allocations: 0.5208 MB / 1.383 GB, free: 13.37 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.237, allocations: 15.89 kB / 1.383 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.237, allocations: 0 / 1.383 GB, free: 13.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.237, allocations: 8 kB / 1.383 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/1.237, allocations: 82.77 kB / 1.383 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/1.237, allocations: 11.94 kB / 1.383 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/1.238, allocations: 36.02 kB / 1.383 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/1.238, allocations: 27.73 kB / 1.383 GB, free: 13.2 MB / 0.823 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.0001614/1.238, allocations: 170.3 kB / 1.384 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/1.238, allocations: 71.14 kB / 1.384 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/1.239, allocations: 0.5071 MB / 1.384 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.239, allocations: 8 kB / 1.384 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.239, allocations: 0 / 1.384 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.239, allocations: 7.984 kB / 1.384 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/1.241, allocations: 1.309 MB / 1.385 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.241, allocations: 3.938 kB / 1.385 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/1.241, allocations: 63.52 kB / 1.386 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/1.241, allocations: 0 / 1.386 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/1.241, allocations: 10.98 kB / 1.386 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.241, allocations: 7.984 kB / 1.386 GB, free: 11.47 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.241, allocations: 0 / 1.386 GB, free: 11.47 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007283/1.242, allocations: 0.5763 MB / 1.386 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008613/1.243, allocations: 0.9675 MB / 1.387 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/1.243, allocations: 169.9 kB / 1.387 GB, free: 9.949 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/1.243, allocations: 4 kB / 1.387 GB, free: 9.945 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/1.243, allocations: 27.91 kB / 1.387 GB, free: 9.922 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.243, allocations: 83.31 kB / 1.387 GB, free: 9.855 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/1.243, allocations: 27.61 kB / 1.387 GB, free: 9.836 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004538/1.244, allocations: 460.7 kB / 1.388 GB, free: 9.504 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001094/1.245, allocations: 161.2 kB / 1.388 GB, free: 9.363 MB / 0.823 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.001033/1.246, allocations: 0.5325 MB / 1.388 GB, free: 8.988 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0007223/1.247, allocations: 0.5056 MB / 1.389 GB, free: 8.625 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.247, allocations: 0 / 1.389 GB, free: 8.625 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/1.247, allocations: 273.8 kB / 1.389 GB, free: 8.438 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/1.248, allocations: 99.39 kB / 1.389 GB, free: 8.355 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.249, allocations: 0.9419 MB / 1.39 GB, free: 7.543 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/1.25, allocations: 1.019 MB / 1.391 GB, free: 6.512 MB / 0.823 GB Notification: Performance of SimCode: time 3.31e-07/1.25, allocations: 4 kB / 1.391 GB, free: 6.508 MB / 0.823 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)