Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellCycling.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.AdvancedCellCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellCycling") translateModel(ElectricalEnergyStorage.Examples.AdvancedCellCycling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellCycling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001309/0.001309, allocations: 185.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.05623/0.05623, allocations: 7.033 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.554/1.554, allocations: 194.2 MB / 220.2 MB, free: 2.48 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.001895/0.001895, allocations: 135.9 kB / 266 MB, free: 4.562 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.89 kB / 321.9 MB, free: 35.79 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08337, allocations: 45.05 MB / 366.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedCellCycling): time 0.01155/0.09497, allocations: 9.481 MB / 376.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008339/0.1033, allocations: 4.985 MB / 381.4 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.105, allocations: 39.94 kB / 381.4 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.1074, allocations: 0.9409 MB / 382.4 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.1088, allocations: 393.3 kB / 382.7 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1102, allocations: 0.8627 MB / 383.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.1131, allocations: 3.007 MB / 386.6 MB, free: 2.926 MB / 282.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.002091/0.1152, allocations: 1.841 MB / 388.5 MB, free: 1.027 MB / 282.7 MB