Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.408/1.408, allocations: 289.8 MB / 297.1 MB, free: 8.934 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.0009638/0.0009637, allocations: 180.4 kB / 366.3 MB, free: 11.3 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.123/1.123, allocations: 205.1 MB / 0.6256 GB, free: 11.4 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008029/0.0008027, allocations: 89.22 kB / 0.7396 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3734/0.3742, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.5373, allocations: 116.3 MB / 0.9727 GB, free: 31.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/1.001, allocations: 138.5 MB / 1.108 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.001, allocations: 71.67 kB / 1.108 GB, free: 16.22 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01146/1.013, allocations: 3.985 MB / 1.112 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/1.013, allocations: 13.31 kB / 1.112 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/1.013, allocations: 15.34 kB / 1.112 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/1.013, allocations: 223 kB / 1.112 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/1.013, allocations: 1.219 kB / 1.112 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/1.013, allocations: 13.06 kB / 1.112 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/1.013, allocations: 40.67 kB / 1.112 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.014, allocations: 85.42 kB / 1.112 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.014, allocations: 3.938 kB / 1.112 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.014, allocations: 1.312 kB / 1.112 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.014, allocations: 7.906 kB / 1.112 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/1.014, allocations: 207.4 kB / 1.112 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/1.014, allocations: 82.86 kB / 1.113 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/1.014, allocations: 56.56 kB / 1.113 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/1.014, allocations: 5.312 kB / 1.113 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/1.014, allocations: 110 kB / 1.113 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/1.014, allocations: 0 / 1.113 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0003206/1.014, allocations: 135.7 kB / 1.113 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.015, allocations: 90.2 kB / 1.113 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/1.015, allocations: 136.1 kB / 1.113 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/1.015, allocations: 36.17 kB / 1.113 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/1.015, allocations: 92.7 kB / 1.113 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/1.015, allocations: 31.22 kB / 1.113 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/1.015, allocations: 0 / 1.113 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.202e-05/1.015, allocations: 323.6 kB / 1.114 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/1.015, allocations: 44.47 kB / 1.114 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/1.015, allocations: 207.7 kB / 1.114 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/1.015, allocations: 73.12 kB / 1.114 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.015, allocations: 1.312 kB / 1.114 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002616/1.015, allocations: 174.4 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.016, allocations: 5.438 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.016, allocations: 5.125 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.016, allocations: 1.5 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/1.016, allocations: 8.422 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.016, allocations: 1.344 kB / 1.114 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.016, allocations: 82.78 kB / 1.114 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/1.016, allocations: 9.422 kB / 1.114 GB, free: 14.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.271e-05/1.016, allocations: 123.2 kB / 1.114 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/1.016, allocations: 13.25 kB / 1.114 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/1.016, allocations: 12.33 kB / 1.114 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.016, allocations: 1.031 kB / 1.114 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.016, allocations: 1.25 kB / 1.114 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.016, allocations: 1.5 kB / 1.114 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/1.016, allocations: 173.2 kB / 1.114 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.016, allocations: 0 / 1.114 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/1.016, allocations: 7.531 kB / 1.114 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.016, allocations: 5.656 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.016, allocations: 1.469 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.016, allocations: 5.656 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.016, allocations: 3.938 kB / 1.114 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002257/1.017, allocations: 177.9 kB / 1.115 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002654/1.017, allocations: 0.5485 MB / 1.115 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/1.017, allocations: 90.41 kB / 1.115 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/1.017, allocations: 6.219 kB / 1.115 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/1.017, allocations: 4.031 kB / 1.115 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/1.017, allocations: 4.266 kB / 1.115 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/1.017, allocations: 14.33 kB / 1.115 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.394e-05/1.017, allocations: 117.2 kB / 1.115 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008657/1.018, allocations: 79.69 kB / 1.115 GB, free: 13.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002314/1.018, allocations: 179.5 kB / 1.116 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002033/1.018, allocations: 160.1 kB / 1.116 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.018, allocations: 0 / 1.116 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/1.018, allocations: 42.52 kB / 1.116 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/1.019, allocations: 9.031 kB / 1.116 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/1.019, allocations: 151 kB / 1.116 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/1.019, allocations: 0.7305 MB / 1.117 GB, free: 28.03 MB / 0.698 GB Notification: Performance of SimCode: time 4.81e-07/1.019, allocations: 3.938 kB / 1.117 GB, free: 28.02 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)