Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001418, allocations: 175.2 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.411/2.411, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009133/0.0009129, allocations: 92.41 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 15.11 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2119, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.252, allocations: 199.9 MB / 1.095 GB, free: 54.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005059/1.253, allocations: 105.2 kB / 1.095 GB, free: 54.21 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/AC/ThreePhasesBalanced/Lines/Network.mo:8:15-9:95:writable] Error: Type mismatch in binding commercialCable = {Buildings.Electrical.Transmission.LowVoltageCables.Generic(Buildings.Electrical.Transmission.Types.Material.Cu, 130.0, 298.15, 507.65, 0.000517, 7.4e-05)}, expected subtype of record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;, got type record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;[1]. Error: Error occurred while flattening model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid Notification: Performance of FrontEnd: time 0.03781/1.291, allocations: 8.07 MB / 1.103 GB, free: 53.25 MB / 0.698 GB