Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.518/2.518, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001756/0.001756, allocations: 177.3 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002745/0.002745, allocations: 90.56 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5151/0.5179, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.7476, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7297/1.477, allocations: 132.3 MB / 1.013 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.478, allocations: 72.27 kB / 1.013 GB, free: 7.887 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.02759/1.505, allocations: 4.944 MB / 1.018 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.505, allocations: 8 kB / 1.018 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/1.506, allocations: 35.81 kB / 1.018 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.507, allocations: 336.4 kB / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/1.507, allocations: 15.23 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/1.508, allocations: 42.73 kB / 1.018 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004274/1.508, allocations: 96.14 kB / 1.018 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/1.509, allocations: 326.5 kB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.509, allocations: 0 / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/1.509, allocations: 7.984 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/1.509, allocations: 4 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/1.51, allocations: 462.9 kB / 1.019 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/1.511, allocations: 270.7 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/1.512, allocations: 146.1 kB / 1.019 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/1.512, allocations: 7.312 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/1.513, allocations: 316.4 kB / 1.02 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=36): time 1.177e-05/1.513, allocations: 0 / 1.02 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36): time 0.002198/1.515, allocations: 365.7 kB / 1.02 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/1.516, allocations: 207.2 kB / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/1.516, allocations: 130.8 kB / 1.02 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/1.516, allocations: 44.89 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/1.516, allocations: 99.8 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/1.517, allocations: 86.69 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.517, allocations: 12 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002739/1.517, allocations: 332.8 kB / 1.021 GB, free: 436 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.519, allocations: 201.8 kB / 1.021 GB, free: 292 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/1.52, allocations: 245.7 kB / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/1.521, allocations: 197.6 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/1.521, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003149/1.525, allocations: 0.5508 MB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.525, allocations: 6.969 kB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.525, allocations: 7.984 kB / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/1.525, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/1.525, allocations: 23.92 kB / 1.022 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/1.525, allocations: 7.938 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/1.527, allocations: 119.7 kB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.527, allocations: 30.42 kB / 1.022 GB, free: 15.34 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.0004236/1.527, allocations: 152 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/1.528, allocations: 27.8 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/1.528, allocations: 15.5 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.528, allocations: 4 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.528, allocations: 7.984 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.528, allocations: 4 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/1.528, allocations: 286.8 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.528, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/1.529, allocations: 19.98 kB / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/1.529, allocations: 7.938 kB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.529, allocations: 19.33 kB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-05/1.529, allocations: 7.938 kB / 1.023 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.529, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002309/1.531, allocations: 469.6 kB / 1.023 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001253/1.533, allocations: 0.8324 MB / 1.024 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-05/1.533, allocations: 96.86 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.533, allocations: 25.36 kB / 1.024 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/1.534, allocations: 35.95 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.534, allocations: 30.42 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/1.534, allocations: 33.91 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001113/1.534, allocations: 98.08 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001614/1.536, allocations: 113.7 kB / 1.024 GB, free: 13.14 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.0004874/1.536, allocations: 184.2 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.538, allocations: 0.5993 MB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.538, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/1.538, allocations: 203 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/1.539, allocations: 17.33 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/1.54, allocations: 364.7 kB / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/1.54, allocations: 0.7512 MB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.54, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB