Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 105.9 kB / 16.42 MB, free: 6.531 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.001128/0.001128, allocations: 186 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.123/1.123, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.176/2.176, allocations: 472.6 MB / 0.7459 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.487e-06/9.487e-06, allocations: 4.25 kB / 1.07 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002186/0.002203, allocations: 1.864 MB / 1.072 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.005598, allocations: 3.536 MB / 1.075 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.005688, allocations: 0 / 1.075 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.006293, allocations: 182.1 kB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.006468, allocations: 71.53 kB / 1.076 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.821e-05/0.006542, allocations: 35.89 kB / 1.076 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.006932, allocations: 275.2 kB / 1.076 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.007026, allocations: 33.08 kB / 1.076 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.00714, allocations: 79.7 kB / 1.076 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.007265, allocations: 79.62 kB / 1.076 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.007293, allocations: 4 kB / 1.076 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.007706, allocations: 287.5 kB / 1.076 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001745/0.00789, allocations: 257.3 kB / 1.077 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.173e-05/0.007977, allocations: 161.7 kB / 1.077 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.008018, allocations: 19.94 kB / 1.077 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.454e-05/0.008038, allocations: 4 kB / 1.077 GB, free: 2.758 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: 17 (11) * Number of variables: 17 (9) Notification: Performance of Bindings: time 0.0006962/0.008739, allocations: 0.815 MB / 1.078 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001083/0.008852, allocations: 83.69 kB / 1.078 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003159/0.009175, allocations: 384 kB / 1.078 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of simplify1: time 2.268e-05/0.009205, allocations: 23.97 kB / 1.078 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of Alias: time 0.0003187/0.009529, allocations: 257.8 kB / 1.078 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of simplify2: time 2.045e-05/0.009557, allocations: 23.97 kB / 1.078 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001723/0.009734, allocations: 84.14 kB / 1.078 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of Events: time 9.318e-05/0.009833, allocations: 67.86 kB / 1.078 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001082/0.009947, allocations: 108.1 kB / 1.079 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005326/0.01049, allocations: 0.5104 MB / 1.079 GB, free: 220 kB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.3677/0.3782, allocations: 368.8 kB / 1.079 GB, free: 12.98 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:584:7-587: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!