Hudson logo

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ExternalFunction1                                                                 ... equation mismatch [time: 5]

==== Log /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/log-ExternalFunction1.mo
function f
  input Real x;
  output Real y;

  external "C" y = ExternalFunction1_f(x);
end f;

class ExternalFunction1
  constant Real x = 5.0;
  Real y;
equation
  y = f(5.0);
end ExternalFunction1;
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 f.o f.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 f_records.o f_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o f.dll f.o f_records.o "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib/" "-L%APPDATA%/.openmodelica/binaries/f" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/Resources/Library" ExternalFunction1_f.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
f.makefile:20: recipe for target 'f' failed
make: *** [f] Error 1
RESULT: 2


Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/equations-expected2019-05-07 13:56:39.264993300 +0200
+++ /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction1.mo_temp8668/equations-got2019-05-07 13:56:44.305003100 +0200
@@ -7,7 +7,17 @@
 
 class ExternalFunction1
 constant Real x = 5.0;
 Real y;
 equation
-y = 15.0;
+y = f(5.0);
 end ExternalFunction1;
+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 f.o f.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 f_records.o f_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o f.dll f.o f_records.o "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib//omc" "-LC:/dev/hudson/workspace/OM_Win/OM/build/lib/" "-L%APPDATA%/.openmodelica/binaries/f" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/Resources/Library" ExternalFunction1_f.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
+f.makefile:20: recipe for target 'f' failed
+make: *** [f] Error 1
+RESULT: 2
+

Equation mismatch: omc-diff says:
Line 12: Text differs:
expected: y = 
got:      y = f(

== 1 out of 1 tests failed [flattening/modelica/external-functions/ExternalFunction1.mo_temp8668, time: 5]

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