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
  • Index
  • » Users
  • » vteich
  • » Profile

Posts

Posts

May-08-13 20:02:58
Modelica simulation within Topcased

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
",

  • Index
  • » Users
  • » vteich
  • » Profile
You are here: