Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 181.3 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.001199, allocations: 78.92 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.735e-06, allocations: 0 / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5222, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.727, allocations: 140.5 MB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.7273, allocations: 91.94 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.01858/0.7459, allocations: 4.34 MB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.746, allocations: 8.875 kB / 1.104 GB, free: 11.86 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001076/0.7471, allocations: 0.5404 MB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.7471, allocations: 16.52 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.7472, allocations: 31.62 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.7477, allocations: 258.7 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.7477, allocations: 15.91 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.7478, allocations: 24 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006563/0.7485, allocations: 203.3 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.7492, allocations: 279.1 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.7493, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.7493, allocations: 4 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.7493, allocations: 8 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.7513, allocations: 0.8773 MB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.752, allocations: 211.2 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.7523, allocations: 93.36 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.7523, allocations: 8 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.7527, allocations: 151.2 kB / 1.107 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/0.7527, allocations: 4 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0005747/0.7533, allocations: 187.3 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.7534, allocations: 60.33 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.7536, allocations: 160.4 kB / 1.107 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.7537, allocations: 37.69 kB / 1.107 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.7538, allocations: 144.5 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.7539, allocations: 74.97 kB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.7539, allocations: 0 / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7541, allocations: 334.8 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.7544, allocations: 84.88 kB / 1.108 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.7547, allocations: 132.6 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.7549, allocations: 84.89 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.755, allocations: 5.031 kB / 1.108 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007004/0.7557, allocations: 268.8 kB / 1.108 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7557, allocations: 8 kB / 1.108 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7557, allocations: 0 / 1.108 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.7557, allocations: 7.906 kB / 1.108 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.7561, allocations: 56 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7561, allocations: 0 / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.7566, allocations: 53.88 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.7567, allocations: 12 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001439/0.7568, allocations: 126 kB / 1.109 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.7569, allocations: 23.72 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.7576, allocations: 235 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7576, allocations: 4 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7576, allocations: 0 / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.7576, allocations: 0 / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.759, allocations: 0.6254 MB / 1.11 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.759, allocations: 4 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.7593, allocations: 31.98 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.7593, allocations: 4 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.7594, allocations: 3.984 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.7594, allocations: 0 / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7594, allocations: 3.906 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00056/0.76, allocations: 303.2 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.76, allocations: 98.48 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.7601, allocations: 0 / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.7605, allocations: 39.95 kB / 1.11 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7607, allocations: 43.88 kB / 1.11 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.7608, allocations: 8 kB / 1.11 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001082/0.7609, allocations: 112.9 kB / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004643/0.7613, allocations: 59.83 kB / 1.11 GB, free: 5.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * 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.0002/0.7616, allocations: 128 kB / 1.11 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006404/0.7622, allocations: 245.6 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7622, allocations: 0 / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.7625, allocations: 111.9 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.7629, allocations: 28.3 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.764, allocations: 323.4 kB / 1.111 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.7645, allocations: 0.7956 MB / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/0.7646, allocations: 0 / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of Templates: time 0.009663/0.7742, allocations: 3.016 MB / 1.115 GB, free: 0.875 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)