Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ElectricalEnergyStorage.Examples.SimpleStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling") translateModel(ElectricalEnergyStorage.Examples.SimpleStackCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleStackCycling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001793/0.001793, allocations: 186.2 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.07885/0.07885, allocations: 7.034 MB / 23.77 MB, free: 4.297 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.481/1.481, allocations: 194.2 MB / 220.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001898/0.001898, allocations: 128 kB / 266 MB, free: 4.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 321.9 MB, free: 35.79 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08044/0.08168, allocations: 45.05 MB / 366.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleStackCycling): time 0.01027/0.09199, allocations: 7.136 MB / 374 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.09822, allocations: 3.647 MB / 377.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.09977, allocations: 31.94 kB / 377.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008239/0.108, allocations: 7.143 MB / 384.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.1171, allocations: 6.777 MB / 391.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.1193, allocations: 0.6049 MB / 392.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00841/0.1278, allocations: 4.894 MB / 397.1 MB, free: 8.395 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFType.mo:1112:13-1113:80:writable] Error: Internal error NFType.subscript got unsubscriptable type ElectricalEnergyStorage.Interfaces.SingleCellBus.Bus Notification: Performance of FrontEnd: time 0.002155/0.13, allocations: 1.067 MB / 398.2 MB, free: 7.281 MB / 298.7 MB