Modelica is a declarative programming language geared for simulation of physical systems. OpenModelica is an open-source implementation (with a three-option licence, the first being a slightly modified GPLv3 and the other three for funding partners) that comprises a compiler and a QT-based graphical shell. As you will see from the Ebuild and the patch, it was not easy to get OpenModelica to compile and work properly in Linux, as the project is developed mainly in Windows (hope this will change :-), and there are many thing that can go wrong. As the current implementation is made, it requires Mico CORBA for interprocess communication. I have submitted an ebuild for that, but it has not yet been committed to the CVS tree.
Created attachment 159466 [details] Ebuild for OpenModelica 1.4.4
Created attachment 159467 [details, diff] Patch for the distributed version of OpenModelica 1.4.4 The patch corrects a number of bugs in OpenModelica, its Qt-based shell and their build files.