Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [: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.332/1.332, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009449/0.0009448, allocations: 181.3 kB / 366.3 MB, free: 1.973 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.041/1.041, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.000816/0.0008159, allocations: 90.38 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.599e-06/4.619e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 116.3 MB / 0.9725 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5293, allocations: 138.6 MB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.5295, allocations: 76.91 kB / 1.108 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01295/0.5425, allocations: 4.65 MB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5425, allocations: 4 kB / 1.112 GB, free: 5.184 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.0004075/0.5429, allocations: 454 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.5429, allocations: 8.031 kB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.543, allocations: 11.91 kB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.5433, allocations: 226.7 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5433, allocations: 0 / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.5433, allocations: 8 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/0.5435, allocations: 51.97 kB / 1.113 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.5436, allocations: 96.73 kB / 1.113 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5436, allocations: 4 kB / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.5436, allocations: 0 / 1.113 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.5436, allocations: 3.938 kB / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.5439, allocations: 223.9 kB / 1.114 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.544, allocations: 103.9 kB / 1.114 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.5441, allocations: 72.08 kB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.5441, allocations: 4 kB / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.5442, allocations: 126.3 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.5442, allocations: 0 / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.000308/0.5445, allocations: 148.1 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5446, allocations: 122.8 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.5447, allocations: 132.5 kB / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5447, allocations: 29.7 kB / 1.114 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.5448, allocations: 88.64 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.5448, allocations: 51.34 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.5448, allocations: 0 / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.5449, allocations: 326.8 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.545, allocations: 48.27 kB / 1.115 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.5452, allocations: 187 kB / 1.115 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5454, allocations: 82.12 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5454, allocations: 0.6562 kB / 1.115 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003006/0.5457, allocations: 198.8 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.5457, allocations: 4 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.5457, allocations: 7.984 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5457, allocations: 7.984 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.5458, allocations: 15.94 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5458, allocations: 4 kB / 1.115 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.546, allocations: 49.5 kB / 1.115 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5461, allocations: 11.98 kB / 1.115 GB, free: 2.023 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 7.666e-05/0.5461, allocations: 119.6 kB / 1.115 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.5462, allocations: 15.75 kB / 1.115 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.5462, allocations: 12.5 kB / 1.115 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5462, allocations: 0 / 1.115 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.5462, allocations: 0 / 1.115 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5462, allocations: 11.89 kB / 1.115 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.5464, allocations: 170.1 kB / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5464, allocations: 0 / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.5464, allocations: 8 kB / 1.116 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5464, allocations: 11.91 kB / 1.116 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.5464, allocations: 7.984 kB / 1.116 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5464, allocations: 4 kB / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5465, allocations: 0 / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002583/0.5467, allocations: 209.4 kB / 1.116 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.5468, allocations: 96.92 kB / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5468, allocations: 3.984 kB / 1.116 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.5469, allocations: 5.969 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.5469, allocations: 11.98 kB / 1.116 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5469, allocations: 12 kB / 1.116 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.845e-05/0.547, allocations: 99.27 kB / 1.116 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003011/0.5473, allocations: 115.8 kB / 1.116 GB, free: 1.031 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.0002679/0.5476, allocations: 221.2 kB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.5478, allocations: 207.7 kB / 1.117 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5478, allocations: 0 / 1.117 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.5479, allocations: 47.98 kB / 1.117 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.548, allocations: 19.78 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.5483, allocations: 169.8 kB / 1.117 GB, free: 336 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.5486, allocations: 0.7313 MB / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.5486, allocations: 0 / 1.117 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.004812/0.5534, allocations: 2.985 MB / 1.12 GB, free: 12.64 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)