Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_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.001179/0.001179, allocations: 109.7 kB / 16.42 MB, free: 6.48 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.001272/0.001272, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.269/1.269, 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.0.1-master/package.mo): time 2.332/2.332, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/1.924e-05, allocations: 2.281 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002416/0.002443, allocations: 1.583 MB / 1.056 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003582, allocations: 0.7129 MB / 1.057 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.003646, allocations: 0 / 1.057 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.012e-05/0.003743, allocations: 15.81 kB / 1.057 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.003806, allocations: 15.8 kB / 1.057 GB, free: 5.422 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.000402/0.004213, allocations: 107.8 kB / 1.057 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004418, allocations: 163.5 kB / 1.057 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.00456, allocations: 37.11 kB / 1.057 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.564e-05/0.004642, allocations: 47.84 kB / 1.057 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.004737, allocations: 71.67 kB / 1.057 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004765, allocations: 12 kB / 1.057 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.004883, allocations: 51.89 kB / 1.057 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001943/0.005084, allocations: 193.8 kB / 1.058 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.837e-05/0.005148, allocations: 122.1 kB / 1.058 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.00519, allocations: 19.94 kB / 1.058 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.669e-05/0.005212, allocations: 4 kB / 1.058 GB, free: 4.605 MB / 0.8262 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.0006757/0.005892, allocations: 0.5469 MB / 1.058 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 2.277e-05/0.00592, allocations: 19.94 kB / 1.058 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002091/0.006134, allocations: 232.2 kB / 1.058 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simplify1: time 2.552e-05/0.006165, allocations: 11.98 kB / 1.058 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of Alias: time 0.000139/0.006309, allocations: 105.7 kB / 1.059 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simplify2: time 1.6e-05/0.00633, allocations: 15.98 kB / 1.059 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of Events: time 0.0001498/0.006484, allocations: 87.8 kB / 1.059 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001723/0.006664, allocations: 145.5 kB / 1.059 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001282/0.0068, allocations: 122.5 kB / 1.059 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0005102/0.007317, allocations: 412.7 kB / 1.059 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0002463/0.007571, allocations: 292.5 kB / 1.06 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004145/0.007992, allocations: 422.5 kB / 1.06 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.835e-05/0.008029, allocations: 32.05 kB / 1.06 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of Cleanup: time 3.117e-05/0.008066, allocations: 27.91 kB / 1.06 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of Causalize: time 0.000546/0.008616, allocations: 456 kB / 1.06 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of Tearing: time 9.588e-06/0.008636, allocations: 4 kB / 1.06 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of Initialization: time 3.81e-07/0.00864, allocations: 0 / 1.06 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of Tearing: time 4.288e-06/0.008649, allocations: 3.938 kB / 1.06 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of Categorize: time 1.334e-05/0.008666, allocations: 4 kB / 1.061 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of Solve: time 0.000119/0.00879, allocations: 59.94 kB / 1.061 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.875e-06/0.008799, allocations: 3.938 kB / 1.061 GB, free: 1.336 MB / 0.8262 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 6.375e-05/0.008867, allocations: 24.56 kB / 1.061 GB, free: 1.32 MB / 0.8262 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.