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

(Mac) /opt/openmodelica/bin/gmake: No such file or directory

(Mac) /opt/openmodelica/bin/gmake: No such file or directory

Trying to get Modelica running on my Mac. I pulled the latest stable-release from the Mac binaries and added a symlink for the omc.exe from /opt/openmodelica/bin/omc.exe to /usr/bin...

I can run OMC from command line but I get an error in the output when I try to simulate the BouncingBall.mo model.

Code:

record SimulationResult

    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'BouncingBall', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: BouncingBall",
    timeFrontend = 0.012444648,
    timeBackend = 0.020707475,
    timeSimCode = 0.006066091,
    timeTemplates = 0.007657318000000001,
    timeCompile = 0.004270661,
    timeSimulation = 0.0,
    timeTotal = 0.051240064
end SimulationResult;
"Error: Error building simulator. Build log: /bin/sh: /opt/openmodelica/bin/gmake: No such file or directory
"
false

Re: (Mac) /opt/openmodelica/bin/gmake: No such file or directory

Well I feel silly now, the solution was just to symlink gmake to the openmodelica bin with

Code:

sudo ln -s /usr/local/bin/gmake /opt/openmodelica/bin/gmake

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