﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1023	reinit(variable, function_call) does not generate complete code!	Adrian Pop	Adrian Pop	"This model flattens but the generated code is not complete (missing ExternalFunc1 in ExternalLibraries1.cpp) so it doesn't compile into an executable!
{{{
function ExternalFunc1
  output Real y;
  external y=ExternalFunc1_ext()
  annotation(Library=""libExternalFunc1_ext.o"",
             Include=""#include\""ExternalFunc1_ext.h\""""); 
end ExternalFunc1;

model ExternalLibraries1
  Real x(start=1.0);
equation
  x = -5*der(x);
  when sample(0, 0.05) then
    reinit(x, ExternalFunc1());
  end when;
end ExternalLibraries1;}}}"	defect	closed	high				fixed		Adrian Pop Adrian Pop
