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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 188.1 kB / 316 MB, free: 7.211 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.566/1.566, allocations: 205.1 MB / 0.5667 GB, free: 23.62 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.0008596/0.0008596, allocations: 84.89 kB / 0.671 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2202/0.2211, allocations: 112.5 MB / 0.7808 GB, free: 320 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.7163, allocations: 106.3 MB / 0.8847 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.886, allocations: 136.8 MB / 1.018 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.8863, allocations: 91.94 kB / 1.018 GB, free: 3.191 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.02464/0.9109, allocations: 9.874 MB / 1.028 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.911, allocations: 8 kB / 1.028 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.9111, allocations: 55.34 kB / 1.028 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.9117, allocations: 381.6 kB / 1.028 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.9117, allocations: 24 kB / 1.028 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.9118, allocations: 32 kB / 1.028 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006803/0.9125, allocations: 377.8 kB / 1.029 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.9132, allocations: 436.2 kB / 1.029 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.9133, allocations: 7.922 kB / 1.029 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.9133, allocations: 0 / 1.029 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.9133, allocations: 12 kB / 1.029 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.9153, allocations: 1.332 MB / 1.031 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.916, allocations: 397.4 kB / 1.031 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.9163, allocations: 178.2 kB / 1.031 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.9163, allocations: 13.2 kB / 1.031 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/0.9167, allocations: 237.1 kB / 1.031 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 1.943e-06/0.9167, allocations: 0 / 1.031 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.0006061/0.9173, allocations: 344.1 kB / 1.032 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.9174, allocations: 75.88 kB / 1.032 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.9177, allocations: 299 kB / 1.032 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.9178, allocations: 37.69 kB / 1.032 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.9179, allocations: 177.2 kB / 1.032 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.918, allocations: 142.1 kB / 1.032 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.918, allocations: 0 / 1.032 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9182, allocations: 354.8 kB / 1.033 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.9185, allocations: 153.3 kB / 1.033 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.9188, allocations: 228.7 kB / 1.033 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.9191, allocations: 139.2 kB / 1.033 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9191, allocations: 3.938 kB / 1.033 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007195/0.9198, allocations: 451.3 kB / 1.034 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.9198, allocations: 4 kB / 1.034 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9198, allocations: 8.203 kB / 1.034 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9198, allocations: 12 kB / 1.034 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.9202, allocations: 75.83 kB / 1.034 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.9202, allocations: 4 kB / 1.034 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.9206, allocations: 79.69 kB / 1.034 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.9207, allocations: 24 kB / 1.034 GB, free: 3.027 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.0001482/0.9208, allocations: 158.9 kB / 1.034 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.9209, allocations: 39.52 kB / 1.034 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007762/0.9217, allocations: 428.2 kB / 1.034 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.9217, allocations: 7.906 kB / 1.034 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9217, allocations: 3.984 kB / 1.034 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.9217, allocations: 0 / 1.034 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.9233, allocations: 1.053 MB / 1.035 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9233, allocations: 0 / 1.035 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.9235, allocations: 63.89 kB / 1.036 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9236, allocations: 4 kB / 1.036 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.9236, allocations: 3.984 kB / 1.036 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.9236, allocations: 7.984 kB / 1.036 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9236, allocations: 0 / 1.036 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006887/0.9243, allocations: 0.4888 MB / 1.036 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3128/1.237, allocations: 0.8575 MB / 1.037 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.237, allocations: 118 kB / 1.037 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.237, allocations: 8.203 kB / 1.037 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/1.238, allocations: 61.86 kB / 1.037 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/1.238, allocations: 82.88 kB / 1.037 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.238, allocations: 14.78 kB / 1.037 GB, free: 205.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002055/1.238, allocations: 205 kB / 1.037 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001052/1.239, allocations: 103.8 kB / 1.037 GB, free: 205.5 MB / 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.0006831/1.24, allocations: 296.8 kB / 1.038 GB, free: 205.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006514/1.241, allocations: 452.2 kB / 1.038 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.241, allocations: 0 / 1.038 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/1.241, allocations: 227 kB / 1.038 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/1.241, allocations: 52.58 kB / 1.038 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.243, allocations: 0.6042 MB / 1.039 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/1.243, allocations: 0.9048 MB / 1.04 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/1.243, allocations: 0 / 1.04 GB, free: 204.5 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)