Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 253.1 MB / 260.4 MB, free: 8.449 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001608, allocations: 186.3 kB / 319.6 MB, free: 8.117 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 0.5704 GB, free: 4.289 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 106.4 kB / 0.6746 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.735e-06, allocations: 0 / 0.7843 GB, free: 106.6 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 106.3 MB / 0.888 GB, free: 232 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7172/0.9384, allocations: 132.2 MB / 1.017 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.9387, allocations: 69.5 kB / 1.017 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.02654/0.9652, allocations: 4.316 MB / 1.021 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9653, allocations: 0 / 1.021 GB, free: 9.074 MB / 0.6387 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.001919/0.9672, allocations: 0.6209 MB / 1.022 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.9673, allocations: 19.95 kB / 1.022 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.9675, allocations: 35.81 kB / 1.022 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.969, allocations: 328.9 kB / 1.022 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.9691, allocations: 15.3 kB / 1.022 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.9693, allocations: 43.42 kB / 1.022 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003997/0.9697, allocations: 101.8 kB / 1.023 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.9704, allocations: 317.1 kB / 1.023 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.9705, allocations: 0 / 1.023 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.9705, allocations: 11.36 kB / 1.023 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.9706, allocations: 4 kB / 1.023 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.9715, allocations: 453.3 kB / 1.023 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.9721, allocations: 275.9 kB / 1.024 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.9725, allocations: 142.9 kB / 1.024 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.9725, allocations: 7.984 kB / 1.024 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.9733, allocations: 321 kB / 1.024 GB, free: 6.527 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 4.178e-06/0.9733, allocations: 7.938 kB / 1.024 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001215/0.9746, allocations: 360.5 kB / 1.024 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.9747, allocations: 206.3 kB / 1.025 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.9749, allocations: 126.4 kB / 1.025 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.975, allocations: 52.38 kB / 1.025 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.9752, allocations: 95.8 kB / 1.025 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9753, allocations: 92.03 kB / 1.025 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.9754, allocations: 12 kB / 1.025 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9755, allocations: 332.6 kB / 1.025 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.9762, allocations: 196.4 kB / 1.025 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.9769, allocations: 251.7 kB / 1.026 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008497/0.9778, allocations: 195.2 kB / 1.026 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9778, allocations: 0 / 1.026 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001838/0.9797, allocations: 0.5501 MB / 1.026 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.9797, allocations: 4 kB / 1.026 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9797, allocations: 0 / 1.026 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.9798, allocations: 4 kB / 1.026 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.98, allocations: 27.36 kB / 1.026 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.9801, allocations: 8.641 kB / 1.026 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.9812, allocations: 119.7 kB / 1.027 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.9813, allocations: 34.97 kB / 1.027 GB, free: 4.234 MB / 0.6387 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.0003136/0.9816, allocations: 156.2 kB / 1.027 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.9817, allocations: 23.81 kB / 1.027 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.9818, allocations: 22.11 kB / 1.027 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9818, allocations: 4 kB / 1.027 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.9819, allocations: 0 / 1.027 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.9819, allocations: 7.984 kB / 1.027 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.9823, allocations: 281.7 kB / 1.027 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.9823, allocations: 0 / 1.027 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.9825, allocations: 23.92 kB / 1.027 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.9825, allocations: 4 kB / 1.027 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.948e-05/0.9826, allocations: 19.47 kB / 1.027 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.9826, allocations: 8 kB / 1.027 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9826, allocations: 0 / 1.027 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/0.9837, allocations: 468 kB / 1.028 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.9838, allocations: 100.8 kB / 1.028 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.984, allocations: 23.61 kB / 1.028 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.9844, allocations: 31.84 kB / 1.028 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.9845, allocations: 27.52 kB / 1.028 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.242e-05/0.9846, allocations: 34.83 kB / 1.028 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0001018/0.9847, allocations: 104.7 kB / 1.028 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007232/0.9855, allocations: 107.4 kB / 1.028 GB, free: 2.859 MB / 0.6387 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.0003664/0.9859, allocations: 181.3 kB / 1.028 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.9874, allocations: 0.6107 MB / 1.029 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.9875, allocations: 0 / 1.029 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.988, allocations: 200.5 kB / 1.029 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.9883, allocations: 15.92 kB / 1.029 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.9895, allocations: 364.7 kB / 1.029 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/0.99, allocations: 0.7557 MB / 1.03 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of SimCode: time 8.71e-07/0.99, allocations: 0 / 1.03 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of Templates: time 0.01322/1.003, allocations: 4.655 MB / 1.035 GB, free: 12.42 MB / 0.6544 GB