Returns the version of the compiler if called without an argument, or the version of a loaded Modelica library if the name of the library is given as argument.
function getVersion input TypeName cl = $Code(OpenModelica); output String version; end getVersion;