The MODELICAPATH is a list of paths to search when trying to load a library. It is a string separated by colon (:) on all OSes except Windows, which uses semicolon (;).

To override the default path (OPENMODELICAHOME/lib/omlibrary/:~/.openmodelica/libraries/), set the environment variable OPENMODELICALIBRARY=...

On Windows the HOME directory '~' is replaced by %APPDATA%


function getModelicaPath
  output String modelicaPath;
end getModelicaPath;

Generated at 2024-06-15T18:16:03Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos