Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent.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.AdvancedCellPulseCurrent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28200,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent") translateModel(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28200,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 104.2 kB / 16.42 MB, free: 6.465 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.001221/0.001221, allocations: 192.3 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.06511/0.06511, allocations: 7.038 MB / 277.6 MB, free: 4.949 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/2.939e-05, allocations: 2.844 kB / 385.9 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent): time 0.007243/0.007281, allocations: 6.785 MB / 392.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005784/0.01309, allocations: 4.531 MB / 397.2 MB, free: 40.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.01411, allocations: 38 kB / 397.2 MB, free: 40 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.01627, allocations: 1.008 MB / 398.3 MB, free: 39.58 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009465/0.01723, allocations: 357.1 kB / 398.6 MB, free: 39.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.01825, allocations: 0.6849 MB / 399.3 MB, free: 38.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.0221, allocations: 4.247 MB / 403.5 MB, free: 36.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.02346, allocations: 1.225 MB / 404.8 MB, free: 36.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.02473, allocations: 1.028 MB / 405.8 MB, free: 35.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.02559, allocations: 1.074 MB / 406.9 MB, free: 34.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.02584, allocations: 235.5 kB / 407.1 MB, free: 34.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.02755, allocations: 1.013 MB / 408.1 MB, free: 34.7 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001709/0.02927, allocations: 2.988 MB / 411.1 MB, free: 32.22 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006878/0.02996, allocations: 1.943 MB / 413 MB, free: 30.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.03024, allocations: 287.2 kB / 413.3 MB, free: 29.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003867/0.03063, allocations: 75.5 kB / 413.4 MB, free: 29.89 MB / 318.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: kt Error: Internal error NBackendDAE.lowerVariable failed for final parameter ElectricalEnergyStorage.CellRecords.Components.Selfdischarge batteryCell.selfDischarge.Isd = batteryCell.cellParameters.Isd