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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [: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.358/1.358, allocations: 289.8 MB / 297 MB, free: 6.684 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.0009339/0.0009339, allocations: 169.3 kB / 366.3 MB, free: 2.004 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.1 MB / 0.6256 GB, free: 5.922 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.0007902/0.0007902, allocations: 83.19 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.186/0.1869, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.6077, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.7484, allocations: 138.5 MB / 1.108 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.7486, allocations: 72.67 kB / 1.108 GB, free: 9.961 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.0138/0.7624, allocations: 5.101 MB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.7624, allocations: 8 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.7625, allocations: 11.91 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.7628, allocations: 214.8 kB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.7628, allocations: 4.75 kB / 1.113 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.7628, allocations: 8 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/0.763, allocations: 51.91 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.7631, allocations: 94.88 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.7631, allocations: 0 / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.7631, allocations: 8 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.7631, allocations: 0 / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.7634, allocations: 232.6 kB / 1.114 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7635, allocations: 103.8 kB / 1.114 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.7636, allocations: 70.66 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.7636, allocations: 4 kB / 1.114 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.7637, allocations: 126.3 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.7638, allocations: 0 / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003144/0.7641, allocations: 153.5 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.7641, allocations: 114.8 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.7642, allocations: 130.1 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.7643, allocations: 33.7 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.7643, allocations: 88.64 kB / 1.114 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.7644, allocations: 51.34 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.7644, allocations: 0 / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.7645, allocations: 326.8 kB / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.7646, allocations: 48.27 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.7647, allocations: 191 kB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.7649, allocations: 82.67 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7649, allocations: 0 / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003026/0.7652, allocations: 191.5 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.7652, allocations: 9.156 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.7653, allocations: 7.984 kB / 1.115 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.7653, allocations: 4 kB / 1.115 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.7653, allocations: 12 kB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.7654, allocations: 4 kB / 1.115 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.7656, allocations: 51.8 kB / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.7656, allocations: 4 kB / 1.115 GB, free: 2.172 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.666e-05/0.7657, allocations: 131.5 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.7657, allocations: 11.95 kB / 1.115 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.7657, allocations: 16.48 kB / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7657, allocations: 0 / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7658, allocations: 0 / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7658, allocations: 11.89 kB / 1.115 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.7659, allocations: 175 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7659, allocations: 0 / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.766, allocations: 8 kB / 1.116 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.766, allocations: 11.89 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.766, allocations: 0 / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.766, allocations: 11.94 kB / 1.116 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.766, allocations: 0 / 1.116 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003065/0.7663, allocations: 211.5 kB / 1.116 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003509/0.7667, allocations: 0.5905 MB / 1.116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.7667, allocations: 88.92 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.7667, allocations: 0.6562 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/0.7668, allocations: 11.98 kB / 1.117 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.7669, allocations: 7.984 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.7669, allocations: 15.91 kB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.961e-05/0.7669, allocations: 104.3 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008649/0.7678, allocations: 111.9 kB / 1.117 GB, free: 0.5391 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.0002704/0.7681, allocations: 211 kB / 1.117 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.7683, allocations: 218.1 kB / 1.117 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7684, allocations: 4 kB / 1.117 GB, free: 92 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.7684, allocations: 44 kB / 1.117 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.7685, allocations: 15.92 kB / 1.117 GB, free: 32 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.7689, allocations: 167.8 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.7691, allocations: 0.743 MB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.7691, allocations: 0 / 1.118 GB, free: 15.07 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)