Hudson logo

Failed

flattening_modelica_external-functions.ExternalFunction6.mo (from (result.xml))

Failing for the past 1,565 builds (Since #9699 )

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ExternalFunction6                                                                 ... equation mismatch [time: 7]

==== Log /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction6.mo_temp5671/log-ExternalFunction6.mo
function ExternalFunction6.fn
  input Integer i1;
  output Integer i;

  external "C" i = myFn(i1);
end ExternalFunction6.fn;

class ExternalFunction6
  constant Integer i = ExternalFunction6.fn(2);
end ExternalFunction6;
Error: Error building simulator. Build log: gcc  -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -c -o ExternalFunction6_fn.o ExternalFunction6_fn.c
gcc  -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -c -o ExternalFunction6_fn_records.o ExternalFunction6_fn_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction6_fn.dll ExternalFunction6_fn.o ExternalFunction6_fn_records.o   -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -L"C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc'   -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic  -lOpenModelicaRuntimeC -Wl,-Bstatic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd  -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lm
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
collect2.exe: error: ld returned 1 exit status
ExternalFunction6_fn.makefile:20: recipe for target 'ExternalFunction6_fn' failed
make: *** [ExternalFunction6_fn] Error 1
RESULT: 2


Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction6.mo_temp5671/equations-expected2019-05-07 13:56:31.535986100 +0200
+++ /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction6.mo_temp5671/equations-got2019-05-07 13:56:38.068993800 +0200
@@ -4,7 +4,17 @@
 
 external "C" i = myFn(i1);
 end ExternalFunction6.fn;
 
 class ExternalFunction6
-constant Integer i = 4;
+constant Integer i = ExternalFunction6.fn(2);
 end ExternalFunction6;
+Error: Error building simulator. Build log: gcc  -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -c -o ExternalFunction6_fn.o ExternalFunction6_fn.c
+gcc -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -c -o ExternalFunction6_fn_records.o ExternalFunction6_fn_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction6_fn.dll ExternalFunction6_fn.o ExternalFunction6_fn_records.o   -falign-functions -fno-ipa-pure-const -mstackrealign -msse2 -mfpmath=sse   -I"C:/dev/hudson/workspace/OM_Win/OM/build/include/omc/c"  -L"C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" -Wl,--stack,16777216,-rpath,'C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc'   -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic  -lOpenModelicaRuntimeC -Wl,-Bstatic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd  -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lm
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(base_array.o):base_array.c:(.rdata$.refptr.omc_assert[.refptr.omc_assert]+0x0): undefined reference to `omc_assert'
+C:/dev/hudson/workspace/OM_Win/OM/build/lib//omc/libOpenModelicaRuntimeC.a(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
+collect2.exe: error: ld returned 1 exit status
+ExternalFunction6_fn.makefile:20: recipe for target 'ExternalFunction6_fn' failed
+make: *** [ExternalFunction6_fn] Error 1
+RESULT: 2
+

Equation mismatch: omc-diff says:
Line 9: Text differs:
expected: constant Integer i = 
got:      constant Integer i = ExternalFunction

== 1 out of 1 tests failed [flattening/modelica/external-functions/ExternalFunction6.mo_temp5671, time: 7]

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