Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 110.5 kB / 16.43 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 181.9 kB / 17.36 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.202/2.202, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.596e-05, allocations: 2.5 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001896/0.001921, allocations: 1.424 MB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.00268, allocations: 498.2 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.002726, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.146e-05/0.002794, allocations: 11.92 kB / 1.068 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.002849, allocations: 11.92 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.003484, allocations: 229.2 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003625, allocations: 111.8 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.003665, allocations: 4 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.003746, allocations: 51.83 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.003822, allocations: 39.84 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003851, allocations: 8 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.004068, allocations: 167.8 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.188e-05/0.004168, allocations: 102.9 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.685e-05/0.004201, allocations: 59.12 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.004235, allocations: 15.94 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.147e-05/0.00425, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (6) * Number of variables: 12 (12) Notification: Performance of Bindings: time 0.000448/0.004702, allocations: 399.7 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.487e-05/0.004773, allocations: 37.86 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001944/0.004975, allocations: 212 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simplify1: time 5.694e-05/0.00504, allocations: 56.34 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Alias: time 0.0003722/0.005417, allocations: 241.5 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simplify2: time 4.371e-05/0.00547, allocations: 52.61 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001199/0.005596, allocations: 115.9 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of Events: time 0.0001185/0.005721, allocations: 84.92 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001149/0.005844, allocations: 117 kB / 1.07 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003485/0.006199, allocations: 334.4 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002225/0.006429, allocations: 252.1 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of Inline: time 0.000224/0.00666, allocations: 236.2 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.843e-05/0.006685, allocations: 16.06 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.22e-05/0.006732, allocations: 51.86 kB / 1.071 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006673/0.007404, allocations: 0.5459 MB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Tearing: time 7.424e-06/0.00742, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.007425, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of Tearing: time 4.038e-06/0.007435, allocations: 8 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of Categorize: time 9.267e-06/0.007448, allocations: 3.938 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of Solve: time 9.676e-05/0.007549, allocations: 55.94 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.665e-06/0.007558, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 22 (12) {occSchDay.occupied, occSchDay.tNext, occSchWee.occupied, occSchWee.tNext, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1, $SEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.247e-05/0.007594, allocations: 33.23 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0009915/0.00859, allocations: 1.277 MB / 1.072 GB, free: 6.379 MB / 0.8419 GB [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchWee.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchWee.tNexOcc + time)). [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchDay.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchDay.tNexOcc + time)).