﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5020	Issue with NFInst.instantiate	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/ThermoPower/files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.err ThermoPower.Test.WaterComponents.WaterPump]. The NFInst.instantiate module fails immediately with
{{{
[ThermoPower 3.1/Water.mo:4340:5-4341:71:writable] Error:
Expected Pump to be a class, but found component instead.
}}}
I find this quite weird; the offending code is:
{{{
model PumpNPSH
  extends Pump(redeclare replaceable package Medium = StandardWater
        constrainedby Modelica.Media.Interfaces.PartialTwoPhaseMedium);
}}}
and the {{{Pump}}} model definition immediately preceds the {{{PumpNPSH}}} definition inside the {{{Water}}} package - why is it interpreted as a component and not as a class?"	defect	closed	high	Future	New Instantiation		fixed		
