Skip to content

Commit

Permalink
Test some state machines with Cpp runtime for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel authored and OpenModelica-Hudson committed Jan 31, 2017
1 parent 799f659 commit 355fed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions simulation/modelica/statemachines/DeadEnd.mos
Expand Up @@ -5,6 +5,7 @@

loadFile("DeadEnd.mo");
echo(false);
setCommandLineOptions("--simCodeTarget=Cpp"); getErrorString();
simulate(DeadEnd, startTime=0, stopTime=2, numberOfIntervals=0); getErrorString();
echo(true);
val(state1.active,2);
Expand Down
1 change: 1 addition & 0 deletions simulation/modelica/statemachines/MLS33_17_3_7NA.mos
Expand Up @@ -5,6 +5,7 @@

loadFile("MLS33_17_3_7NA.mo");
echo(false);
setCommandLineOptions("--simCodeTarget=Cpp"); getErrorString();
simulate(MLS33_17_3_7NA, startTime=0, stopTime=30, numberOfIntervals=0); getErrorString();
echo(true);
val(v,30.0);
Expand Down

0 comments on commit 355fed4

Please sign in to comment.