Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009983/0.0009984, allocations: 181.2 kB / 316 MB, free: 3.629 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008905/0.0008906, allocations: 90.8 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3308/0.3317, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.4993, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.9866, allocations: 132.6 MB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.9868, allocations: 73.45 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01542/1.002, allocations: 4.934 MB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.002, allocations: 8 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/1.002, allocations: 47.75 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/1.003, allocations: 336.6 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.003, allocations: 11.98 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/1.003, allocations: 43.17 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/1.004, allocations: 99.48 kB / 1.02 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/1.004, allocations: 317 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.004, allocations: 0 / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/1.004, allocations: 11.67 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.004, allocations: 4 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/1.005, allocations: 457.2 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/1.005, allocations: 274.8 kB / 1.021 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/1.005, allocations: 148.1 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/1.005, allocations: 4 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/1.006, allocations: 320.6 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.315e-06/1.006, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0007154/1.006, allocations: 370.1 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.007, allocations: 203.2 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/1.007, allocations: 129.4 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/1.007, allocations: 51.06 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.007, allocations: 95.61 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/1.007, allocations: 86.69 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/1.007, allocations: 14.75 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.007, allocations: 336.7 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/1.008, allocations: 192.1 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/1.008, allocations: 255.1 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/1.008, allocations: 190.8 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.008, allocations: 7.906 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009951/1.009, allocations: 0.5442 MB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.009, allocations: 5.094 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.009, allocations: 3.938 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.01, allocations: 4 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/1.01, allocations: 23.92 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.01, allocations: 4 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/1.01, allocations: 123.7 kB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.01, allocations: 31.42 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.0001726/1.011, allocations: 148.2 kB / 1.024 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/1.011, allocations: 31.23 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/1.011, allocations: 15.69 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.011, allocations: 8 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.011, allocations: 3.938 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.011, allocations: 7.984 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/1.011, allocations: 279.3 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.011, allocations: 0 / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/1.011, allocations: 27.05 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.011, allocations: 0 / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/1.011, allocations: 19.16 kB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.011, allocations: 4 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.011, allocations: 0 / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005908/1.012, allocations: 473.4 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006641/1.012, allocations: 0.8297 MB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/1.012, allocations: 96.86 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.885e-05/1.013, allocations: 23.23 kB / 1.025 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/1.013, allocations: 31.53 kB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/1.013, allocations: 30.98 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/1.013, allocations: 35.02 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.834e-05/1.013, allocations: 105.7 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009954/1.014, allocations: 110.7 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.000239/1.014, allocations: 186.2 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007774/1.015, allocations: 0.6052 MB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.015, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/1.015, allocations: 195.3 kB / 1.027 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/1.015, allocations: 19.39 kB / 1.027 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/1.016, allocations: 358.7 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/1.017, allocations: 0.7511 MB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.017, allocations: 0 / 1.028 GB, free: 9.402 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)