Skip to content

Commit

Permalink
Enable test for code generation of directional derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke authored and OpenModelica-Hudson committed Nov 1, 2017
1 parent effc952 commit b389638
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -16,9 +16,8 @@ end DrumBoilerModel;
");
getErrorString();

// disable directional derivatives as long as it fails
// for this model
setCommandLineOptions("+d=disableDirectionalDerivatives"); getErrorString();
// enable directional derivatives
setCommandLineOptions("-d=-disableDirectionalDerivatives"); getErrorString();

translateModelFMU(DrumBoilerModel, version="2.0"); getErrorString();

Expand Down Expand Up @@ -66,7 +65,8 @@ val(evaporator_qm_S, 100);
// variableNamingConvention=\"structured\"
// numberOfEventIndicators=\"3\">
// <ModelExchange
// modelIdentifier=\"DrumBoilerModel\">
// modelIdentifier=\"DrumBoilerModel\"
// providesDirectionalDerivative=\"true\">
// </ModelExchange>
// <TypeDefinitions>
// <SimpleType name=\"Modelica.Blocks.Types.Init\">
Expand Down

0 comments on commit b389638

Please sign in to comment.