Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_10_Buildings.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.001123/0.001123, allocations: 110.1 kB / 16.41 MB, free: 5.918 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.001107/0.001107, allocations: 188.6 kB / 17.35 MB, free: 5.555 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.158/1.158, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.096/2.096, allocations: 437 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.672e-05, allocations: 4.391 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005046/0.005071, allocations: 4.397 MB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.00914, allocations: 3.253 MB / 1.027 GB, free: 1.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.00932, allocations: 19.88 kB / 1.027 GB, free: 1.801 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.01058, allocations: 0.5062 MB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.01132, allocations: 394.5 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.01179, allocations: 247.9 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009863/0.01279, allocations: 1.084 MB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.01333, allocations: 488.2 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.01382, allocations: 442.9 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.01421, allocations: 371 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.01428, allocations: 44 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.01477, allocations: 351.3 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.0005778/0.01536, allocations: 0.8134 MB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0003614/0.01573, allocations: 0.5529 MB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.01581, allocations: 63.81 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.246e-05/0.01587, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB [/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 Buildings.Electrical.Transmission.Grids.TestGrid2Nodes network.grid