Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.833/1.833, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009596/0.0009596, allocations: 173.3 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.3 MB / 0.7863 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 94.5 kB / 0.9264 GB, free: 14.35 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4095/0.4104, allocations: 149.1 MB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.5934, allocations: 143 MB / 1.212 GB, free: 21.85 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/1.104, allocations: 150.1 MB / 1.358 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/1.104, allocations: 72.27 kB / 1.358 GB, free: 3.078 MB / 0.8073 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.01381/1.118, allocations: 5.152 MB / 1.363 GB, free: 14.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/1.118, allocations: 15.94 kB / 1.363 GB, free: 14.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/1.118, allocations: 12.52 kB / 1.363 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/1.118, allocations: 221.4 kB / 1.364 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.118, allocations: 4 kB / 1.364 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/1.118, allocations: 11.91 kB / 1.364 GB, free: 14.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/1.119, allocations: 46.28 kB / 1.364 GB, free: 14.29 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.119, allocations: 96.7 kB / 1.364 GB, free: 14.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.119, allocations: 0 / 1.364 GB, free: 14.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.119, allocations: 4 kB / 1.364 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.119, allocations: 0 / 1.364 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/1.119, allocations: 224.8 kB / 1.364 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/1.119, allocations: 104.2 kB / 1.364 GB, free: 13.84 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/1.119, allocations: 69.98 kB / 1.364 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/1.119, allocations: 4 kB / 1.364 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/1.119, allocations: 128 kB / 1.364 GB, free: 13.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/1.119, allocations: 0 / 1.364 GB, free: 13.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=21): time 0.0003508/1.12, allocations: 152.4 kB / 1.364 GB, free: 13.51 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.12, allocations: 118.4 kB / 1.364 GB, free: 13.38 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/1.12, allocations: 132.6 kB / 1.365 GB, free: 13.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/1.12, allocations: 29.7 kB / 1.365 GB, free: 13.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/1.12, allocations: 88.52 kB / 1.365 GB, free: 13.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/1.12, allocations: 50.36 kB / 1.365 GB, free: 13.09 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/1.12, allocations: 0 / 1.365 GB, free: 13.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/1.12, allocations: 328.8 kB / 1.365 GB, free: 12.77 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/1.12, allocations: 42.09 kB / 1.365 GB, free: 12.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.12, allocations: 193.2 kB / 1.365 GB, free: 12.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/1.121, allocations: 84.25 kB / 1.365 GB, free: 12.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.121, allocations: 3.906 kB / 1.365 GB, free: 12.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003138/1.121, allocations: 200.2 kB / 1.366 GB, free: 12.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.121, allocations: 4 kB / 1.366 GB, free: 12.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.121, allocations: 11.94 kB / 1.366 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/1.121, allocations: 0 / 1.366 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/1.121, allocations: 18.73 kB / 1.366 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/1.121, allocations: 0 / 1.366 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.121, allocations: 47.81 kB / 1.366 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/1.121, allocations: 8 kB / 1.366 GB, free: 12.2 MB / 0.823 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.705e-05/1.121, allocations: 126 kB / 1.366 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/1.121, allocations: 15.75 kB / 1.366 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/1.122, allocations: 15.5 kB / 1.366 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.122, allocations: 4 kB / 1.366 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.122, allocations: 0 / 1.366 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.122, allocations: 0 / 1.366 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/1.122, allocations: 178.6 kB / 1.366 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.122, allocations: 0 / 1.366 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/1.122, allocations: 12 kB / 1.366 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.122, allocations: 0 / 1.366 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.122, allocations: 8 kB / 1.366 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.122, allocations: 11.83 kB / 1.366 GB, free: 11.81 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.122, allocations: 0 / 1.366 GB, free: 11.81 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002639/1.122, allocations: 209.4 kB / 1.366 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003273/1.122, allocations: 0.5891 MB / 1.367 GB, free: 11.01 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/1.122, allocations: 88.92 kB / 1.367 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/1.122, allocations: 4 kB / 1.367 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/1.123, allocations: 8 kB / 1.367 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/1.123, allocations: 11.23 kB / 1.367 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.123, allocations: 11.98 kB / 1.367 GB, free: 10.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.181e-05/1.123, allocations: 107.8 kB / 1.367 GB, free: 10.78 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009146/1.124, allocations: 120.5 kB / 1.367 GB, free: 10.67 MB / 0.823 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.0003001/1.124, allocations: 215.1 kB / 1.367 GB, free: 10.45 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002539/1.124, allocations: 214.7 kB / 1.368 GB, free: 10.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.124, allocations: 0 / 1.368 GB, free: 10.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/1.124, allocations: 44.27 kB / 1.368 GB, free: 10.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/1.124, allocations: 13.88 kB / 1.368 GB, free: 10.21 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/1.125, allocations: 176.5 kB / 1.368 GB, free: 10.04 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/1.125, allocations: 0.7353 MB / 1.368 GB, free: 9.273 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/1.125, allocations: 0 / 1.368 GB, free: 9.273 MB / 0.823 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)