Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [: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.286/2.286, allocations: 253.1 MB / 260.4 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.001669, allocations: 185.2 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001784, allocations: 97.98 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.091e-05/1.108e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6648/0.8823, allocations: 132.3 MB / 1.017 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.8826, allocations: 70.83 kB / 1.017 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01718/0.8998, allocations: 2.966 MB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.8999, allocations: 0 / 1.02 GB, free: 3.539 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00136/0.9012, allocations: 0.5366 MB / 1.021 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9013, allocations: 8.031 kB / 1.021 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.9015, allocations: 31.8 kB / 1.021 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.9025, allocations: 285.5 kB / 1.021 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.9026, allocations: 11.3 kB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.9027, allocations: 31.89 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000292/0.903, allocations: 80.78 kB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.9036, allocations: 237.5 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9036, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.9036, allocations: 10.94 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.9037, allocations: 3.984 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.9043, allocations: 338.8 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.9047, allocations: 227.5 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.905, allocations: 104.2 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.9051, allocations: 4.188 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.9056, allocations: 240.2 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 2.244e-06/0.9056, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.0008456/0.9065, allocations: 284 kB / 1.023 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.9066, allocations: 154.3 kB / 1.023 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.9067, allocations: 135.7 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.9068, allocations: 40.58 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.9069, allocations: 95.19 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.9071, allocations: 59.52 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.9071, allocations: 8 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9073, allocations: 331.6 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.9078, allocations: 162.6 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.9083, allocations: 204 kB / 1.024 GB, free: 144 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.9089, allocations: 145.3 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.9089, allocations: 0 / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00128/0.9102, allocations: 438 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.9102, allocations: 8 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9102, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.9103, allocations: 3.938 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.9105, allocations: 19.92 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.9105, allocations: 4 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.9112, allocations: 82.98 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/0.9113, allocations: 18.44 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000237/0.9116, allocations: 134.7 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.9116, allocations: 19.8 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.9117, allocations: 15.5 kB / 1.025 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.9117, allocations: 4 kB / 1.025 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9117, allocations: 0 / 1.025 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.9118, allocations: 7.984 kB / 1.025 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.9121, allocations: 230.8 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.9121, allocations: 4 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.9122, allocations: 15.92 kB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.9123, allocations: 3.984 kB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-05/0.9123, allocations: 27.75 kB / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.9123, allocations: 0 / 1.025 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9124, allocations: 3.938 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007617/0.9131, allocations: 354.8 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.9132, allocations: 88.92 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.9133, allocations: 22.11 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.9137, allocations: 11.98 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.9138, allocations: 26.81 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.9138, allocations: 23.22 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001252/0.914, allocations: 117.4 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005965/0.9146, allocations: 79.8 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002989/0.9149, allocations: 138.3 kB / 1.026 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.916, allocations: 456.1 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9161, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.9164, allocations: 141.5 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.9167, allocations: 19.92 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9178, allocations: 308.7 kB / 1.027 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.9183, allocations: 0.7313 MB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/0.9183, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.01051/0.9288, allocations: 3.16 MB / 1.03 GB, free: 9.684 MB / 0.6511 GB