Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.439/2.439, allocations: 248.6 MB / 255.9 MB, free: 7.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001754, allocations: 185.2 kB / 315.1 MB, free: 4.281 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.091/2.091, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 79.36 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5071/0.5084, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.7312, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.134/6.865, allocations: 2.243 GB / 3.126 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/6.865, allocations: 98.61 kB / 3.126 GB, free: 123.6 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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 Error: Internal error SimCode: The model Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow could not be translated to FMU