Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.322/1.322, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.0009524/0.0009523, allocations: 179.6 kB / 366.3 MB, free: 1.934 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.9962/0.9962, allocations: 205.1 MB / 0.6256 GB, free: 5.781 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.0007593/0.0007593, allocations: 88.44 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.394e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4392, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.576, allocations: 138.5 MB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.5762, allocations: 72.78 kB / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01302/0.5892, allocations: 4.64 MB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.5893, allocations: 9.312 kB / 1.112 GB, free: 5.25 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.0004363/0.5897, allocations: 450 kB / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.5898, allocations: 8.031 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5898, allocations: 11.91 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.5901, allocations: 226.8 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5901, allocations: 4 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.5902, allocations: 8 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.5903, allocations: 43.92 kB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5904, allocations: 92.23 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5905, allocations: 0 / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5905, allocations: 7.984 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.5905, allocations: 4 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.5907, allocations: 219.8 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5908, allocations: 109.4 kB / 1.114 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.547e-05/0.591, allocations: 74.66 kB / 1.114 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.591, allocations: 0 / 1.114 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.5911, allocations: 126.3 kB / 1.114 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.5911, allocations: 4 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003231/0.5914, allocations: 148.1 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.5915, allocations: 122.8 kB / 1.114 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.5916, allocations: 123.1 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.5917, allocations: 37.69 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.5917, allocations: 88.64 kB / 1.114 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.5918, allocations: 47.36 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-06/0.5918, allocations: 0 / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5919, allocations: 330.8 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.592, allocations: 44.28 kB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.5922, allocations: 195 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5923, allocations: 82.02 kB / 1.115 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5923, allocations: 1.688 kB / 1.115 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003065/0.5927, allocations: 195.7 kB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.5927, allocations: 4 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.5927, allocations: 8 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5927, allocations: 0 / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.5928, allocations: 23.92 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5928, allocations: 0 / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.593, allocations: 47.81 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.593, allocations: 8 kB / 1.115 GB, free: 2.102 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 8.907e-05/0.5931, allocations: 126.1 kB / 1.115 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.5932, allocations: 15.8 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.5932, allocations: 12.5 kB / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5932, allocations: 0 / 1.115 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5932, allocations: 4 kB / 1.115 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5932, allocations: 7.906 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.5934, allocations: 174.1 kB / 1.116 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5934, allocations: 0 / 1.116 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.5934, allocations: 8 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5935, allocations: 13.12 kB / 1.116 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5935, allocations: 4 kB / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5935, allocations: 0 / 1.116 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5935, allocations: 3.938 kB / 1.116 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002761/0.5938, allocations: 221.6 kB / 1.116 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.5938, allocations: 88.92 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5938, allocations: 0 / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.5939, allocations: 7.984 kB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.594, allocations: 4 kB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.594, allocations: 15.98 kB / 1.116 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.913e-05/0.594, allocations: 100.5 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003098/0.5944, allocations: 107.9 kB / 1.116 GB, free: 1.113 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.000291/0.5947, allocations: 227.1 kB / 1.116 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.5949, allocations: 210.8 kB / 1.116 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5949, allocations: 0 / 1.116 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.595, allocations: 47.94 kB / 1.117 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.5951, allocations: 22.41 kB / 1.117 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.5955, allocations: 165.8 kB / 1.117 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.5958, allocations: 0.7274 MB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.5958, allocations: 1.125 kB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.005145/0.6009, allocations: 2.994 MB / 1.12 GB, free: 12.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)