Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Think SysML Tutorial / SysML2Modelica

Think SysML Tutorial / SysML2Modelica

Hello

I'm learning Topcased and following the Think SysML Tutorial
      http://www.thinksysml.org/Downloads/Thi … orials.pdf

I'm using SysML2Modelica Wizard.
Instead of the results shown on page 64, I get the below error message. 

In the file C:\OpenModelica1.6.0\share\omc\scripts\Compile.bat, I've changed
REM set MINGW=%OPENMODELICAHOME%\MinGW
set MINGW=%OPENMODELICAHOME:"=%\MinGW
set MINGW=%MINGW:/=\%

Does someone know how to fix what causes
'C:\OpenModelica1.6.0\MinGW' not to be recognized as an internal or external command, operable program or batch file ?

Thanks !

true
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 1, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestResults', storeInTemp = false, noClean = false, options = '', outputFormat = 'plt'",
    messages = "Simulation failed for model: TestResults
Error: Error building simulator. Buildlog: 'C:\OpenModelica1.6.0\MinGW' is not recognized as an internal or external command,

operable program or batch file.


Error: Error building simulator. Buildlog: command g++ not found. Check $OPENMODELICAHOME
Error: Error building simulator. Buildlog: command "C:/OpenModelica1.6.0/share/omc/scripts/Compile" not found. Check $OPENMODELICAHOME
",

Re: Think SysML Tutorial / SysML2Modelica

Upgrading to OpenModelica 1.9.0 should remove the error-message. It's an old bug, known, and fixed.

There are 0 guests and 0 other users also viewing this topic
You are here: