﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5991	NF cannot evaluate structural parameter during NFTyping.typeComponents	Francesco Casella	Per Östlund	"There are over 50 models in the Buildings library that fail for the same reason, see, e.g., [https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.err Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange]. The NF reports 
{{{
[Buildings latest/HeatTransfer/Data/OpaqueConstructions.mo:9:4-11:111:writable]
Error: Could not evaluate structural parameter (or constant): 
irRadExc.datConExt.layers.nLay which gives dimensions of array: material.
Array dimensions must be known at compile time.
}}}
There are many other models with the same issue, e.g. [https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.Examples.ScalableBenchmarks.BuildingVAV.Examples.OneFloor_OneZone.err Buildings.Examples.ScalableBenchmarks.BuildingVAV.Examples.OneFloor_OneZone]. The NF fails with
{{{
Error: Internal error 
Instantiation of Buildings.Examples.ScalableBenchmarks.BuildingVAV.Examples.OneFloor_OneZone
failed with no error message.
}}}
This issue affects a large number of models in the Buildings libraries, e.g. 
https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.err
https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.ElectroChromicWindow.err
https://libraries.openmodelica.org/branches/master/Buildings_latest/files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.err
Fixing this issue would improve the coverage of Buildings substantially."	defect	closed	blocker	1.18.0	New Instantiation		fixed		Andrea Bartolini Michael Wetter
