Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.836/1.836, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009634/0.0009634, allocations: 176.4 kB / 487 MB, free: 5.41 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.172/1.172, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 100.6 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4196/0.4205, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6052, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5097/1.115, allocations: 148.8 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/1.115, allocations: 70.2 kB / 1.351 GB, free: 15.89 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.01406/1.129, allocations: 5.152 MB / 1.356 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/1.129, allocations: 12.38 kB / 1.356 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/1.129, allocations: 17.09 kB / 1.356 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/1.13, allocations: 219.2 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.13, allocations: 3.172 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/1.13, allocations: 7.844 kB / 1.356 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001134/1.13, allocations: 47.28 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/1.13, allocations: 95.2 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/1.13, allocations: 0 / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.13, allocations: 0.7188 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.13, allocations: 3.875 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/1.13, allocations: 221.2 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.13, allocations: 107.8 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/1.13, allocations: 71.75 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/1.13, allocations: 2.547 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/1.131, allocations: 129.1 kB / 1.357 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/1.131, allocations: 0 / 1.357 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003277/1.131, allocations: 147.9 kB / 1.357 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.131, allocations: 114.4 kB / 1.357 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/1.131, allocations: 132.7 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/1.131, allocations: 35.44 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/1.131, allocations: 96.67 kB / 1.357 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/1.131, allocations: 50.2 kB / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/1.131, allocations: 0 / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/1.131, allocations: 326.6 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/1.131, allocations: 48.06 kB / 1.358 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/1.131, allocations: 197.3 kB / 1.358 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.132, allocations: 70.16 kB / 1.358 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.132, allocations: 5.031 kB / 1.358 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003261/1.132, allocations: 195.8 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.132, allocations: 7.016 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/1.132, allocations: 5.5 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.132, allocations: 6.328 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/1.132, allocations: 19.8 kB / 1.358 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.132, allocations: 1.891 kB / 1.358 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.132, allocations: 49.5 kB / 1.358 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/1.132, allocations: 7.562 kB / 1.358 GB, free: 13.61 MB / 0.8073 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.152e-05/1.132, allocations: 119.8 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/1.132, allocations: 18.36 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/1.133, allocations: 11.8 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.133, allocations: 6.562 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.133, allocations: 0.9062 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.133, allocations: 0.8438 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/1.133, allocations: 186 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.133, allocations: 0.7188 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/1.133, allocations: 10.69 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.133, allocations: 5.438 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.133, allocations: 6.75 kB / 1.358 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.133, allocations: 5.281 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.133, allocations: 6.516 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002568/1.133, allocations: 207.1 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002843/1.133, allocations: 0.5899 MB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/1.133, allocations: 91.45 kB / 1.359 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/1.133, allocations: 2.062 kB / 1.359 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/1.133, allocations: 10.08 kB / 1.359 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/1.133, allocations: 14.02 kB / 1.359 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/1.134, allocations: 8.094 kB / 1.359 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.35e-05/1.134, allocations: 103.4 kB / 1.359 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009355/1.135, allocations: 117.5 kB / 1.36 GB, free: 12.47 MB / 0.8073 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.0002945/1.135, allocations: 214 kB / 1.36 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002523/1.135, allocations: 208.2 kB / 1.36 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.135, allocations: 0 / 1.36 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/1.135, allocations: 55 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/1.135, allocations: 12.69 kB / 1.36 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/1.136, allocations: 174.5 kB / 1.36 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/1.136, allocations: 0.7298 MB / 1.361 GB, free: 27.44 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/1.136, allocations: 0 / 1.361 GB, free: 27.44 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)