I have a program written in Mathematica. I have rewritten / implemented the program in Modelica (OpenModelica), but it does not work entirely. I now want to check if the program works in Wolfram's Modelica solution (System Modeler). I read that Mathematica code can be exported to C code (?). But I can not seem to find a way to import the C code into System Modeler in order to see if the Mathematica program works in Modelica.
Or is there another / better way?