Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [: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 3.0.0/package.mo): time 0.804/0.804, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001227/0.001227, allocations: 166.3 kB / 171.6 MB, free: 2.008 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.581/1.581, allocations: 170.5 MB / 373.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001873/0.001873, allocations: 115.6 kB / 444.4 MB, free: 9.367 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.594/0.594, allocations: 73.4 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.7495, allocations: 103.5 MB / 0.7671 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.7499, allocations: 89.11 kB / 0.7672 GB, free: 0.6172 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd: time 0.01385/0.7637, allocations: 4.734 MB / 0.7719 GB, free: 11.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.7638, allocations: 15.94 kB / 0.7719 GB, free: 11.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00107/0.7649, allocations: 0.5663 MB / 0.7724 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.765, allocations: 8.031 kB / 0.7724 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.7651, allocations: 39.53 kB / 0.7725 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.7657, allocations: 322.2 kB / 0.7728 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.7658, allocations: 13.88 kB / 0.7728 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.7658, allocations: 20 kB / 0.7728 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005326/0.7664, allocations: 240.2 kB / 0.773 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.767, allocations: 352.8 kB / 0.7734 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7671, allocations: 0 / 0.7734 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.7671, allocations: 0 / 0.7734 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.7671, allocations: 11.94 kB / 0.7734 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.7693, allocations: 1.514 MB / 0.7749 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.7699, allocations: 333.3 kB / 0.7752 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.7701, allocations: 68.86 kB / 0.7752 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.7702, allocations: 81.11 kB / 0.7753 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.7704, allocations: 125.9 kB / 0.7754 GB, free: 7.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.7704, allocations: 0 / 0.7754 GB, free: 7.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004875/0.7709, allocations: 161.1 kB / 0.7756 GB, free: 7.805 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.771, allocations: 114.8 kB / 0.7757 GB, free: 7.668 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.7713, allocations: 209.8 kB / 0.7759 GB, free: 7.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.7713, allocations: 33.7 kB / 0.7759 GB, free: 7.418 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.7715, allocations: 164.2 kB / 0.7761 GB, free: 7.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.7716, allocations: 55.39 kB / 0.7761 GB, free: 7.199 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.7716, allocations: 0 / 0.7761 GB, free: 7.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7717, allocations: 338.7 kB / 0.7765 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7719, allocations: 72.38 kB / 0.7765 GB, free: 6.789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.7721, allocations: 181.5 kB / 0.7767 GB, free: 6.566 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.7723, allocations: 81.53 kB / 0.7768 GB, free: 6.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.7724, allocations: 4 kB / 0.7768 GB, free: 6.484 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005092/0.7729, allocations: 266.5 kB / 0.777 GB, free: 6.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7729, allocations: 4 kB / 0.7771 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7729, allocations: 4 kB / 0.7771 GB, free: 6.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.7729, allocations: 8 kB / 0.7771 GB, free: 6.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.7731, allocations: 36.78 kB / 0.7771 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7731, allocations: 7.938 kB / 0.7771 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.7735, allocations: 47.91 kB / 0.7772 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.7735, allocations: 23.98 kB / 0.7772 GB, free: 6.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.off.node.resume,wseCon.off.node.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.newActive,wseCon.off.newActive,wseCon.off.inport_fire,wseCon.off.outport_fire,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.enableFire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.newActive,wseCon.on.newActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.enableFire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.booToRea1.u,wseCon.off.inPort[1].checkUnaryConnection,wseCon.T2.outPort.checkOneDelayedTransitionPerLoop,wseCon.off.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.T1.outPort.checkOneDelayedTransitionPerLoop,wseCon.on.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.on.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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.0001682/0.7737, allocations: 134.6 kB / 0.7773 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.7738, allocations: 25.22 kB / 0.7773 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.7742, allocations: 187.4 kB / 0.7775 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7742, allocations: 7.969 kB / 0.7775 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.7742, allocations: 7.906 kB / 0.7775 GB, free: 5.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.7742, allocations: 4 kB / 0.7775 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008984/0.7751, allocations: 0.5654 MB / 0.7781 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.7751, allocations: 0 / 0.7781 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7752, allocations: 27.98 kB / 0.7781 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.7753, allocations: 0 / 0.7781 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.7753, allocations: 0 / 0.7781 GB, free: 5.078 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.7753, allocations: 4.406 kB / 0.7781 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7753, allocations: 4 kB / 0.7781 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003572/0.7757, allocations: 267.1 kB / 0.7784 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.7758, allocations: 116.8 kB / 0.7785 GB, free: 4.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.7759, allocations: 4.547 kB / 0.7785 GB, free: 4.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.7762, allocations: 35.97 kB / 0.7785 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7763, allocations: 41.38 kB / 0.7786 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.7763, allocations: 12 kB / 0.7786 GB, free: 4.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001827/0.7765, allocations: 141 kB / 0.7787 GB, free: 4.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003808/0.7769, allocations: 51.91 kB / 0.7788 GB, free: 4.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (wseCon.off.inport_fire,wseCon.T2.enableFire,wseCon.off.outport_fire,wseCon.T1.enableFire,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.booToRea1.u) * Number of discrete states: 3 (wseCHWST.count,wseCon.on.newActive,wseCon.off.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002668/0.7772, allocations: 130.2 kB / 0.7789 GB, free: 4.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.7776, allocations: 214.2 kB / 0.7791 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7776, allocations: 0 / 0.7791 GB, free: 4.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.7778, allocations: 83.94 kB / 0.7792 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.7781, allocations: 22.16 kB / 0.7792 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/0.779, allocations: 338.4 kB / 0.7795 GB, free: 3.582 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.7795, allocations: 0.8205 MB / 0.7803 GB, free: 2.734 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7795, allocations: 0 / 0.7803 GB, free: 2.734 MB / 490.7 MB Notification: Performance of Templates: time 0.008056/0.7876, allocations: 2.971 MB / 0.7832 GB, free: 15.83 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)