Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_5_0_1_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.433/4.433, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3189/4.752, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/5.309, allocations: 92.7 MB / 0.5846 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.065/11.37, allocations: 2.19 GB / 2.775 GB, free: 25.19 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004777/11.37, allocations: 95.2 kB / 2.775 GB, free: 25.14 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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] [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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;. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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] [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.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.BaseClasses.Examples.AbsorbedRadiationElectrochromic Error: Internal error SimCode: The model Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic could not be translated to FMU