Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [: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.333/1.333, allocations: 289.8 MB / 297 MB, free: 6.625 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.0009797/0.0009797, allocations: 181.2 kB / 366.3 MB, free: 1.934 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.025/1.025, 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.0007651/0.0007651, allocations: 85.19 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.501e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5338, allocations: 138.5 MB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.5341, allocations: 76.89 kB / 1.108 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01024/0.5443, allocations: 3.564 MB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5443, allocations: 4 kB / 1.111 GB, free: 6.324 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003814/0.5447, allocations: 418.1 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.5448, allocations: 12.02 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.5448, allocations: 15.81 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.5451, allocations: 214.8 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.5451, allocations: 0 / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5451, allocations: 8 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/0.5453, allocations: 47.97 kB / 1.112 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5454, allocations: 89.75 kB / 1.112 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.5454, allocations: 0 / 1.112 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5454, allocations: 3.906 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5454, allocations: 4 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.5456, allocations: 211.1 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5458, allocations: 79.72 kB / 1.112 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.5458, allocations: 61.8 kB / 1.112 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.5458, allocations: 3.938 kB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.546, allocations: 101 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.546, allocations: 4 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002797/0.5463, allocations: 141.5 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5463, allocations: 85.11 kB / 1.113 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5464, allocations: 135.6 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.5464, allocations: 29.7 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.5465, allocations: 96.56 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5465, allocations: 35.55 kB / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-06/0.5466, allocations: 0 / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5467, allocations: 326.8 kB / 1.113 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.5467, allocations: 48.11 kB / 1.113 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.5469, allocations: 211.1 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.547, allocations: 69.53 kB / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5471, allocations: 0 / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002468/0.5473, allocations: 165.4 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.5473, allocations: 4 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.5473, allocations: 8.094 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5474, allocations: 7.984 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.5474, allocations: 16.67 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5474, allocations: 2.812 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.5477, allocations: 79.78 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.5477, allocations: 8 kB / 1.114 GB, free: 3.352 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.816e-05/0.5478, allocations: 116.8 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.5478, allocations: 7.906 kB / 1.114 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.5479, allocations: 16.48 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5479, allocations: 0 / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5479, allocations: 4.938 kB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5479, allocations: 4 kB / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.548, allocations: 166.1 kB / 1.114 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.548, allocations: 4 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.548, allocations: 7.938 kB / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5481, allocations: 0 / 1.114 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.5481, allocations: 7.984 kB / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5481, allocations: 0 / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5481, allocations: 0 / 1.114 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002233/0.5483, allocations: 175.5 kB / 1.114 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.5484, allocations: 90.42 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.5484, allocations: 4 kB / 1.115 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.5484, allocations: 3.984 kB / 1.115 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.5485, allocations: 4 kB / 1.115 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5485, allocations: 11.94 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.367e-05/0.5485, allocations: 121.8 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002556/0.5488, allocations: 71.94 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002187/0.549, allocations: 179 kB / 1.115 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.5492, allocations: 159.3 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5492, allocations: 0 / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.5493, allocations: 40 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.565e-05/0.5494, allocations: 7.906 kB / 1.115 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.5497, allocations: 168.5 kB / 1.115 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.55, allocations: 0.7246 MB / 1.116 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.55, allocations: 0 / 1.116 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of Templates: time 0.004182/0.5542, allocations: 2.375 MB / 1.118 GB, free: 14.8 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)