@@ -1510,15 +1510,15 @@ function setPreOptModules "example input: removeFinalParameters,removeSimpleEqua
15101510 input String modules;
15111511 output Boolean success;
15121512algorithm
1513- success := setCommandLineOptions("+ preOptModules=" + modules);
1513+ success := setCommandLineOptions("-- preOptModules=" + modules);
15141514annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15151515end setPreOptModules;
15161516
15171517function setCheapMatchingAlgorithm "example input: 3"
15181518 input Integer matchingAlgorithm;
15191519 output Boolean success;
15201520algorithm
1521- success := setCommandLineOptions("+ cheapmatchingAlgorithm=" + String (matchingAlgorithm));
1521+ success := setCommandLineOptions("-- cheapmatchingAlgorithm=" + String (matchingAlgorithm));
15221522annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15231523end setCheapMatchingAlgorithm;
15241524
@@ -1537,7 +1537,7 @@ function setMatchingAlgorithm "example input: omc"
15371537 input String matchingAlgorithm;
15381538 output Boolean success;
15391539algorithm
1540- success := setCommandLineOptions("+ matchingAlgorithm=" + matchingAlgorithm);
1540+ success := setCommandLineOptions("-- matchingAlgorithm=" + matchingAlgorithm);
15411541annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15421542end setMatchingAlgorithm;
15431543
@@ -1556,15 +1556,15 @@ function setIndexReductionMethod "example input: dynamicStateSelection"
15561556 input String method;
15571557 output Boolean success;
15581558algorithm
1559- success := setCommandLineOptions("+ indexReductionMethod=" + method);
1559+ success := setCommandLineOptions("-- indexReductionMethod=" + method);
15601560annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15611561end setIndexReductionMethod;
15621562
15631563function setPostOptModules "example input: lateInline,inlineArrayEqn,removeSimpleEquations."
15641564 input String modules;
15651565 output Boolean success;
15661566algorithm
1567- success := setCommandLineOptions("+ postOptModules=" + modules);
1567+ success := setCommandLineOptions("-- postOptModules=" + modules);
15681568annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15691569end setPostOptModules;
15701570
@@ -1583,7 +1583,7 @@ function setTearingMethod "example input: omcTearing"
15831583 input String tearingMethod;
15841584 output Boolean success;
15851585algorithm
1586- success := setCommandLineOptions("+ tearingMethod=" + tearingMethod);
1586+ success := setCommandLineOptions("-- tearingMethod=" + tearingMethod);
15871587annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
15881588end setTearingMethod;
15891589
@@ -1866,7 +1866,7 @@ function setAnnotationVersion "Sets the annotation version."
18661866 input String annotationVersion;
18671867 output Boolean success;
18681868algorithm
1869- success := setCommandLineOptions("+ annotationVersion=" + annotationVersion);
1869+ success := setCommandLineOptions("-- annotationVersion=" + annotationVersion);
18701870annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
18711871end setAnnotationVersion;
18721872
@@ -1893,7 +1893,7 @@ function setVectorizationLimit
18931893 input Integer vectorizationLimit;
18941894 output Boolean success;
18951895algorithm
1896- success := setCommandLineOptions("+ v=" + String (vectorizationLimit));
1896+ success := setCommandLineOptions("- v=" + String (vectorizationLimit));
18971897annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
18981898end setVectorizationLimit;
18991899
@@ -1909,7 +1909,7 @@ public function setDefaultOpenCLDevice
19091909 input Integer defdevid;
19101910 output Boolean success;
19111911algorithm
1912- success := setCommandLineOptions("+ o=" + String (defdevid));
1912+ success := setCommandLineOptions("- o=" + String (defdevid));
19131913annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
19141914end setDefaultOpenCLDevice;
19151915
@@ -1930,7 +1930,7 @@ function setOrderConnections "Sets the orderConnection flag."
19301930 input Boolean orderConnections;
19311931 output Boolean success;
19321932algorithm
1933- success := setCommandLineOptions("+ orderConnections=" + String (orderConnections));
1933+ success := setCommandLineOptions("-- orderConnections=" + String (orderConnections));
19341934annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
19351935end setOrderConnections;
19361936
@@ -1944,7 +1944,7 @@ function setLanguageStandard "Sets the Modelica Language Standard."
19441944 input String inVersion;
19451945 output Boolean success;
19461946algorithm
1947- success := setCommandLineOptions("+ std=" + inVersion);
1947+ success := setCommandLineOptions("-- std=" + inVersion);
19481948annotation(__OpenModelica_EarlyInline = true, preferredView="text" );
19491949end setLanguageStandard;
19501950
0 commit comments