Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.00102/0.00102, allocations: 181.2 kB / 361.1 MB, free: 7.082 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.009/1.009, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.000776/0.000776, allocations: 95.12 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.129e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4062, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5393, allocations: 137.5 MB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.5395, allocations: 76.47 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01049/0.55, allocations: 3.568 MB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.55, allocations: 0 / 1.102 GB, free: 14.9 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.0003675/0.5504, allocations: 422.1 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.5505, allocations: 12.03 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.5505, allocations: 15.81 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.5508, allocations: 222.4 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5508, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.5508, allocations: 12 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.873e-05/0.551, allocations: 35.98 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5511, allocations: 91.31 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5511, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.5511, allocations: 4.562 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5511, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.5513, allocations: 207.1 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.5515, allocations: 88.73 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.5516, allocations: 58.27 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.5516, allocations: 7.984 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.5517, allocations: 109 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.123e-06/0.5517, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002853/0.552, allocations: 129.5 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.5521, allocations: 97.08 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.5521, allocations: 133.9 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.5522, allocations: 33.69 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.5522, allocations: 88.58 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.5523, allocations: 31.55 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.5523, allocations: 1.125 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.5524, allocations: 330.8 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.5525, allocations: 44.17 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.5526, allocations: 215.1 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.5528, allocations: 62.09 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5528, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002491/0.553, allocations: 171.6 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.553, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.5531, allocations: 7.984 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5531, allocations: 4 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.5532, allocations: 11.94 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5532, allocations: 0 / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.5534, allocations: 85.41 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.5535, allocations: 14.64 kB / 1.104 GB, free: 11.93 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.68e-05/0.5536, allocations: 112.9 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5536, allocations: 11.91 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.5536, allocations: 8.5 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5536, allocations: 4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5536, allocations: 0 / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5536, allocations: 0 / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.5538, allocations: 178.1 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5538, allocations: 0 / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.5538, allocations: 15.92 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.5538, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.5538, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5538, allocations: 4 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5538, allocations: 0 / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002224/0.5541, allocations: 181.3 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.5541, allocations: 88.92 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.5541, allocations: 3.984 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.5542, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.5542, allocations: 7.938 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5542, allocations: 11.98 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.579e-05/0.5543, allocations: 109.6 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00027/0.5546, allocations: 75.92 kB / 1.105 GB, free: 11.05 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.0002199/0.5548, allocations: 182.8 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.555, allocations: 159.3 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.555, allocations: 0 / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.5551, allocations: 47.97 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.5552, allocations: 3.906 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.5555, allocations: 158.8 kB / 1.105 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.5558, allocations: 0.7239 MB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5558, allocations: 0 / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.004241/0.56, allocations: 2.378 MB / 1.108 GB, free: 7.422 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)