﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1345	Wrong code generation when more than one external objects are defined	Adrian Pop	Adrian Pop	"This is a bug in code generation for external object interface reported by Thomas Kaden (thomas DOT kaden AT tu-dresden DOT de). His email is below.\\
\\\
I am using OpenModelica with external objects / function interface.
External functions work very well.\\
\\
It works well if I create one instance of an external object (creating a matrix of 512 by 512 element).\\
If I create two or more instances, the simulation fails.\\
\\
I assume it could be a bug in assigning adresses as I could see in the .cpp code of the simulation model:\\
{{{
    #define $mymatrix2 localData->extObjs[0]
    #define $mymatrix localData->extObjs[0]
}}}
\\
Any Idea if or how that can be fixed?\\
If you need further information or files please let me know.\\"	defect	closed	high		Simulation Code Generation		fixed		Adrian Pop Adrian Pop Jens Frenkel Willi Braun
