Simcenter Amesim Simcenter Amesim Compilation Troubleshooting

2022-03-24T16:47:53.000-0400
Simcenter Amesim Automation Connect Simcenter System Simulation Client for Git Simcenter Amesim Teamcenter Share

Summary

This article gathers some common issues related to compilation with Simcenter Amesim and will help you for troubleshooting.


Details

1. The model contains interface (for example Simulink Interface):

Please check that the compiler used in Simcenter Amesim is compatible with the external tool used for interface and that the external tool is configured to use the same compiler as Simcenter Amesim.
Example with Simulink interface:
Check the compiler used in Simcenter Amesim, then check if:
a - the compiler and its version is compatible with the version of Simulink used:
https://fr.mathworks.com/support/requirements/supported-compilers.html
https://fr.mathworks.com/support/requirements/previous-releases.html


b - Simulink is configured to use the correct compiler (using the command "mex -setup" in the MATLAB workspace).
More details on this topic in the dedicated FAQ I02 - What are the supported versions of MATLAB/Simulink with Simcenter Amesim? or in the related articles.


2. The model does not contains interface but contains user submodels:
Please check that the user library with the user submodels is in the path list, is up to date and that the folder with complied submodels are existing for the selected compiler in Simcenter Amesim.
folder_content.png

3. There is a user library in the pathlist
If you have a user library in the path list, please remove it from "Sketch > Category Path List..." and try again the compilation.

4. The model is composed of standard submodels and standard libraries are in the pathlist
If you have no user library in the path list, please try to compile with the standard compiler (GNU GCC 64b if existing, otherwise GNU GCC 32b). If it work with GNU GCC but not with Visual C++, please refer to FAQ C02 - How do I use Simcenter Amesim with the Microsoft Visual C++ compiler? in Simcenter Amesim Help

If the compilation does not work with standard model and with default compiler (GNU GCC), please open a support request on the Support portal, and a local support engineer will come back to you.

KB Article ID# KB000041678_EN_US

Contents

SummaryDetails

Associated Components

Amesim Automation Connect