Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.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.VariableSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.048/2.048, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001733, allocations: 178.6 kB / 315.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.1 MB / 0.5658 GB, free: 25.43 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.001311/0.00131, allocations: 93.11 kB / 0.67 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2851/0.2865, allocations: 112.4 MB / 0.7797 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.8213, allocations: 106.2 MB / 0.8835 GB, free: 77.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/1.048, allocations: 136.6 MB / 1.017 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/1.048, allocations: 99.92 kB / 1.017 GB, free: 4.262 MB / 0.6667 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.0425/1.091, allocations: 9.878 MB / 1.027 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.091, allocations: 8 kB / 1.027 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/1.091, allocations: 59.34 kB / 1.027 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/1.092, allocations: 365.8 kB / 1.027 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/1.092, allocations: 31.83 kB / 1.027 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.092, allocations: 32 kB / 1.027 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001223/1.094, allocations: 373.9 kB / 1.027 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/1.095, allocations: 436.2 kB / 1.028 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.095, allocations: 0 / 1.028 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/1.095, allocations: 3.984 kB / 1.028 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/1.095, allocations: 12 kB / 1.028 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/1.099, allocations: 1.332 MB / 1.029 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/1.1, allocations: 404.4 kB / 1.03 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005861/1.101, allocations: 181.1 kB / 1.03 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.093e-05/1.101, allocations: 8.438 kB / 1.03 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/1.101, allocations: 245.1 kB / 1.03 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 4.238e-06/1.101, allocations: 0 / 1.03 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.001159/1.103, allocations: 344.1 kB / 1.03 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.103, allocations: 63.91 kB / 1.03 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/1.103, allocations: 303 kB / 1.031 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.592e-05/1.103, allocations: 37.7 kB / 1.031 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/1.103, allocations: 185.2 kB / 1.031 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.104, allocations: 130.2 kB / 1.031 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/1.104, allocations: 0 / 1.031 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.104, allocations: 362.7 kB / 1.031 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/1.104, allocations: 149.3 kB / 1.032 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/1.105, allocations: 224.8 kB / 1.032 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/1.105, allocations: 147.1 kB / 1.032 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.105, allocations: 0 / 1.032 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001259/1.107, allocations: 455.3 kB / 1.032 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.107, allocations: 4 kB / 1.032 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.107, allocations: 0 / 1.032 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/1.107, allocations: 12.22 kB / 1.032 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.107, allocations: 75.83 kB / 1.032 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/1.108, allocations: 7.984 kB / 1.032 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/1.108, allocations: 75.8 kB / 1.032 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/1.108, allocations: 23.98 kB / 1.032 GB, free: 4.098 MB / 0.6823 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.0002454/1.109, allocations: 156.7 kB / 1.033 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.109, allocations: 39.53 kB / 1.033 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/1.11, allocations: 428.2 kB / 1.033 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.11, allocations: 4 kB / 1.033 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.11, allocations: 7.938 kB / 1.033 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.11, allocations: 7.891 kB / 1.033 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/1.113, allocations: 1.049 MB / 1.034 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.113, allocations: 0 / 1.034 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/1.114, allocations: 67.83 kB / 1.034 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/1.114, allocations: 4 kB / 1.034 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/1.114, allocations: 4 kB / 1.034 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.114, allocations: 0 / 1.034 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.114, allocations: 0 / 1.034 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001203/1.115, allocations: 0.4888 MB / 1.035 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001309/1.116, allocations: 0.8603 MB / 1.036 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.116, allocations: 120.6 kB / 1.036 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/1.116, allocations: 4 kB / 1.036 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/1.117, allocations: 67.94 kB / 1.036 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/1.117, allocations: 76.53 kB / 1.036 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/1.117, allocations: 19.98 kB / 1.036 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003328/1.118, allocations: 207.1 kB / 1.036 GB, free: 404 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001564/1.119, allocations: 99.89 kB / 1.036 GB, free: 304 kB / 0.6823 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.0008918/1.12, allocations: 309.8 kB / 1.036 GB, free: 64 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.4402/1.56, allocations: 441.9 kB / 1.037 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.561, allocations: 2.906 kB / 1.037 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/1.561, allocations: 232.2 kB / 1.037 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/1.562, allocations: 46.75 kB / 1.037 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/1.564, allocations: 0.5994 MB / 1.038 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/1.564, allocations: 0.9023 MB / 1.039 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/1.564, allocations: 3.625 kB / 1.039 GB, free: 102.8 MB / 0.6823 GB