Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An error in Dymola "Failed to generate XML file for the FMU"?

A model works fine, but on my PC it ends up with an error "Failed to generate XML file for the FMU". Someone told me this is because the XML parser is broken on Windows system. Anyone know the exact reason for this problem?

enter image description here

like image 535
Jack Avatar asked Dec 08 '22 11:12

Jack


1 Answers

Both the logic to avoid generating that error, and the error message has been improved in later versions of Dymola. In Dymola 2020x you get:

Failed to generate XML file for the FMU or for variable dependencies.

indicating that the issue is likely that you have set Advanced.GenerateVariableDependencies=true;

like image 80
Hans Olsson Avatar answered Dec 28 '22 07:12

Hans Olsson