function numReceivedMessages extends Modelica.Icons.Function; input Integer id; output Integer count; end numReceivedMessages;