Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001082/0.001082, allocations: 189.9 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.197/1.197, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.465e-05, allocations: 5.938 kB / 0.7263 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002114/0.002137, allocations: 1.584 MB / 0.7279 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.003296, allocations: 0.7461 MB / 0.7286 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.003353, allocations: 4 kB / 0.7286 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.003451, allocations: 15.8 kB / 0.7286 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.00351, allocations: 19.8 kB / 0.7287 GB, free: 2.379 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.IO.Files.BaseClasses.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.003887, allocations: 111.7 kB / 0.7288 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004085, allocations: 151.6 kB / 0.7289 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.00422, allocations: 33.11 kB / 0.7289 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.004303, allocations: 59.77 kB / 0.729 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.004389, allocations: 63.69 kB / 0.7291 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004416, allocations: 15.94 kB / 0.7291 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.004521, allocations: 51.95 kB / 0.7291 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.000154/0.004683, allocations: 189.8 kB / 0.7293 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 7.151e-05/0.00476, allocations: 130.1 kB / 0.7294 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.004793, allocations: 15.94 kB / 0.7294 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.067e-05/0.004808, allocations: 0 / 0.7294 GB, free: 1.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (11) Notification: Performance of Bindings: time 0.0004984/0.005312, allocations: 0.5468 MB / 0.73 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 3.306e-05/0.005352, allocations: 27.94 kB / 0.73 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.000211/0.005568, allocations: 232.2 kB / 0.7302 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simplify1: time 1.922e-05/0.005593, allocations: 11.98 kB / 0.7302 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of Alias: time 9.907e-05/0.005696, allocations: 109.6 kB / 0.7303 GB, free: 492 kB / 0.5606 GB Notification: Performance of simplify2: time 1.193e-05/0.005713, allocations: 15.98 kB / 0.7304 GB, free: 476 kB / 0.5606 GB Notification: Performance of Events: time 0.0001334/0.005851, allocations: 91.75 kB / 0.7304 GB, free: 384 kB / 0.5606 GB Notification: Performance of Detect States: time 0.0001634/0.006021, allocations: 133.7 kB / 0.7306 GB, free: 236 kB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001264/0.006156, allocations: 120.5 kB / 0.7307 GB, free: 84 kB / 0.5606 GB Notification: Performance of Causalize: time 0.0006133/0.006776, allocations: 0.5571 MB / 0.7312 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0002361/0.007021, allocations: 296.5 kB / 0.7315 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of Inline: time 0.0003996/0.007427, allocations: 437.2 kB / 0.7319 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of Partitioning: time 2.617e-05/0.007461, allocations: 24.12 kB / 0.732 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of Cleanup: time 2.004e-05/0.007488, allocations: 19.98 kB / 0.732 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Causalize: time 0.0005366/0.008029, allocations: 0.5941 MB / 0.7326 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of Tearing: time 6.372e-06/0.008044, allocations: 3.938 kB / 0.7326 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of Initialization: time 2.81e-07/0.008049, allocations: 0 / 0.7326 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of Tearing: time 1.052e-06/0.008054, allocations: 0 / 0.7326 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of Categorize: time 8.806e-06/0.008068, allocations: 8 kB / 0.7326 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of Solve: time 9.894e-05/0.008171, allocations: 63.91 kB / 0.7326 GB, free: 14 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.725e-06/0.008181, allocations: 3.938 kB / 0.7326 GB, free: 14 MB / 0.5762 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: ......... 4 * 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: .................... 3 (3) {pri3.firstTrigger, pri2.firstTrigger, pri1.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {pri1.sampleTrigger, pri2.sampleTrigger, pri3.sampleTrigger, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.785e-05/0.008223, allocations: 25.91 kB / 0.7327 GB, free: 13.98 MB / 0.5762 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/2_Pre/NBEvents.mo:675:7-675:120:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist.