Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.848/1.848, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001035/0.001034, allocations: 173.3 kB / 487 MB, free: 5.379 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008685/0.0008684, allocations: 99.92 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4127/0.4136, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.5987, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5209/1.12, allocations: 148.9 MB / 1.351 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/1.12, allocations: 71.89 kB / 1.351 GB, free: 15.94 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.01438/1.134, allocations: 5.166 MB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.134, allocations: 8.719 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/1.134, allocations: 15.16 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/1.135, allocations: 222.5 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.135, allocations: 1.875 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/1.135, allocations: 8.344 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/1.135, allocations: 40.84 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.135, allocations: 96.53 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/1.135, allocations: 0.8125 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.135, allocations: 0.875 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.135, allocations: 0.625 kB / 1.356 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/1.135, allocations: 230.6 kB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/1.135, allocations: 102.7 kB / 1.357 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/1.135, allocations: 69.41 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/1.135, allocations: 7.5 kB / 1.357 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/1.136, allocations: 126.6 kB / 1.357 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/1.136, allocations: 0 / 1.357 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003549/1.136, allocations: 152.4 kB / 1.357 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.136, allocations: 115.7 kB / 1.357 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/1.136, allocations: 126.5 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/1.136, allocations: 35.23 kB / 1.357 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/1.136, allocations: 89.2 kB / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/1.136, allocations: 51 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/1.136, allocations: 4 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/1.136, allocations: 326.4 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/1.136, allocations: 50.16 kB / 1.358 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/1.137, allocations: 195.5 kB / 1.358 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/1.137, allocations: 76.09 kB / 1.358 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.137, allocations: 0 / 1.358 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003481/1.137, allocations: 204.5 kB / 1.358 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.137, allocations: 9.156 kB / 1.358 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.137, allocations: 7.5 kB / 1.358 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.137, allocations: 5.266 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/1.137, allocations: 11.45 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.137, allocations: 1.719 kB / 1.358 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/1.138, allocations: 52.72 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/1.138, allocations: 12.34 kB / 1.358 GB, free: 13.66 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.06e-05/1.138, allocations: 116.1 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.138, allocations: 15.06 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/1.138, allocations: 20.03 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.138, allocations: 6.031 kB / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.138, allocations: 4.969 kB / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.138, allocations: 1.828 kB / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/1.138, allocations: 178.2 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.138, allocations: 2.375 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/1.138, allocations: 12.88 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.138, allocations: 7.297 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/1.138, allocations: 2.562 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.138, allocations: 0.9375 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.138, allocations: 0.875 kB / 1.359 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002676/1.138, allocations: 216.4 kB / 1.359 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002828/1.139, allocations: 0.5843 MB / 1.359 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/1.139, allocations: 91.11 kB / 1.359 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/1.139, allocations: 5.375 kB / 1.359 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/1.139, allocations: 6.875 kB / 1.359 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/1.139, allocations: 6.781 kB / 1.359 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.139, allocations: 11.23 kB / 1.359 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.832e-05/1.139, allocations: 104.4 kB / 1.36 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009668/1.14, allocations: 120.1 kB / 1.36 GB, free: 12.52 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.0003321/1.14, allocations: 214.5 kB / 1.36 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000257/1.14, allocations: 207 kB / 1.36 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.14, allocations: 0.75 kB / 1.36 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/1.14, allocations: 55.19 kB / 1.36 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/1.141, allocations: 12.02 kB / 1.36 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/1.141, allocations: 167.7 kB / 1.36 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.141, allocations: 0.7289 MB / 1.361 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/1.141, allocations: 0.8438 kB / 1.361 GB, free: 11.49 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)