robotology / gazebo-fmi

FMI import plugins for the Gazebo Simulator.
GNU Lesser General Public License v3.0
24 stars 5 forks source link

Test on Travis in Bionic are failing #54

Closed traversaro closed 5 years ago

traversaro commented 5 years ago

Probably due some OpenModelica problem.

traversaro commented 5 years ago
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
traversaro commented 5 years ago

Upstream issue: https://trac.openmodelica.org/OpenModelica/ticket/5387#comment:4 .

traversaro commented 5 years ago

In tests, we were using the Nightly build of OpenModelica due to a bug in 1.12 (see https://github.com/robotology/gazebo-fmi/issues/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.

traversaro commented 5 years ago

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.