I just went through the process of installing/compiling JModelica 9608 in ubuntu.
In addition to the installation instructions I had to
1) install boost and zlib from packages libboost-all-dev and zlib1g-dev
2) set JAVA_HOME to my java path
For compiling casadi with cplex support I had to add symlinks in /usr/local that point to my cplex installation.
This may help to extend the installation instructions?