Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 101.6 kB / 16.42 MB, free: 6.52 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.001052/0.001052, allocations: 186 kB / 17.35 MB, free: 5.73 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.13/1.13, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 304.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8156/0.8156, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.707e-05, allocations: 2.281 kB / 0.682 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004831/0.004856, allocations: 4.372 MB / 0.6863 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2203/0.2252, allocations: 3.227 MB / 0.6894 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.2255, allocations: 13.98 kB / 0.6895 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.2267, allocations: 0.501 MB / 0.6899 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007838/0.2275, allocations: 387.2 kB / 0.6903 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.2279, allocations: 248.3 kB / 0.6906 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009426/0.2289, allocations: 1.08 MB / 0.6916 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.2294, allocations: 487.2 kB / 0.6921 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.2299, allocations: 440.4 kB / 0.6925 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.2303, allocations: 369.6 kB / 0.6928 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.2304, allocations: 37.78 kB / 0.6929 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.2308, allocations: 346.1 kB / 0.6932 GB, free: 12.6 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0005274/0.2314, allocations: 0.8219 MB / 0.694 GB, free: 12.28 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002919/0.2317, allocations: 0.5448 MB / 0.6945 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.2318, allocations: 69.75 kB / 0.6946 GB, free: 12.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.161e-05/0.2318, allocations: 6.969 kB / 0.6946 GB, free: 12.01 MB / 494.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: material Error: Internal error NBackendDAE.lowerVariable failed for redeclare parameter BuildingSystems.Electrical.Transmission.Grids.TestGrid2Nodes network.grid