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

compiler omc doesn't work with Eclipse mdt.

compiler omc doesn't work with Eclipse mdt.

I'm writing you because I've some problem with the integration of compiler omc in Eclipse with the plugin mdt. 

I've downloaded and installed openmodelica 1.50 for windows xp, the environment variables are well settled at least I guess
OPENMODELICAHOME -> C:\OpenModelica1.5.0

and the I've download and installed eclipse with MDT from this weblink
http://www.ida.liu.se/~pelab/modelica/O … -0.7.3.zip

I've followed the instruction of this paper at page 63
http://www.ida.liu.se/labs/pelab/modeli … sGuide.pdf
and I've read this guide
http://openmodelica.ida.liu.se:8080/cb/ … oc_id=1389
Apparently everything is right, except that the compiler doesn't work, if I call it by Eclipse: following these steps Project -> build project
But when I try to build a project nothing happen, I also put some errors deliberately, but I don't receive any message from OMC

any suggestion?

Re: compiler omc doesn't work with Eclipse mdt.

What is your use case for this? Are you trying to build OpenModelica from source code? Are you running the MetaModelica exercises? Or are you trying to make simulations?
Build project only makes sense for MetaModelica code, not Modelica.

Re: compiler omc doesn't work with Eclipse mdt.

Probably there was a misunderstanding
I have to write some code for a compressor of a cogeneration plant

I am interested in using OMC as interpreter to correct the errors in the code
cite
"
The compiler also includes a Model interpreter for interactive usage and constant expression evaluation.
"
http://www.openmodelica.org/index.php/d … /tools/135

all here
ps
keep in mind the I start to use modelica Thuday  so I'm not sure if  I'm approaching the task properly

Re: compiler omc doesn't work with Eclipse mdt.

Fonte wrote:

I am interested in using OMC as interpreter to correct the errors in the code

MDT will use OMC to find syntax errors. If you want to find semantic errors (type checked, etc), I'd recommend using OMShell and the checkModel(), instantiateModel() or simulate() commands.

Re: compiler omc doesn't work with Eclipse mdt.

So the support of MDT to  the compiler OMC is in working progress, isn't it?


so
thank you for your time

Re: compiler omc doesn't work with Eclipse mdt.

Yes, it is.
Also, there is more development on SimForge than MDT if you want a more complete modeling environment (it also uses OMC as its back-end).

Re: compiler omc doesn't work with Eclipse mdt.

sjoelund.se,
Hi,could you please help me in one thing

Re: compiler omc doesn't work with Eclipse mdt.

I want to use use modillca as eclipse plugin,i have followed all the steps,but still it is not creating make.exe file while building the project.I have set class path etc..

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