﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3527	wrong blt, becasue inlining of functions fail for more then one output	Vitalij Ruge	somebody	"{{{#!modelica
package inlineTest
  model A
    function f2
      input Real x1;
      input Real x2;
      output Real y1;
      output Real y2;
    algorithm
      y1 := cos(x1 + x2);
      y2 := sin(x1);
      annotation(Inline = true);
    end f2;

    Real x, z, y;
  equation
    (x, z) = f2(x, y);
    z = sin(time * x);
  end A;

  model B
    Real x, z, y;
  equation
    x = cos(x + y);
    z = sin(x);
    z = sin(time * x);
  end B;
end inlineTest;
}}}

In model {{{B}}} I try to inline f2.
The result for {{{A}}}: x,y,z are part of a loop.
The result for {{{B}}}: x,z are part of a loop.
"	defect	closed	critical	1.9.4	Frontend		fixed		Willi Braun Adrian Pop Martin Sjölund
