The MODELICAPATH is 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=...


function getModelicaPath
  output String modelicaPath;
end getModelicaPath;

Generated at 2020-02-25T02:36:12Z by OpenModelicaOpenModelica 1.16.0~dev-202-gf162868 using GenerateDoc.mos