﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4792	wrapFunctionCall does not work for array outputs	Willi Braun	Lennart Ochel	"For instance the following model has still 2 function calls:
{{{
loadString(""
model A
  function f
    input Real x;
    output Real y[2];
  algorithm
    for i in 1:2 loop
      y[i] := i+sin(x);
    end for;
  end f;
  Real x[2];
  output Real y[2];
equation
  der(x) = 2*f(x[1])+x;
  y = f(x[1]);
end A;
"");

simulate(A);
getErrorString();
}}}

Large models contain often arrays, so it would be quite a good benefit to improve the module wrapFunctionCall."	enhancement	new	high		Backend				
