﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4413	MDD models stopped working	Bernhard Thiele	Patrick Täuber	"There was a regression that has affected the Modelica_DeviceDrivers library.

For example, UDP communication is not working any more. I could trace the regression to the commit https://github.com/OpenModelica/OpenModelica/commit/66c68ab39d1185595d69feddaeb199c6277f49a1

Starting with the referenced commit simulation will fail (no result file is produced).  It seems something goes wrong in the initialization of the external objects. Before the referenced commit a result file is produced and the external objects initialization works.

Following script can be used for testing (please check out the MDD library master branch for testing):

{{{#!modelica
loadModel(Modelica);
print(""*** Loading MDD...' "");
loadFile(""/libraries/Modelica_DeviceDrivers/package.mo""); getErrorString();

loadString(""
model RunMe
extends Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP;
end RunMe;
""); getErrorString();
simulate(RunMe); getErrorString();
}}}

I hope we can fix this regression before the beta release, since the MDD paper at the upcoming Modelica conference states that this model works now with OM."	defect	closed	blocker	Future	Backend	v1.12.0	fixed		Patrick Täuber Martin Sjölund Lennart Ochel Adrian Pop Volker Waurich
