﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5233	Double input prefix not accepted by the NF	Francesco Casella	Per Östlund	"Please consider the following test model:
{{{
package TestInput
connector InputConnector = Modelica.Blocks.Interfaces.RealInput;

model M
  input InputConnector c;
end M;

end TestInput;
}}}

When checking with the old front-end, {{{TestInput.M}}} passes the check. With the new FE, instead, the following error is reported:
{{{
OMCompiler/build/lib/omlibrary/BuildingSystems 2.0.0-beta/Buildings/Zones/ZoneTemplateAirvolumeMixed.mo:117:3-120:73:writable]
Error: Invalid type prefix 'input' on component airchange, 
due to existing type prefix 'input'.
}}}

Is this constraint explicitly mentioned in specification?

This  issue affects  a large portion of the [https://libraries.openmodelica.org/branches/newInst/BuildingSystems/BuildingSystems.html BuildingSystems] library, see, e.g., [https://libraries.openmodelica.org/branches/newInst/BuildingSystems/files/BuildingSystems_BuildingSystems.Buildings.Constructions.Examples.Window.err BuildingSystems.Buildings.Constructions.Examples.Window]"	defect	closed	high	2.0.0	New Instantiation		fixed		
