Skip to content

Commit

Permalink
Need -emit_protected to check protected vars
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke committed Oct 24, 2016
1 parent db2ea6b commit 94fced8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@
loadModel(WasteWater);getErrorString();
echo(false);
overrideFile := uriToFilename("modelica://WasteWater/Resources/ASM1/") + "omc_bench.override.txt";
res:=simulate(WasteWater.ASM1.Examples.SmallPlant, variableFilter="tank[1-3][.]Out.(Q|Salk|Si)", simflags="-overrideFile '" + overrideFile + "'");
res:=simulate(WasteWater.ASM1.Examples.SmallPlant, variableFilter="tank[1-3][.]Out.(Q|Salk|Si)", simflags="-overrideFile '" + overrideFile + "' -emit_protected");
resultFile := res.resultFile;
if resultFile == "" then
messages := res.messages;
Expand Down

0 comments on commit 94fced8

Please sign in to comment.