Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.274/1.274, allocations: 249.4 MB / 256.7 MB, free: 6.898 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.0009672/0.0009673, allocations: 196.4 kB / 316 MB, free: 3.539 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.227/1.227, allocations: 205.1 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 86.38 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3629/0.3639, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.5368, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/1.093, allocations: 140.7 MB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.093, allocations: 99.09 kB / 1.022 GB, free: 14.19 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.0404/1.134, allocations: 16.66 MB / 1.038 GB, free: 312 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.134, allocations: 11.94 kB / 1.038 GB, free: 300 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/1.134, allocations: 79.06 kB / 1.038 GB, free: 220 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.135, allocations: 0.5661 MB / 1.039 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/1.135, allocations: 26.84 kB / 1.039 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/1.135, allocations: 35.98 kB / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006929/1.136, allocations: 410.6 kB / 1.039 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/1.137, allocations: 0.4959 MB / 1.04 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.137, allocations: 0 / 1.04 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/1.137, allocations: 7.312 kB / 1.04 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/1.137, allocations: 12 kB / 1.04 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/1.139, allocations: 1.512 MB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/1.139, allocations: 456.5 kB / 1.042 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/1.14, allocations: 202.6 kB / 1.042 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/1.14, allocations: 12.5 kB / 1.042 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/1.14, allocations: 277.6 kB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 2.184e-06/1.14, allocations: 3.938 kB / 1.042 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.0006939/1.141, allocations: 431.3 kB / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/1.141, allocations: 173.8 kB / 1.043 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/1.142, allocations: 0.6265 MB / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/1.142, allocations: 40.27 kB / 1.044 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.142, allocations: 204.8 kB / 1.044 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.142, allocations: 162 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/1.142, allocations: 0 / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.142, allocations: 384.4 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/1.142, allocations: 175.8 kB / 1.044 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/1.143, allocations: 344.1 kB / 1.045 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/1.143, allocations: 171.6 kB / 1.045 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.143, allocations: 0 / 1.045 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007551/1.144, allocations: 0.5197 MB / 1.045 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.144, allocations: 10.48 kB / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.144, allocations: 12.19 kB / 1.046 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.144, allocations: 4 kB / 1.046 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/1.144, allocations: 87.08 kB / 1.046 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.144, allocations: 7.938 kB / 1.046 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/1.145, allocations: 35.73 kB / 1.046 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/1.145, allocations: 35.92 kB / 1.046 GB, free: 10.4 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.0001662/1.145, allocations: 155.6 kB / 1.046 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/1.145, allocations: 67.14 kB / 1.046 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/1.146, allocations: 0.5204 MB / 1.046 GB, free: 9.781 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/1.146, allocations: 8 kB / 1.046 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.146, allocations: 0 / 1.046 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.146, allocations: 3.984 kB / 1.046 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.148, allocations: 1.323 MB / 1.048 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.148, allocations: 0 / 1.048 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.148, allocations: 57.09 kB / 1.048 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.148, allocations: 7.938 kB / 1.048 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/1.148, allocations: 7.984 kB / 1.048 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.148, allocations: 4 kB / 1.048 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.148, allocations: 0 / 1.048 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007763/1.149, allocations: 0.5792 MB / 1.048 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009214/1.15, allocations: 0.9581 MB / 1.049 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/1.15, allocations: 174.4 kB / 1.049 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.634e-05/1.15, allocations: 7.688 kB / 1.049 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/1.15, allocations: 19.97 kB / 1.049 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.151, allocations: 83.91 kB / 1.05 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/1.151, allocations: 27.42 kB / 1.05 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004905/1.151, allocations: 468.7 kB / 1.05 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00127/1.152, allocations: 165.9 kB / 1.05 GB, free: 6.555 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.001092/1.154, allocations: 0.5458 MB / 1.051 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008055/1.154, allocations: 0.504 MB / 1.051 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.154, allocations: 4.188 kB / 1.051 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.155, allocations: 263.4 kB / 1.051 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/1.155, allocations: 92.94 kB / 1.052 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/1.157, allocations: 0.9443 MB / 1.052 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007385/1.158, allocations: 1.026 MB / 1.053 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/1.158, allocations: 0 / 1.053 GB, free: 3.68 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)