﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5362	modelDescription doesn't include <SourceFile>	trista.arinomo@…	Martin Sjölund	"Hallo,

according to FMI documentation page 66


{{{
sources // Optional directory containing all C sources
// all needed C sources and C header files to compile and link the FMU
// with exception of: fmi2TypesPlatform.h , fmi2FunctionTypes.h and fmi2Functions.h
// The files to be compiled (but not the files included from these files)
// have to be reported in the xml-file under the structure
// <ModelExchange><SourceFiles> … and <CoSimulation><SourceFiles>
}}}

but it is not provided in the modelDescription insde the FMU exported from OMEdit v1.13.2. And the end tag {{{</CoSimulation>}}} is also missing


{{{
<?xml version=""1.0"" encoding=""UTF-8""?>

-<fmiModelDescription numberOfEventIndicators=""0"" variableNamingConvention=""structured"" generationDateAndTime=""2019-02-26T07:43:04Z"" generationTool=""OpenModelica Compiler v1.13.2 (64-bit)"" description="""" guid=""{e8eb85b7-5291-4892-9cde-7168d3112151}"" modelName=""Beispiel"" fmiVersion=""2.0"">

<ModelExchange modelIdentifier=""Beispiel""> </ModelExchange>

<CoSimulation modelIdentifier=""Beispiel"" canSerializeFMUstate=""false"" canGetAndSetFMUstate=""false"" canNotUseMemoryManagementFunctions=""false"" canBeInstantiatedOnlyOncePerProcess=""false"" canRunAsynchronuously=""false"" maxOutputDerivativeOrder=""0"" canInterpolateInputs=""false"" canHandleVariableCommunicationStepSize=""true"" needsExecutionTool=""false""/>


-<LogCategories>

<Category name=""logEvents""/>

<Category name=""logSingularLinearSystems""/>

<Category name=""logNonlinearSystems""/>

<Category name=""logDynamicStateSelection""/>

<Category name=""logStatusWarning""/>

<Category name=""logStatusDiscard""/>

<Category name=""logStatusError""/>

<Category name=""logStatusFatal""/>

<Category name=""logStatusPending""/>

<Category name=""logAll""/>

<Category name=""logFmi2Call""/>

</LogCategories>

<DefaultExperiment tolerance=""1e-006"" stopTime=""1.0"" startTime=""0.0""/>


-<ModelVariables>

<!-- Index of variable = ""1"" -->



-<ScalarVariable name=""u"" causality=""input"" variability=""continuous"" valueReference=""0"">

<Real start=""0.0""/>

</ScalarVariable>

<!-- Index of variable = ""2"" -->



-<ScalarVariable name=""y"" causality=""output"" variability=""continuous"" valueReference=""1"" initial=""calculated"">

<Real/>

</ScalarVariable>

<!-- Index of variable = ""3"" -->



-<ScalarVariable name=""k"" causality=""parameter"" variability=""fixed"" valueReference=""2"" initial=""exact"">

<Real start=""3.0""/>

</ScalarVariable>

</ModelVariables>


-<ModelStructure>


-<Outputs>

<Unknown dependenciesKind=""dependent"" dependencies=""1"" index=""2""/>

</Outputs>

</ModelStructure>

</fmiModelDescription>
}}}

"	defect	closed	high	Future	FMI	v1.13.0	fixed	modelDescription	
