Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.316/1.316, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0008966/0.0008966, allocations: 175.2 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9944/0.9944, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007585/0.0007585, allocations: 93.58 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1743, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.5734, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.7013, allocations: 137.5 MB / 1.098 GB, free: 2.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.7016, allocations: 74.58 kB / 1.098 GB, free: 2.359 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01332/0.7149, allocations: 5.095 MB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.7149, allocations: 12.25 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.715, allocations: 11.91 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.7153, allocations: 222.7 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.7153, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.7153, allocations: 8 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.7154, allocations: 43.97 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.7155, allocations: 100.2 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7156, allocations: 3.984 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7156, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7156, allocations: 4 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.7158, allocations: 225.4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.7159, allocations: 103.9 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.716, allocations: 74.61 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.716, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.7162, allocations: 133.5 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.7162, allocations: 0 / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0003004/0.7165, allocations: 137.5 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.7165, allocations: 122.7 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.7166, allocations: 131.7 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.7167, allocations: 29.7 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.7167, allocations: 92.64 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.7167, allocations: 51.34 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.7168, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.7169, allocations: 326.8 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.7169, allocations: 48.28 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.7171, allocations: 191 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.7173, allocations: 75.83 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.7173, allocations: 4 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000295/0.7176, allocations: 197.2 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.7176, allocations: 8 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.7176, allocations: 7.984 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.7176, allocations: 0 / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.7177, allocations: 15.94 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.7177, allocations: 0 / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.7179, allocations: 47.81 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.7179, allocations: 11.98 kB / 1.105 GB, free: 10.64 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 7.744e-05/0.718, allocations: 119.5 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.7181, allocations: 15.81 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.7181, allocations: 12.5 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7181, allocations: 4.891 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7181, allocations: 5.547 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.7181, allocations: 7.891 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.7182, allocations: 174.1 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7182, allocations: 4 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.7183, allocations: 12 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7183, allocations: 3.906 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.7183, allocations: 7.984 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7183, allocations: 2.625 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7183, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002553/0.7186, allocations: 218.7 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000327/0.7189, allocations: 0.5828 MB / 1.107 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.719, allocations: 90.67 kB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.719, allocations: 4 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.7191, allocations: 4 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.7191, allocations: 15.98 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.7191, allocations: 11.89 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.905e-05/0.7192, allocations: 108.1 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008459/0.72, allocations: 111.9 kB / 1.107 GB, free: 9.027 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.0002693/0.7203, allocations: 214.8 kB / 1.107 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.7206, allocations: 211.5 kB / 1.107 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7206, allocations: 8 kB / 1.107 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.7206, allocations: 55.94 kB / 1.107 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/0.7208, allocations: 7.938 kB / 1.107 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.7211, allocations: 170.6 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.7213, allocations: 0.7359 MB / 1.108 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7213, allocations: 0 / 1.108 GB, free: 7.555 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)