Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.177/2.177, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001584/0.001583, allocations: 181.2 kB / 360.4 MB, free: 7.551 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.549/1.549, allocations: 205.1 MB / 0.6188 GB, free: 13.2 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.001167/0.001166, allocations: 89.7 kB / 0.7318 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.312e-06, allocations: 0 / 0.8502 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5257, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.722, allocations: 137.4 MB / 1.097 GB, free: 3.457 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.7223, allocations: 67.97 kB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02182/0.7442, allocations: 4.647 MB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.7442, allocations: 4 kB / 1.102 GB, free: 14.81 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.0006667/0.7449, allocations: 446 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.7449, allocations: 12.53 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.745, allocations: 13.16 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.7455, allocations: 223.8 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.7455, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.7455, allocations: 12 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001629/0.7457, allocations: 39.98 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.7459, allocations: 100.2 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.746, allocations: 4 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.746, allocations: 7.984 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.746, allocations: 3.938 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.7464, allocations: 216.5 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.7466, allocations: 107.9 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.7467, allocations: 76.11 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.7468, allocations: 0 / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.747, allocations: 133 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.747, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0004935/0.7475, allocations: 141.6 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.7476, allocations: 128.1 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.7477, allocations: 129 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.7478, allocations: 33.69 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.7479, allocations: 88.64 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.748, allocations: 47.36 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.748, allocations: 0 / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7481, allocations: 330.8 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.7483, allocations: 48.28 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.7486, allocations: 189.9 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.7489, allocations: 82.12 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7489, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005179/0.7494, allocations: 200.8 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7495, allocations: 4 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/0.7495, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7495, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.7497, allocations: 25.33 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.7497, allocations: 4 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.75, allocations: 47.81 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.7501, allocations: 8 kB / 1.104 GB, free: 11.67 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 0.0001158/0.7502, allocations: 123.4 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.7502, allocations: 19.73 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.7503, allocations: 12.64 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.7503, allocations: 3.984 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7503, allocations: 4 kB / 1.104 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.7503, allocations: 5.531 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.7505, allocations: 178.1 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7506, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.7506, allocations: 8 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7507, allocations: 7.906 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.7507, allocations: 4 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.7507, allocations: 5.5 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7507, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004233/0.7511, allocations: 220.8 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.7512, allocations: 88.92 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.7512, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.7514, allocations: 9.297 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.7514, allocations: 11.98 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.7514, allocations: 8 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.667e-05/0.7515, allocations: 103.3 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005254/0.7521, allocations: 111.9 kB / 1.105 GB, free: 10.67 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.0004522/0.7525, allocations: 211 kB / 1.105 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.753, allocations: 209.4 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.753, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.7531, allocations: 48 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.7533, allocations: 22.39 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.7538, allocations: 170.7 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.7541, allocations: 0.728 MB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.7541, allocations: 0 / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.008347/0.7625, allocations: 2.979 MB / 1.109 GB, free: 6.316 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)