Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uWin.y|window.glaUns.glass_a.T|window.glaUns.glass_b.T|extCon.radOut.TRad",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 189 kB / 498.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 0.7948 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008612, allocations: 97.8 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005485, allocations: 9.375 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.648/4.968, allocations: 1.785 GB / 3.007 GB, free: 160.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/4.968, allocations: 102 kB / 3.008 GB, free: 160.5 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/HeatTransfer/Data/GlazingSystems.mo:91:13-100:36:writable] Error: Type mismatch for named argument in Buildings.HeatTransfer.Data.Glasses.Generic(tauSol={0.775, 0.775}). The argument has type: Real[2] expected type: Real[1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/HeatTransfer/Data/GlazingSystems.mo:91:13-100:36:writable] Error: Type mismatch in array expression in component glaSys. Buildings.HeatTransfer.Data.Glasses.Generic(0.006, 0.9, {0.775, 0.775}, {0.07099999999999999, 0.07099999999999999}, {0.07099999999999999, 0.07099999999999999}, 0.0, 0.84, 0.84) is of type record Buildings.HeatTransfer.Data.Glasses.Electrochromic Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "TransmissionCoefficient", unit = "1")[2] tauSol; Real(quantity = "ReflectionCoefficient", unit = "1")[2] rhoSol_a; Real(quantity = "ReflectionCoefficient", unit = "1")[2] rhoSol_b; Real(quantity = "TransmissionCoefficient", unit = "1") tauIR; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; end Buildings.HeatTransfer.Data.Glasses.Electrochromic; while the elements [Buildings.HeatTransfer.Data.Glasses.Electrochromic(0.006, 0.9, {0.8139999999999999, 0.111}, {0.08599999999999999, 0.179}, {0.08599999999999999, 0.179}, 0.0, 0.84, 0.84),Buildings.HeatTransfer.Data.Glasses.Generic(0.006, 0.9, {0.775, 0.775}, {0.07099999999999999, 0.07099999999999999}, {0.07099999999999999, 0.07099999999999999}, 0.0, 0.84, 0.84)] are of type record Buildings.HeatTransfer.Data.Glasses.Generic Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "TransmissionCoefficient", unit = "1")[1] tauSol; Real(quantity = "ReflectionCoefficient", unit = "1")[1] rhoSol_a; Real(quantity = "ReflectionCoefficient", unit = "1")[1] rhoSol_b; Real(quantity = "TransmissionCoefficient", unit = "1") tauIR; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; end Buildings.HeatTransfer.Data.Glasses.Generic;. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/HeatTransfer/Data/GlazingSystems.mo:91:13-100:36:writable] Error: Type mismatch for named argument in Buildings.HeatTransfer.Data.Glasses.Generic(tauSol={0.775, 0.775}). The argument has type: Real[2] expected type: Real[1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/HeatTransfer/Data/GlazingSystems.mo:91:13-100:36:writable] Error: Type mismatch in array expression in component glaSys. Buildings.HeatTransfer.Data.Glasses.Generic(0.006, 0.9, {0.775, 0.775}, {0.07099999999999999, 0.07099999999999999}, {0.07099999999999999, 0.07099999999999999}, 0.0, 0.84, 0.84) is of type record Buildings.HeatTransfer.Data.Glasses.Electrochromic Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "TransmissionCoefficient", unit = "1")[2] tauSol; Real(quantity = "ReflectionCoefficient", unit = "1")[2] rhoSol_a; Real(quantity = "ReflectionCoefficient", unit = "1")[2] rhoSol_b; Real(quantity = "TransmissionCoefficient", unit = "1") tauIR; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; end Buildings.HeatTransfer.Data.Glasses.Electrochromic; while the elements [Buildings.HeatTransfer.Data.Glasses.Electrochromic(0.006, 0.9, {0.8139999999999999, 0.111}, {0.08599999999999999, 0.179}, {0.08599999999999999, 0.179}, 0.0, 0.84, 0.84),Buildings.HeatTransfer.Data.Glasses.Generic(0.006, 0.9, {0.775, 0.775}, {0.07099999999999999, 0.07099999999999999}, {0.07099999999999999, 0.07099999999999999}, 0.0, 0.84, 0.84)] are of type record Buildings.HeatTransfer.Data.Glasses.Generic Real(quantity = "Length", unit = "m") x; Real(quantity = "ThermalConductivity", unit = "W/(m.K)") k; Real(quantity = "TransmissionCoefficient", unit = "1")[1] tauSol; Real(quantity = "ReflectionCoefficient", unit = "1")[1] rhoSol_a; Real(quantity = "ReflectionCoefficient", unit = "1")[1] rhoSol_b; Real(quantity = "TransmissionCoefficient", unit = "1") tauIR; Real(quantity = "Emissivity", unit = "1") absIR_a; Real(quantity = "Emissivity", unit = "1") absIR_b; end Buildings.HeatTransfer.Data.Glasses.Generic;. Error: Error occurred while flattening model Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow Notification: Performance of FrontEnd: time 0.0101/4.978, allocations: 4.325 MB / 3.012 GB, free: 156.8 MB / 1.167 GB