Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",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 8.1.4-maint.8.1.x/package.mo): time 1.417/1.417, allocations: 289.8 MB / 297.1 MB, free: 6.613 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 173.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.1 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 95.28 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2301/0.2311, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4921/0.7232, allocations: 116.3 MB / 0.9727 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.8818, allocations: 144 MB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.8821, allocations: 95.88 kB / 1.113 GB, free: 4.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.02407/0.9062, allocations: 9.855 MB / 1.123 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9062, allocations: 12 kB / 1.123 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.9063, allocations: 59.34 kB / 1.123 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.9068, allocations: 373.8 kB / 1.123 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.9069, allocations: 19.98 kB / 1.123 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.9069, allocations: 32 kB / 1.123 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007012/0.9076, allocations: 369.9 kB / 1.124 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.9083, allocations: 440.1 kB / 1.124 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9084, allocations: 0 / 1.124 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.9084, allocations: 7.906 kB / 1.124 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.9084, allocations: 12 kB / 1.124 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.9103, allocations: 1.34 MB / 1.126 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.911, allocations: 396.5 kB / 1.126 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.9113, allocations: 182.1 kB / 1.126 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.9114, allocations: 12.44 kB / 1.126 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.9117, allocations: 229.2 kB / 1.126 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 1.743e-06/0.9117, allocations: 0 / 1.126 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0006241/0.9124, allocations: 348 kB / 1.127 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.9124, allocations: 67.84 kB / 1.127 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.9127, allocations: 303.1 kB / 1.127 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.9128, allocations: 41.7 kB / 1.127 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.9129, allocations: 185.1 kB / 1.127 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.913, allocations: 126.2 kB / 1.127 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.913, allocations: 3.938 kB / 1.127 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9132, allocations: 354.8 kB / 1.128 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.9135, allocations: 149.3 kB / 1.128 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.9138, allocations: 232.8 kB / 1.128 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.914, allocations: 135.2 kB / 1.128 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.914, allocations: 4 kB / 1.128 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006878/0.9147, allocations: 451.3 kB / 1.129 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9148, allocations: 4 kB / 1.129 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9148, allocations: 4.75 kB / 1.129 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.9148, allocations: 4 kB / 1.129 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.9151, allocations: 87.98 kB / 1.129 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.9151, allocations: 7.984 kB / 1.129 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.9155, allocations: 75.64 kB / 1.129 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.9156, allocations: 23.98 kB / 1.129 GB, free: 4.223 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.000134/0.9157, allocations: 152.8 kB / 1.129 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.9158, allocations: 43.44 kB / 1.129 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007619/0.9165, allocations: 423.7 kB / 1.129 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9166, allocations: 12 kB / 1.129 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9166, allocations: 0 / 1.129 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9166, allocations: 3.984 kB / 1.129 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.9181, allocations: 1.053 MB / 1.131 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9181, allocations: 0 / 1.131 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.9184, allocations: 63.89 kB / 1.131 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9184, allocations: 4 kB / 1.131 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.9184, allocations: 8 kB / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.9184, allocations: 0 / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9184, allocations: 0 / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006541/0.9191, allocations: 0.4888 MB / 1.131 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007308/0.9198, allocations: 0.8526 MB / 1.132 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.9199, allocations: 128.5 kB / 1.132 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.92, allocations: 7.969 kB / 1.132 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.9204, allocations: 59.95 kB / 1.132 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.9206, allocations: 80.53 kB / 1.132 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9206, allocations: 30.23 kB / 1.132 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001723/0.9208, allocations: 203.1 kB / 1.132 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000979/0.9218, allocations: 99.83 kB / 1.132 GB, free: 440 kB / 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0006094/0.9224, allocations: 303.6 kB / 1.133 GB, free: 208 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006573/0.923, allocations: 449.1 kB / 1.133 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9231, allocations: 4.062 kB / 1.133 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.9234, allocations: 238.4 kB / 1.133 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.9237, allocations: 41.48 kB / 1.133 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.925, allocations: 0.6007 MB / 1.134 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.9255, allocations: 0.9096 MB / 1.135 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/0.9255, allocations: 0 / 1.135 GB, free: 13.91 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)