Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.347/1.347, allocations: 285.5 MB / 292.8 MB, free: 9.938 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.0009569/0.0009569, allocations: 184.6 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.1 MB / 0.6195 GB, free: 2.91 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007563/0.0007563, allocations: 88.66 kB / 0.7326 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3584, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.5036, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.9165, allocations: 137.6 MB / 1.098 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.9167, allocations: 71.72 kB / 1.098 GB, free: 44.46 MB / 0.7136 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.01179/0.9285, allocations: 5.107 MB / 1.103 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.9285, allocations: 11.5 kB / 1.103 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.9286, allocations: 13.72 kB / 1.103 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.9289, allocations: 208.5 kB / 1.103 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.9289, allocations: 7.719 kB / 1.103 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.9289, allocations: 7.562 kB / 1.103 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.929, allocations: 47.45 kB / 1.103 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.9291, allocations: 93.94 kB / 1.104 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.9292, allocations: 3.844 kB / 1.104 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.9292, allocations: 3.656 kB / 1.104 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9292, allocations: 0 / 1.104 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.9294, allocations: 215.5 kB / 1.104 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.9295, allocations: 113 kB / 1.104 GB, free: 43.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.9295, allocations: 67.64 kB / 1.104 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.9296, allocations: 0 / 1.104 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.9297, allocations: 133 kB / 1.104 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.9297, allocations: 3.781 kB / 1.104 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0002709/0.93, allocations: 149.6 kB / 1.104 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.93, allocations: 112.9 kB / 1.104 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.9301, allocations: 130 kB / 1.104 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.9301, allocations: 33.02 kB / 1.104 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.9301, allocations: 87.66 kB / 1.105 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.9302, allocations: 58.72 kB / 1.105 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.9302, allocations: 0 / 1.105 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.9302, allocations: 323.8 kB / 1.105 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.9303, allocations: 50.22 kB / 1.105 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.9304, allocations: 190.9 kB / 1.105 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.9306, allocations: 78.2 kB / 1.105 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9306, allocations: 0 / 1.105 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002632/0.9308, allocations: 191.8 kB / 1.105 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/0.9309, allocations: 11.12 kB / 1.105 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.9309, allocations: 14 kB / 1.105 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.9309, allocations: 0 / 1.105 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.931, allocations: 12.09 kB / 1.105 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.931, allocations: 3.219 kB / 1.105 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.9312, allocations: 52.64 kB / 1.105 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.9312, allocations: 9.688 kB / 1.106 GB, free: 42.21 MB / 0.7136 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 6.011e-05/0.9313, allocations: 120.2 kB / 1.106 GB, free: 42.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.9313, allocations: 14.22 kB / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.9313, allocations: 18.5 kB / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.9313, allocations: 3.219 kB / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9313, allocations: 4 kB / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9313, allocations: 0 / 1.106 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.9314, allocations: 182.7 kB / 1.106 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9314, allocations: 4 kB / 1.106 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.9315, allocations: 12.16 kB / 1.106 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9315, allocations: 0 / 1.106 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.9315, allocations: 7.094 kB / 1.106 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9315, allocations: 3.938 kB / 1.106 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.9315, allocations: 7.016 kB / 1.106 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002093/0.9317, allocations: 215 kB / 1.106 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002459/0.932, allocations: 0.5883 MB / 1.107 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.932, allocations: 92.55 kB / 1.107 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.932, allocations: 0 / 1.107 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.9321, allocations: 7.719 kB / 1.107 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.9322, allocations: 10 kB / 1.107 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.9322, allocations: 11.38 kB / 1.107 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.464e-05/0.9322, allocations: 106.4 kB / 1.107 GB, free: 41.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000818/0.933, allocations: 114.6 kB / 1.107 GB, free: 41.08 MB / 0.7136 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.000226/0.9333, allocations: 217.3 kB / 1.107 GB, free: 40.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.9335, allocations: 214.6 kB / 1.107 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9335, allocations: 4 kB / 1.107 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.9336, allocations: 48 kB / 1.107 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.9337, allocations: 13.97 kB / 1.107 GB, free: 56.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.9339, allocations: 166.7 kB / 1.108 GB, free: 56.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.9342, allocations: 0.7352 MB / 1.108 GB, free: 56.04 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.9342, allocations: 3.938 kB / 1.108 GB, free: 56.04 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)