Hudson logo

Failed

openmodelica_omsi_omsic.buildSimpleOMSU.mos (from (result.xml))

Failing for the past 7 builds (Since Unstable#1199 )

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + buildSimpleOMSU                                                                   ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-hudson/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/log-buildSimpleOMSU.mos
true
""
true
""
""
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/testsuite/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/helloWorldOMSU.fmutmp'
mkdir -p helloWorldOMSU.fmutmp/sources helloWorldOMSU.fmutmp/sources/include helloWorldOMSU.fmutmp/sources/libs
mkdir -p helloWorldOMSU.fmutmp/resources
mkdir -p helloWorldOMSU.fmutmp/binaries/linux64
# Basic OMSI and OMSIC files
cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/* helloWorldOMSU.fmutmp/sources/include/
cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/* helloWorldOMSU.fmutmp/sources/include/
cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSIBase_static.* helloWorldOMSU.fmutmp/sources/libs
cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSIC_static.* helloWorldOMSU.fmutmp/sources/libs
cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSISolver_static.* helloWorldOMSU.fmutmp/sources/libs
# Third party libraries
cp -f /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/../OMCompiler/3rdParty/FMIL/build/ExpatEx/libexpat.a helloWorldOMSU.fmutmp/sources/libs
cp -fP /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so* /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so*  helloWorldOMSU.fmutmp/binaries/linux64
cp -a modelDescription.xml helloWorldOMSU.fmutmp/
cp -a helloWorldOMSU_omsic.c helloWorldOMSU_init_eqns.c   helloWorldOMSU_sim_eqns.c   helloWorldOMSU.fmutmp/sources/
cp -a helloWorldOMSU_omsic.h helloWorldOMSU_init_eqns.h helloWorldOMSU_sim_eqns.h helloWorldOMSU.fmutmp/sources/include
cp -a helloWorldOMSU_info.json helloWorldOMSU.fmutmp/resources/
cp -a helloWorldOMSU_init.xml helloWorldOMSU.fmutmp/resources/
/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_omsic.c
helloWorldOMSU_omsic.c: In function 'helloWorldOMSU_instantiate_samples':
helloWorldOMSU_omsic.c:49:54: warning: unused parameter 'sample_events' [-Wunused-parameter]
 void helloWorldOMSU_instantiate_samples(omsi_sample* sample_events)
                                                      ^
/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_init_eqns.c
helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_init_eqns_instantiate_allEqns_OMSIFunc':
helloWorldOMSU_init_eqns.c:66:27: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   omsi_function->evaluate = helloWorldOMSU_init_eqns_allEqns;
                           ^
helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_eqFunction_1':
helloWorldOMSU_init_eqns.c:77:85: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter]
 void helloWorldOMSU_eqFunction_1(omsi_function_t* this_function, const omsi_values* model_vars_and_params){
                                                                                     ^
helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_init_eqns_allEqns':
helloWorldOMSU_init_eqns.c:96:23: warning: variable 'new_status' set but not used [-Wunused-but-set-variable]
   omsi_status status, new_status;
                       ^
helloWorldOMSU_init_eqns.c:93:116: warning: unused parameter 'data' [-Wunused-parameter]
 omsi_status helloWorldOMSU_init_eqns_allEqns(omsi_function_t* init_eqns, omsi_values* model_vars_and_params, void* data){
                                                                                                                    ^
/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_sim_eqns.c
helloWorldOMSU_sim_eqns.c: In function 'helloWorldOMSU_sim_eqns_instantiate_allEqns_OMSIFunc':
helloWorldOMSU_sim_eqns.c:68:27: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
   omsi_function->evaluate = helloWorldOMSU_sim_eqns_allEqns;
                           ^
helloWorldOMSU_sim_eqns.c: In function 'helloWorldOMSU_sim_eqns_allEqns':
helloWorldOMSU_sim_eqns.c:89:23: warning: variable 'new_status' set but not used [-Wunused-but-set-variable]
   omsi_status status, new_status;
                       ^
helloWorldOMSU_sim_eqns.c:86:114: warning: unused parameter 'data' [-Wunused-parameter]
 omsi_status helloWorldOMSU_sim_eqns_allEqns(omsi_function_t* sim_eqns, omsi_values* model_vars_and_params, void* data){
                                                                                                                  ^
/opt/gcc-5.3.0/bin/gcc -shared -o helloWorldOMSU.so helloWorldOMSU_omsic.o helloWorldOMSU_init_eqns.o helloWorldOMSU_sim_eqns.o -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/../OMCompiler/3rdParty/FMIL/build/ExpatEx -L -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc -Wl,--whole-archive -lOMSISolver_static -lOMSIBase_static -lOMSIC_static -Wl,--no-whole-archive -Wl,-Bdynamic -lexpat -llapack -lblas /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -rpath '$ORIGIN/.'
gcc: error: $ORIGIN/.: No such file or directory
gcc: error: unrecognized command line option '-rpath'
helloWorldOMSU_FMU.makefile:90: recipe for target 'compile' failed
make: *** [compile] Error 1
make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/testsuite/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/helloWorldOMSU.fmutmp'
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-hudson/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/equations-expected2019-05-05 22:42:29.275083550 +0200
+++ /tmp/omc-rtest-hudson/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/equations-got2019-05-05 22:42:29.951076712 +0200
@@ -1,7 +1,64 @@
 true
 ""
 true
 ""
-"helloWorldOMSU.fmu"
+""
 "Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
+Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/testsuite/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/helloWorldOMSU.fmutmp'
+mkdir -p helloWorldOMSU.fmutmp/sources helloWorldOMSU.fmutmp/sources/include helloWorldOMSU.fmutmp/sources/libs
+mkdir -p helloWorldOMSU.fmutmp/resources
+mkdir -p helloWorldOMSU.fmutmp/binaries/linux64
+# Basic OMSI and OMSIC files
+cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/* helloWorldOMSU.fmutmp/sources/include/
+cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/* helloWorldOMSU.fmutmp/sources/include/
+cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSIBase_static.* helloWorldOMSU.fmutmp/sources/libs
+cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSIC_static.* helloWorldOMSU.fmutmp/sources/libs
+cp -a /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi/libOMSISolver_static.* helloWorldOMSU.fmutmp/sources/libs
+# Third party libraries
+cp -f /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/../OMCompiler/3rdParty/FMIL/build/ExpatEx/libexpat.a helloWorldOMSU.fmutmp/sources/libs
+cp -fP /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so* /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so*  helloWorldOMSU.fmutmp/binaries/linux64
+cp -a modelDescription.xml helloWorldOMSU.fmutmp/
+cp -a helloWorldOMSU_omsic.c helloWorldOMSU_init_eqns.c   helloWorldOMSU_sim_eqns.c   helloWorldOMSU.fmutmp/sources/
+cp -a helloWorldOMSU_omsic.h helloWorldOMSU_init_eqns.h helloWorldOMSU_sim_eqns.h helloWorldOMSU.fmutmp/sources/include
+cp -a helloWorldOMSU_info.json helloWorldOMSU.fmutmp/resources/
+cp -a helloWorldOMSU_init.xml helloWorldOMSU.fmutmp/resources/
+/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_omsic.c
+helloWorldOMSU_omsic.c: In function 'helloWorldOMSU_instantiate_samples':
+helloWorldOMSU_omsic.c:49:54: warning: unused parameter 'sample_events' [-Wunused-parameter]
+void helloWorldOMSU_instantiate_samples(omsi_sample* sample_events)
+^
+/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_init_eqns.c
+helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_init_eqns_instantiate_allEqns_OMSIFunc':
+helloWorldOMSU_init_eqns.c:66:27: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
+omsi_function->evaluate = helloWorldOMSU_init_eqns_allEqns;
+^
+helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_eqFunction_1':
+helloWorldOMSU_init_eqns.c:77:85: warning: unused parameter 'model_vars_and_params' [-Wunused-parameter]
+void helloWorldOMSU_eqFunction_1(omsi_function_t* this_function, const omsi_values* model_vars_and_params){
+^
+helloWorldOMSU_init_eqns.c: In function 'helloWorldOMSU_init_eqns_allEqns':
+helloWorldOMSU_init_eqns.c:96:23: warning: variable 'new_status' set but not used [-Wunused-but-set-variable]
+omsi_status status, new_status;
+^
+helloWorldOMSU_init_eqns.c:93:116: warning: unused parameter 'data' [-Wunused-parameter]
+omsi_status helloWorldOMSU_init_eqns_allEqns(omsi_function_t* init_eqns, omsi_values* model_vars_and_params, void* data){
+^
+/opt/gcc-5.3.0/bin/gcc -fPIC -Wall -Wextra -ansi -pedantic -g -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi  -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/base -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/solver -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsi/fmi2 -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic -I/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/include/omc/omsic/fmi2 -c helloWorldOMSU_sim_eqns.c
+helloWorldOMSU_sim_eqns.c: In function 'helloWorldOMSU_sim_eqns_instantiate_allEqns_OMSIFunc':
+helloWorldOMSU_sim_eqns.c:68:27: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
+omsi_function->evaluate = helloWorldOMSU_sim_eqns_allEqns;
+^
+helloWorldOMSU_sim_eqns.c: In function 'helloWorldOMSU_sim_eqns_allEqns':
+helloWorldOMSU_sim_eqns.c:89:23: warning: variable 'new_status' set but not used [-Wunused-but-set-variable]
+omsi_status status, new_status;
+^
+helloWorldOMSU_sim_eqns.c:86:114: warning: unused parameter 'data' [-Wunused-parameter]
+omsi_status helloWorldOMSU_sim_eqns_allEqns(omsi_function_t* sim_eqns, omsi_values* model_vars_and_params, void* data){
+^
+/opt/gcc-5.3.0/bin/gcc -shared -o helloWorldOMSU.so helloWorldOMSU_omsic.o helloWorldOMSU_init_eqns.o helloWorldOMSU_sim_eqns.o -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/omsi -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/../OMCompiler/3rdParty/FMIL/build/ExpatEx -L -L/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc -Wl,--whole-archive -lOMSISolver_static -lOMSIBase_static -lOMSIC_static -Wl,--no-whole-archive -Wl,-Bdynamic -lexpat -llapack -lblas /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_kinsol.so /var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -rpath '$ORIGIN/.'
+gcc: error: $ORIGIN/.: No such file or directory
+gcc: error: unrecognized command line option '-rpath'
+helloWorldOMSU_FMU.makefile:90: recipe for target 'compile' failed
+make: *** [compile] Error 1
+make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_BUILD_GCC_5.1/OpenModelica/testsuite/openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134/helloWorldOMSU.fmutmp'
 "

Equation mismatch: omc-diff says:
Failed 'h' '"'
Line 5: Text differs:
expected: "helloWorldOMSU.fmu"
got:      ""

== 1 out of 1 tests failed [openmodelica/omsi/omsic/buildSimpleOMSU.mos_temp3134, time: 0]

Powered by Hudson Open Source Continuous Integration Server from the Eclipse Foundation