Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.318/1.318, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.0009431/0.0009431, allocations: 173.3 kB / 361.1 MB, free: 7.055 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008164/0.0008163, allocations: 97.45 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1764/0.1772, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.594, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.7238, allocations: 137.5 MB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.724, allocations: 72.52 kB / 1.098 GB, free: 2.352 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.0104/0.7344, allocations: 3.988 MB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.7345, allocations: 8.5 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.7345, allocations: 15.81 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.7348, allocations: 209 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.7348, allocations: 11.92 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.7349, allocations: 11.94 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.587e-05/0.735, allocations: 39.98 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.7351, allocations: 85.53 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.7351, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7351, allocations: 7.906 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.7351, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.7353, allocations: 211.1 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/0.7354, allocations: 85.17 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.7355, allocations: 57.81 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.7355, allocations: 4 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.7356, allocations: 113 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.7356, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002891/0.7359, allocations: 129.5 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.736, allocations: 89.09 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.7361, allocations: 132.3 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.7361, allocations: 33.7 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.7362, allocations: 96.55 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.7362, allocations: 39.55 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.7363, allocations: 0 / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/0.7364, allocations: 322.8 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.7364, allocations: 40.17 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.7366, allocations: 216 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7367, allocations: 69.59 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7367, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002478/0.737, allocations: 168.1 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.737, allocations: 6.156 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.737, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7371, allocations: 7.984 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7371, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7371, allocations: 4 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7374, allocations: 79.78 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.7374, allocations: 8 kB / 1.104 GB, free: 11.88 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 7.684e-05/0.7375, allocations: 124.8 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.7375, allocations: 9.031 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.7376, allocations: 12.5 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.7376, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7376, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7376, allocations: 4 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.7377, allocations: 166.1 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7377, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.7377, allocations: 11.98 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7378, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.7378, allocations: 5.25 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7378, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7378, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002158/0.738, allocations: 181.5 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002909/0.7383, allocations: 0.5588 MB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.7383, allocations: 88.92 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.7384, allocations: 1.219 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.7384, allocations: 4 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.7385, allocations: 11.98 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7385, allocations: 5.625 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.864e-05/0.7385, allocations: 117.6 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007978/0.7393, allocations: 79.83 kB / 1.106 GB, free: 10.4 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.000244/0.7396, allocations: 181.6 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.7398, allocations: 155.4 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7398, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.7399, allocations: 43.92 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.74, allocations: 9.406 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.7403, allocations: 158.4 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.7405, allocations: 0.7239 MB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7405, allocations: 0 / 1.107 GB, free: 9.074 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)