AmesimKnowledge

Importing and using FMU > The Import Tool in detail

Environment required by the command line tool

The command line version of the Import Tool needs to be started in the Simcenter Amesim environment, which means that the following conditions must be met:

  • The AME environment variable references the root directory of a working installed distribution of Simcenter Amesim;

  • A C compiler is available (on Windows platforms this could be either Microsoft Visual Studio 2017-2022 or later, or Mingw64/gcc provided with Simcenter Amesim, on Linux this is usually gcc but other compilers like the Intel C compiler are allowed). The compiler is used to compile the import submodel source code in a way similar to Submodel Editor;

  • The PATH environment variable must contain the absolute path to the root directory of the Simcenter Amesim distribution, already referenced by the AME environment variable. In addition to this, and for Windows platform only, the PATH variable must also contain the absolute path to the win32 subdirectory (and win64 if 64 bit compilation is desired) of the Simcenter Amesim distribution.

The environment variables are usually set using the following platform-dependent statements:

Platform/Compiler Setting the environment variables
Microsoft Windows Mingw64/gcc Copyset AME= set PATH=%AME%;%AME%\win32;%PATH%; %AME%\sys\mingw64\bin
Microsoft Windows / Microsoft Visual 64-bit, Intel oneAPI 64-bit Copyset AME= set PATH=%AME%;%AME%\win32;%AME%\ win64;%PATH%
Linux / gcc 4.x 64-bit, Intel oneAPI 64-bit Copyexport AME= export PATH=$AME:$PATH

If Simcenter Amesim is installed on the PC using the standard installation procedure, these environment variables should be already set to the appropriate values.

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Functional_Mockup_Interface/Environment_and_requirements · retrieved 2026-07-17