Knowledge Base
Welcome to OPAL-RT’s Knowledge Base
OPAL-RT offers a repository of support information for optimal use of its technology.
Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-01578// Views: AA-01578// Created: 2019-01-22 19:31:49// Last Updated: 2019-11-05 19:44:12 HowTo How to install OpenModelica using FMUCreator 2.0 and Compile OpenModelica model on the target? How to install OpenModelica using FMUCreator 2.0 and Compile OpenModelica model on the target ?Step 1: Open the correct version of MetaController or RT-LAB Step 2: Go into the FMUCreator folder (C:\OPAL-RT\RT-LAB\v11.3.4.72\FMUCreator) and run the FMUCreator.bat file Step 3: Available target will appear in the window below, in case you want to add another target you can click on "Add the Target ip" Step 4: Make sure to put the right "Username" and "Password" next to the target. This information can be find on your binder that come with the target Step 5: Install OpenModelica onto the target by double-clicking on the "Available Targets by name/ip" Note: If you have issues with installations, please refer to this KB article, https://www.opal-rt.com/support-knowledge-base/?article=AA-01015 Step 5: After installation is complete, the following message should be displayed in the "Output", Connected (version 2.0, client OpenSSH_4.3) Authentication (password) successful! Installation in progress... [chan %s] Opened sftp connection (server version 3) Command 'cd /home; python /home/linux_install.py' yielded the following output: Log at C:\OPAL-RT\RT-LAB\v11.3.4.72\FMUCreator\FMUCreator\openmodelica_install.log Command 'dos2unix /home/omuser/.bashrc' yielded the following output: Installation complete. [chan %s] sftp session closed.
Step 6: Look if OpenModelica was properly installed on the target
If the above information is no displayed, that means that OpenModelica is not installed on the target and you cannot compile your model on the target Step 7: Make sure that Open Modelica is correctly installed on your Host. You can follow this article if Open Modelica is not installed on your computer: https://www.opal-rt.com/support-knowledge-base/?article=AA-01015 Step 8: Compile the OpenModelica model on the target.
To make sure that the compilation is successful, look at the location of the "Build Directory" and there should be two files that has been created,
|