Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.144/2.144, allocations: 284.8 MB / 292.1 MB, free: 10.69 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.001607/0.001607, allocations: 191.4 kB / 360.3 MB, free: 7.5 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.631/1.631, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001212/0.001212, allocations: 90.31 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2434/0.2446, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.7897, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.994, allocations: 137.4 MB / 1.097 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.9943, allocations: 73.75 kB / 1.097 GB, free: 3.402 MB / 0.698 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.01916/1.013, allocations: 3.991 MB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.014, allocations: 8.5 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/1.014, allocations: 21.5 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/1.014, allocations: 217 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.014, allocations: 4 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/1.014, allocations: 15.94 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001723/1.014, allocations: 42.05 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/1.015, allocations: 83.38 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.015, allocations: 0.6094 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/1.015, allocations: 3.906 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.015, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/1.015, allocations: 211.1 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/1.015, allocations: 81.73 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/1.015, allocations: 57.81 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/1.015, allocations: 7.984 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/1.016, allocations: 116.9 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/1.016, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005038/1.016, allocations: 125.5 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/1.016, allocations: 89.09 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.016, allocations: 136 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/1.017, allocations: 33.69 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/1.017, allocations: 88.58 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/1.017, allocations: 39.48 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.017, allocations: 4 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.017, allocations: 322.8 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.017, allocations: 44.17 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/1.017, allocations: 209.4 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/1.018, allocations: 70.58 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.018, allocations: 4.562 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004719/1.018, allocations: 173.3 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.018, allocations: 4 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/1.018, allocations: 7.984 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.018, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.018, allocations: 9.375 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.018, allocations: 3.75 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/1.019, allocations: 79.78 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/1.019, allocations: 15.98 kB / 1.103 GB, free: 12.93 MB / 0.7136 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 0.0001271/1.019, allocations: 116.6 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/1.019, allocations: 11.91 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/1.019, allocations: 12.5 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.019, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.019, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.019, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/1.019, allocations: 170.1 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.019, allocations: 0 / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/1.02, allocations: 9.484 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.02, allocations: 4 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/1.02, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.02, allocations: 4 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.02, allocations: 4 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004199/1.02, allocations: 178.4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000581/1.021, allocations: 0.5588 MB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/1.021, allocations: 84.92 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/1.021, allocations: 4 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/1.021, allocations: 4 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/1.021, allocations: 3.984 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.021, allocations: 6.188 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001157/1.021, allocations: 114 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001291/1.022, allocations: 87.83 kB / 1.104 GB, free: 11.46 MB / 0.7136 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.0003775/1.023, allocations: 179.9 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003604/1.023, allocations: 155.3 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.023, allocations: 0 / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.023, allocations: 39.98 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/1.023, allocations: 8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/1.024, allocations: 157.1 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/1.024, allocations: 0.7197 MB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.024, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)