Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.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.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13860,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") translateModel(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=13860,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.2 kB / 16.42 MB, free: 6.055 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.001232/0.001232, allocations: 193.1 kB / 17.36 MB, free: 5.598 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.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.06686/0.06686, allocations: 7.037 MB / 277.6 MB, free: 4.949 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.192e-05, allocations: 2.844 kB / 385.9 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle): time 0.00542/0.005461, allocations: 4.641 MB / 390.5 MB, free: 44.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003824/0.009302, allocations: 2.713 MB / 393.2 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.009741, allocations: 15.78 kB / 393.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.01114, allocations: 0.6165 MB / 393.9 MB, free: 42.72 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.000584/0.01179, allocations: 220.8 kB / 394.1 MB, free: 42.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.01257, allocations: 426.8 kB / 394.5 MB, free: 42.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.01388, allocations: 1.465 MB / 396 MB, free: 41.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.01447, allocations: 0.4947 MB / 396.5 MB, free: 41.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004715/0.01495, allocations: 493.1 kB / 396.9 MB, free: 41.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.01541, allocations: 0.4924 MB / 397.4 MB, free: 40.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.01558, allocations: 127.4 kB / 397.6 MB, free: 40.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.01675, allocations: 0.7521 MB / 398.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00084/0.0176, allocations: 1.533 MB / 399.9 MB, free: 39.68 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003472/0.01795, allocations: 0.9367 MB / 400.8 MB, free: 38.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.01811, allocations: 163.4 kB / 400.9 MB, free: 38.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002179/0.01834, allocations: 51.33 kB / 401 MB, free: 38.87 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: alpha Error: Internal error NBackendDAE.lowerVariable failed for final parameter ElectricalEnergyStorage.CellRecords.Components.ChargeCapacity batteryCell.calculator.capacity = batteryCell.cellParameters.capacity