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: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.0008859/0.000886, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.201/1.201, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/2.921e-05, allocations: 5.797 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01106/0.01109, allocations: 10.05 MB / 362 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005549/0.01668, allocations: 3.458 MB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009993/0.01771, allocations: 23.94 kB / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.02057, allocations: 1.175 MB / 366.6 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.02243, allocations: 0.6413 MB / 367.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.02387, allocations: 488.7 kB / 367.7 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.184/0.2079, allocations: 6.4 MB / 374.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.2109, allocations: 3.042 MB / 377.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.2135, allocations: 1.816 MB / 379 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.2154, allocations: 1.797 MB / 380.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.2158, allocations: 292.2 kB / 381.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.2191, allocations: 1.841 MB / 382.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003132/0.2222, allocations: 3.395 MB / 386.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001362/0.2236, allocations: 2.065 MB / 388.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.2241, allocations: 226.7 kB / 388.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002837/0.2244, allocations: 45.5 kB / 388.7 MB, free: 10.58 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: CellType Error: Internal error NBackendDAE.lowerVariable failed for redeclare parameter Modelica.Electrical.Batteries.BaseClasses.BaseStackData stack.stackData = stackData