Failedflattening_modelica_external-functions.ExternalFunction3.mo
(from (result.xml))
Failing for the past 1,574 builds
(Since
#9699
)
StacktraceOutput mismatch (see stdout for details) Standard Output + ExternalFunction3 ... equation mismatch [time: 10]
==== Log /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/log-ExternalFunction3.mo
function ExternalFunction3.addmatrices
input Real[:, :] a;
input Real[size(a, 1), size(a, 2)] b;
output Real[size(a, 1), size(a, 2)] c;
external "C" addmatrices(a, size(a, 1), size(a, 2), b, size(b, 1), size(b, 2), c, size(c, 1), size(c, 2));
end ExternalFunction3.addmatrices;
class ExternalFunction3
constant Real a[1,1] = 1.0;
constant Real a[1,2] = 2.0;
constant Real a[2,1] = 3.0;
constant Real a[2,2] = 4.0;
constant Real b[1,1] = 5.0;
constant Real b[1,2] = 6.0;
constant Real b[2,1] = 7.0;
constant Real b[2,2] = 8.0;
Real c[1,1];
Real c[1,2];
Real c[2,1];
Real c[2,2];
equation
c = ExternalFunction3.addmatrices({{1.0, 2.0}, {3.0, 4.0}}, {{5.0, 6.0}, {7.0, 8.0}});
end ExternalFunction3;
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
[flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/Resources/Library" ExternalFunction3-addmatrices.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
ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
make: *** [ExternalFunction3_addmatrices] Error 1
RESULT: 2
Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/equations-expected2019-05-09 15:24:38.783145000 +0200
+++ /tmp/omc-rtest-adrpo33/flattening/modelica/external-functions/ExternalFunction3.mo_temp4293/equations-got2019-05-09 15:24:48.517169900 +0200
@@ -18,12 +18,88 @@
Real c[1,1];
Real c[1,2];
Real c[2,1];
Real c[2,2];
equation
-c[1,1] = 6.0;
-c[1,2] = 8.0;
-c[2,1] = 10.0;
-c[2,2] = 12.0;
+c = ExternalFunction3.addmatrices({{1.0, 2.0}, {3.0, 4.0}}, {{5.0, 6.0}, {7.0, 8.0}});
end ExternalFunction3;
[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
+[flattening/modelica/external-functions/ExternalFunction3.mo:14:1-19:16:writable] Warning: An external declaration with a single output without explicit mapping is defined as having the output as the lhs, but language C does not support this for array variables. OpenModelica will put the output as an input (as is done when there is more than 1 output), but this is not according to the Modelica Specification. Use an explicit mapping instead of the implicit one to suppress this warning.
+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 ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices.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 ExternalFunction3_addmatrices_records.o ExternalFunction3_addmatrices_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o ExternalFunction3_addmatrices.dll ExternalFunction3_addmatrices.o ExternalFunction3_addmatrices_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/ExternalFunction3" "-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" ExternalFunction3-addmatrices.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
+ExternalFunction3_addmatrices.makefile:20: recipe for target 'ExternalFunction3_addmatrices' failed
+make: *** [ExternalFunction3_addmatrices] Error 1
+RESULT: 2
Equation mismatch: omc-diff says:
Failed '[' ' '
Line 23: Text differs:
expected: c[
got: c = ExternalFunction
== 1 out of 1 tests failed [flattening/modelica/external-functions/ExternalFunction3.mo_temp4293, time: 11]
|