﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5002	Issue with empty arrays and iterators in the NF	Francesco Casella	Per Östlund	"Please check the [https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.err Modelica.Fluid.Examples.Tanks.EmptyTanks] model. One more variable than equations is reported.

Inspection of the flattened models shows:
{{{
tank1.ports_mC_flow[1,:] = array(actualStream(tank1.ports[1].C_outflow[$i1]) for $i1 in 1:0) *
      tank1.ports[1].m_flow ""Trace substance mass flow"";
}}}
which shouldn't be there in the first place. It also shows
{{{
der(tank1.mC_scaled) = tank1.mbC_flow / {};
}}}
which shouldn't obviously be there - BTW, there is (correctly) no declaration of {{{tank1.mC_scaled}}} in the flattened model."	defect	closed	high	2.0.0	New Instantiation		fixed		
