From a little bit of debugging, it is clear that the issue with load function.
- Error information:
This is when all the test cases are tested at once:

when the same test case is individually tested which failed above, there is no error.

This is a follow-up issue for simbody/simbody#785 @scpeters.
Steps to reproduce the error:
git clone -b simbody_benchmark https://github.com/yaswanth1701/benchmark.git
cd benchmark
mkdir build && cd build
cmake ..
make
export GAZEBO_RESOURCE_PATH=/path/to/benchmark
. /usr/share/gazebo/setup.bash
./BENCHMARK_boxes_model_count
Simbody test cases fail with box_model_count.cc when used with dynamic world generation and loading introduced in PR Added dynamic generation and loading sdf file into gazebo functionality. #14. All the other physic engines and boxes_dt.cc (simbody works for this test case) works as usual.
From a little bit of debugging, it is clear that the issue with load function.
This is when all the test cases are tested at once:
when the same test case is individually tested which failed above, there is no error.
This is a follow-up issue for simbody/simbody#785 @scpeters.
Steps to reproduce the error: