Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [: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.303/1.303, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009492/0.0009492, allocations: 182.8 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9989/0.9989, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007971/0.0007971, allocations: 95.36 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.68e-06/5.711e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.409, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5416, allocations: 137.5 MB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.5419, allocations: 73.36 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01376/0.5556, allocations: 4.655 MB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5557, allocations: 3.938 kB / 1.103 GB, free: 13.8 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004413/0.5561, allocations: 451.2 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.5562, allocations: 8.531 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.5562, allocations: 11.91 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.5565, allocations: 218.8 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.5565, allocations: 0 / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.5566, allocations: 11.94 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.5567, allocations: 43.97 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.5568, allocations: 96.23 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5568, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5569, allocations: 2.062 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5569, allocations: 7.938 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.5571, allocations: 219.9 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.5572, allocations: 105.7 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.5573, allocations: 66.72 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.5573, allocations: 8 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.5575, allocations: 127.1 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.5575, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003292/0.5578, allocations: 145.5 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5579, allocations: 118.8 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.558, allocations: 123.3 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.558, allocations: 33.7 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.5581, allocations: 92.62 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.5581, allocations: 47.36 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.5581, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.5582, allocations: 330.8 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.5583, allocations: 52.27 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.5585, allocations: 191 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5587, allocations: 73.36 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5587, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003063/0.559, allocations: 196.2 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.559, allocations: 8 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.5591, allocations: 7.984 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.5591, allocations: 5.734 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.5592, allocations: 16 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5592, allocations: 0 / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.5594, allocations: 51.8 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.5594, allocations: 11.98 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 9.229e-05/0.5595, allocations: 123.5 kB / 1.105 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.5595, allocations: 15.81 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.5596, allocations: 12.48 kB / 1.105 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5596, allocations: 4 kB / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5596, allocations: 0 / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5596, allocations: 3.906 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.5597, allocations: 175.2 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5597, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.5598, allocations: 11.98 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5598, allocations: 7.844 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.5598, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5598, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5598, allocations: 2.344 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002781/0.5601, allocations: 225.2 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.5602, allocations: 92.91 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.5602, allocations: 4 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/0.5603, allocations: 4 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.5603, allocations: 7.984 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.5603, allocations: 12 kB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.858e-05/0.5604, allocations: 105.6 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003125/0.5607, allocations: 107.9 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002841/0.561, allocations: 222.8 kB / 1.106 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.5613, allocations: 204.1 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.5613, allocations: 0 / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.5614, allocations: 51.92 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.5615, allocations: 22.42 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.5618, allocations: 173.2 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.5621, allocations: 0.7321 MB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5621, allocations: 0 / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.005032/0.5671, allocations: 2.99 MB / 1.111 GB, free: 5.293 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)