- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Integrating OM with Cameo Systems...
Integrating OM with Cameo Systems Modeler via Java
Integrating OM with Cameo Systems Modeler via Java
I'm currently working in Cameo Systems Modeler, which natively supports "integrating" OpenModelica. This lets .mo files be executed within a Cameo simulation run (by externally evaluating them via an OpenModelica Java interface). In order for them to integrate, I need modelica_java.jar to be in my %OMInstall%/share/omc/java folder, but upon install it's not there. I'm not sure if it is included with the normal install, but some searching I did seemed to indicate that it should have been...regardless, I then tried cloning the OMJava repo (https://github.com/OpenModelica/OMJava) and compiling that using make, but I'm getting numerous errors about specific aspects of the build using deprecated commands, and other Java errors related to the source code. I'm not too familiar with Java, so I was wondering if anyone here had any ideas for a workaround on how to get the modelica_java.jar file compiled, or if there's possibly somewhere I could get it pre-compiled for my version of OM? Or, does anyone know if perhaps that repo is outdated with regards to newer versions of Java? Any help would be greatly appreciated!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Integrating OM with Cameo Systems...