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

ModelicaML 1.8.4 release broken?

ModelicaML 1.8.4 release broken?

i have just tried to install the mentioned release, but couldn't because org.openmodelica.simulation.environment 0.6.4 can't be found? below is the error message:

Cannot complete the install because one or more required items could not be found.
  Software being installed: ModelicaML - Papyrus Customization, Modelica Code Generation, Simulation with OMC 1.8.4.201201271554 (org.openmodelica.modelicaml.feature.feature.group 1.8.4.201201271554)
  Missing requirement: ModelicaML Simulation 1.0.0.201201271554 (org.openmodelica.modelicaml.simulation 1.0.0.201201271554) requires 'bundle org.openmodelica.simulation.environment 0.6.4' but it could not be found
  Cannot satisfy dependency:
    From: ModelicaML - Papyrus Customization, Modelica Code Generation, Simulation with OMC 1.8.4.201201271554 (org.openmodelica.modelicaml.feature.feature.group 1.8.4.201201271554)
    To: org.openmodelica.modelicaml.view.componentstree [1.1.12.201201271554]
  Cannot satisfy dependency:
    From: ModelicaML Class Components Tree 1.1.12.201201271554 (org.openmodelica.modelicaml.view.componentstree 1.1.12.201201271554)
    To: bundle org.openmodelica.modelicaml.simulation 1.0.0

Re: ModelicaML 1.8.4 release broken?

Hi adriaanph,
I got a similar message but with environment 0.6.4:

Cannot complete the install because one or more required items could not be found.
  Software being installed: ModelicaML - Papyrus Customization, Modelica Code Generation, Simulation with OMC 1.8.4.201201292208 (org.openmodelica.modelicaml.feature.feature.group 1.8.4.201201292208)
  Missing requirement: ModelicaML Value Bindings View 1.0.0.201201292208 (org.openmodelica.modelicaml.view.valuebindings 1.0.0.201201292208) requires 'bundle org.eclipse.papyrus.profile 0.7.4' but it could not be found
  Cannot satisfy dependency:
    From: ModelicaML - Papyrus Customization, Modelica Code Generation, Simulation with OMC 1.8.4.201201292208 (org.openmodelica.modelicaml.feature.feature.group 1.8.4.201201292208)
    To: org.openmodelica.modelicaml.view.valuebindings [1.0.0.201201292208]

I already saw in an eclipse forum you were looking for the papyrus 0.7.4 too. The one I got was the version 0.7.3 and I don't know if my ModelicaML installation fails because I have an older Papyrus version. I have already sent a message to OpenModelica@ida.liu.se. Let's wait.

Yves

Re: ModelicaML 1.8.4 release broken?

yves

yes, your problem is that you have papyrus 0.7.3 and not 0.7.3. if you could get 0.7.4 installed (which you can't anymore, it's been completely erased from the internet -- http://www.eclipse.org/forums/index.php/t/281853/) you should get the same error as i did.

this issue highlights the importance of upgrading the ModelicaML suite to papyrus 0.8.0 or later.

adriaan

Re: ModelicaML 1.8.4 release broken?

is there any way to obtain an older release of ModelicaML (e.g. 1.8.2)?

Re: ModelicaML 1.8.4 release broken?

from http://openmodelica.org/index.php/forum … =512#p1949

wladimir wrote:

There is a new build of ModelicaML for Papyrus 0.7.4. In addition we put a .zip with the full eclipse for windows here: http://www.ida.liu.se/~pelab/modelica/O … /software/
Wladimir

now ModelicaML 1.8.4 installs correctly on my out-of-the-box eclipse helios SR2, but i see that a few commands have been temporarily disabled, most notably
1) validate
2) simulate

the eclipse error log entries are





however, when i download and unzip the bundled version of eclipse that was made available by wladimir, everything works okay. oh well,  i'll use that for now and try again when there's a new release.

Re: ModelicaML 1.8.4 release broken?

Hi,

there is a new version of ModelicaML for Papyrus 0.8 available.
The ModelicaML simulation facilities are still under construction. We recommend to use OMEdit (it is part of the OpenModelica tooling) for simulating the generated Modelica code. For that you should load the (generated) top-level package.mo in OMEdit, open the class you want to simulate and follow the OMEdit simuilation wizard.

regards
Wladimir

Re: ModelicaML 1.8.4 release broken?

thanks, wladimir

i've only now tried the new release. it worked out-of-the-box, but with limited simulation capabilities. for the record:
1) installed openmodelica 1.8.1
2) installed eclipse-indigo, xtext 2, acceleo 2.8, papyrus 0.8.2, MDT 0.7.22, ModelicaML 1.8.6

when asked to compile with OMC there was no response. i dug around a bit and found an issue and solution in Compile.bat. see http://www.openmodelica.org/index.php/f … ic?id=553. now i'm able to simulate from within eclipse, but with very limited capabilities. i look forward to future releases!

Re: ModelicaML 1.8.4 release broken?

Hi,

there is now an initial version of simulation functionality in ModelicaML that you could try...

regards
Wladimir

Re: ModelicaML 1.8.4 release broken?

thanks - it worked (as does 1.8.8, too).

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