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.001233/0.001233, allocations: 101.9 kB / 16.42 MB, free: 6.484 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.001183/0.001183, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 289.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9931/0.9931, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.833e-05, allocations: 4.812 kB / 0.682 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006915/0.006953, allocations: 4.365 MB / 0.6863 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4265/0.4335, allocations: 3.226 MB / 0.6894 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.4339, allocations: 10.53 kB / 0.6895 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.4357, allocations: 0.507 MB / 0.6899 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.4369, allocations: 393 kB / 0.6903 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.4377, allocations: 248 kB / 0.6906 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.4393, allocations: 1.083 MB / 0.6916 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.44, allocations: 486.3 kB / 0.6921 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.4408, allocations: 432.6 kB / 0.6925 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.4414, allocations: 377.5 kB / 0.6929 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.4415, allocations: 37.62 kB / 0.6929 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009159/0.4424, allocations: 337.1 kB / 0.6932 GB, free: 12.57 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.000788/0.4432, allocations: 0.8218 MB / 0.694 GB, free: 12.26 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004218/0.4436, allocations: 0.5528 MB / 0.6946 GB, free: 12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4438, allocations: 62.44 kB / 0.6946 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.744e-05/0.4439, allocations: 7.531 kB / 0.6946 GB, free: 11.99 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