Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_Detailed_Examples_ElectroChromicWindow",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.17/4.17, allocations: 403.9 MB / 410.9 MB, free: 4.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3002/4.47, allocations: 95.01 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/5.027, allocations: 92.67 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.561/11.59, allocations: 2.334 GB / 2.918 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/11.59, allocations: 85.23 kB / 2.919 GB, free: 187.9 MB / 0.7761 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.ThermalZones.Detailed.Examples.ElectroChromicWindow Error: Internal error SimCode: The model Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow could not be translated to FMU