Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 187 kB / 7.803 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.85 MB / 99.08 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.4 MB / 342.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009187/0.0009187, allocations: 93.95 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.001e-06, allocations: 0 / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 72.3 MB / 0.5529 GB, free: 73.52 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.5219, allocations: 101.1 MB / 0.6516 GB, free: 8.973 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.5222, allocations: 71.95 kB / 0.6517 GB, free: 8.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01395/0.5361, allocations: 4.714 MB / 0.6563 GB, free: 4.242 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5362, allocations: 4.562 kB / 0.6563 GB, free: 4.238 MB / 474.7 MB 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.0005369/0.5367, allocations: 465.7 kB / 0.6568 GB, free: 3.742 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5368, allocations: 8.031 kB / 0.6568 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.5368, allocations: 15.81 kB / 0.6568 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.5372, allocations: 212.9 kB / 0.657 GB, free: 3.473 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5372, allocations: 4 kB / 0.657 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.5373, allocations: 8 kB / 0.657 GB, free: 3.461 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.5374, allocations: 47.97 kB / 0.657 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5376, allocations: 96.17 kB / 0.6571 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5376, allocations: 0 / 0.6571 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5376, allocations: 7.906 kB / 0.6571 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5376, allocations: 0 / 0.6571 GB, free: 3.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.5379, allocations: 221.1 kB / 0.6573 GB, free: 3.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.538, allocations: 107.8 kB / 0.6574 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/0.5381, allocations: 70.66 kB / 0.6575 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.5381, allocations: 4 kB / 0.6575 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.5383, allocations: 129.4 kB / 0.6576 GB, free: 2.676 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.5383, allocations: 4 kB / 0.6576 GB, free: 2.672 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003821/0.5387, allocations: 153.3 kB / 0.6578 GB, free: 2.516 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.5388, allocations: 118.8 kB / 0.6579 GB, free: 2.375 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.339e-05/0.5389, allocations: 124 kB / 0.658 GB, free: 2.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.5389, allocations: 33.7 kB / 0.6581 GB, free: 2.211 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.539, allocations: 92.64 kB / 0.6581 GB, free: 2.117 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.539, allocations: 55.25 kB / 0.6582 GB, free: 2.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.5391, allocations: 0 / 0.6582 GB, free: 2.062 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5392, allocations: 326.8 kB / 0.6585 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.282e-05/0.5393, allocations: 48.14 kB / 0.6586 GB, free: 1.684 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.5395, allocations: 192.9 kB / 0.6587 GB, free: 1.445 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.5396, allocations: 74.03 kB / 0.6588 GB, free: 1.375 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5396, allocations: 4 kB / 0.6588 GB, free: 1.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003213/0.5399, allocations: 197.3 kB / 0.659 GB, free: 1.172 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.54, allocations: 4 kB / 0.659 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.54, allocations: 15.27 kB / 0.659 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.54, allocations: 0 / 0.659 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.5401, allocations: 19.94 kB / 0.659 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5401, allocations: 0 / 0.659 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.5403, allocations: 53.91 kB / 0.6591 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.5404, allocations: 11.98 kB / 0.6591 GB, free: 1.074 MB / 474.7 MB 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.213e-05/0.5405, allocations: 119.5 kB / 0.6592 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.5405, allocations: 11.81 kB / 0.6592 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.5405, allocations: 16.5 kB / 0.6592 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5406, allocations: 0 / 0.6592 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5406, allocations: 4 kB / 0.6592 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5406, allocations: 3.984 kB / 0.6592 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.5407, allocations: 178 kB / 0.6594 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5407, allocations: 0 / 0.6594 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.5408, allocations: 8 kB / 0.6594 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5408, allocations: 4 kB / 0.6594 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5408, allocations: 7.984 kB / 0.6594 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5408, allocations: 0 / 0.6594 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5408, allocations: 0 / 0.6594 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000281/0.5411, allocations: 221.6 kB / 0.6596 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.5412, allocations: 88.92 kB / 0.6597 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.5412, allocations: 6.375 kB / 0.6597 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.5413, allocations: 8 kB / 0.6597 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5413, allocations: 11.97 kB / 0.6598 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5413, allocations: 15.91 kB / 0.6598 GB, free: 300 kB / 474.7 MB Notification: Performance of sort global known variables: time 5.318e-05/0.5414, allocations: 99.27 kB / 0.6599 GB, free: 200 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.5418, allocations: 107.9 kB / 0.66 GB, free: 92 kB / 474.7 MB 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.0003371/0.5421, allocations: 211.1 kB / 0.6602 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.5424, allocations: 219.5 kB / 0.6604 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5424, allocations: 4 kB / 0.6604 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.5425, allocations: 51.92 kB / 0.6604 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.5426, allocations: 8.719 kB / 0.6604 GB, free: 15.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.543, allocations: 167.5 kB / 0.6606 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.5433, allocations: 0.7274 MB / 0.6613 GB, free: 14.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5433, allocations: 0 / 0.6613 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Templates: time 0.005684/0.549, allocations: 2.989 MB / 0.6642 GB, free: 11.73 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)