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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.001701, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002023, allocations: 191.2 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.09551/0.09551, allocations: 7.034 MB / 277 MB, free: 14.47 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 60.14 kB / 335.8 MB, free: 27.56 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1844, allocations: 48.1 MB / 383.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleStackCycling): time 0.01406/0.1986, allocations: 7.157 MB / 391.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2094, allocations: 3.736 MB / 394.8 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.2135, allocations: 27.94 kB / 394.9 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01487/0.2285, allocations: 7.162 MB / 402 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.2427, allocations: 6.808 MB / 408.8 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.2471, allocations: 0.7259 MB / 409.6 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.2603, allocations: 4.885 MB / 414.4 MB, free: 12.79 MB / 318.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.003747/0.2641, allocations: 1.071 MB / 415.5 MB, free: 11.68 MB / 318.1 MB