Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 116 kB / 16.43 MB, free: 6.473 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.001105/0.001105, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.156/1.156, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.265/2.265, allocations: 474.4 MB / 0.7477 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.462e-05, allocations: 2.281 kB / 1.073 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002409/0.002431, allocations: 2.057 MB / 1.075 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003949/0.006392, allocations: 4.054 MB / 1.079 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.00647, allocations: 4 kB / 1.079 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.007085, allocations: 199.1 kB / 1.079 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/0.007191, allocations: 67.44 kB / 1.079 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.007705, allocations: 257.1 kB / 1.079 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.008173, allocations: 374.9 kB / 1.079 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.008275, allocations: 29.61 kB / 1.079 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.008403, allocations: 111.5 kB / 1.08 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.008537, allocations: 119.5 kB / 1.08 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.3921/0.4006, allocations: 11.08 kB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.4017, allocations: 0.5499 MB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002366/0.402, allocations: 363.8 kB / 1.081 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.36e-05/0.4021, allocations: 232.9 kB / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.647e-05/0.4021, allocations: 26.16 kB / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.711e-05/0.4022, allocations: 8.406 kB / 1.081 GB, free: 11.13 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: 19 (17) * Number of variables: 19 (15) Notification: Performance of Bindings: time 0.0007053/0.4029, allocations: 0.9418 MB / 1.082 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001467/0.403, allocations: 107.4 kB / 1.082 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003662/0.4034, allocations: 431.8 kB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplify1: time 5.484e-05/0.4035, allocations: 81.81 kB / 1.082 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of Alias: time 0.0003829/0.4039, allocations: 334.6 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simplify2: time 5.024e-05/0.4039, allocations: 77.56 kB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Detect States: time 9.89e-05/0.404, allocations: 99.72 kB / 1.083 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Events: time 0.0001441/0.4042, allocations: 125.6 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001186/0.4043, allocations: 116.8 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005531/0.4049, allocations: 0.4931 MB / 1.083 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003155/0.4052, allocations: 398.3 kB / 1.084 GB, free: 9.934 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:594:7-597:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto per. Result: per with leftover: {$i1}. Error: Internal error NBInitialization.main failed to apply modules!