robotology/gazebo-fmi

Test on Travis in Bionic are failing

Closed this issue · 4 comments

Probably due some OpenModelica problem.

Scanning dependencies of target generate-fmu-actuator-test
[ 97%] Generating FMU for model IdentityTransmission
/usr/bin/omc: error while loading shared libraries: libzlib.so.0: cannot open shared object file: No such file or directory
plugins/actuator/test/CMakeFiles/generate-fmu-actuator-test.dir/build.make:64: recipe for target 'plugins/actuator/test/IdentityTransmission.fmu' failed
make[2]: *** [plugins/actuator/test/IdentityTransmission.fmu] Error 127
CMakeFiles/Makefile2:850: recipe for target 'plugins/actuator/test/CMakeFiles/generate-fmu-actuator-test.dir/all' failed
make[1]: *** [plugins/actuator/test/CMakeFiles/generate-fmu-actuator-test.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

In tests, we were using the Nightly build of OpenModelica due to a bug in 1.12 (see #5). Now that OpenModelica 1.13 has been released, probably we could just switch the CI to the stable version to avoid this problem, and also update the README.

The problems seems to be fixed now ( https://travis-ci.com/robotology/gazebo-fmi/jobs/185634072 ), see https://trac.openmodelica.org/OpenModelica/ticket/5387#comment:6 .
Nevertheless, migrating to use the stable version in Travis is probably still a nice idea.