Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack.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) 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: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109 kB / 16.51 MB, free: 6.707 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.001248/0.001248, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 47.17 kB / 300.1 MB, free: 6.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1079, allocations: 49.45 MB / 349.5 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01181/0.1197, allocations: 9.954 MB / 359.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005502/0.1252, allocations: 3.4 MB / 362.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1264, allocations: 23.88 kB / 362.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.1293, allocations: 1.102 MB / 364 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.131, allocations: 0.5873 MB / 364.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1323, allocations: 442.7 kB / 365 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2082/0.3405, allocations: 6.976 MB / 372 MB, free: 14.18 MB / 302.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 Modelica.Electrical.Batteries.Interfaces.CellBus Notification: Performance of FrontEnd: time 0.006085/0.3466, allocations: 3.767 MB / 375.7 MB, free: 13.26 MB / 302.1 MB