Hudson logo

Failed

flattening_modelica_records.NestedRecordTestConstructor.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Record-in-Record Constructor                                                      ... execution failed

==== Log /tmp/omc-rtest-adrpo33/flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/log-NestedRecordTestConstructor.mos
true
record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;
record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
end RecordTest.PLUS;
record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
end RecordTest.PLUS;
record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;
end RecordTest.PLUS;
record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
end RecordTest.PLUS;
record RecordTest.MULT_PLUS
    plus1 = record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
end RecordTest.PLUS;,
    plus2 = record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;
end RecordTest.PLUS;,
    plus3 = record RecordTest.PLUS
    left = record RecordTest.ADD
    a1 = 3.0,
    a2 = 4.0
end RecordTest.ADD;,
    right = record RecordTest.ADD
    a1 = 1.0,
    a2 = 2.0
end RecordTest.ADD;
end RecordTest.PLUS;
end RecordTest.MULT_PLUS;
true
"No explicit external call"
Error processing file: NestedRecordTestConstructor.mos
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:62:1-71:13:writable] Warning: out.left was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:62:1-71:13:writable] Warning: out.right was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:62:1-71:13:writable] Warning: out.left was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:62:1-71:13:writable] Warning: out.right was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:73:1-84:13:writable] Warning: out.left was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:73:1-84:13:writable] Warning: out.right was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:73:1-84:13:writable] Warning: out.left was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
[flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/RecordTest.mo:73:1-84:13:writable] Warning: out.right was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed.
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 RecordTest_mk__plus__ext.o RecordTest_mk__plus__ext.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 RecordTest_mk__plus__ext_records.o RecordTest_mk__plus__ext_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o RecordTest_mk__plus__ext.dll RecordTest_mk__plus__ext.o RecordTest_mk__plus__ext_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/RecordTest" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/Resources/Library/mingw64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/Resources/Library/win64" "-LC:/dev/hudson/workspace/OM_Win/OM/testsuite/flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125/Resources/Library" External_C_RecordTest.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(omc_gc.o):omc_gc.c:(.rdata$.refptr.omc_assert_warning[.refptr.omc_assert_warning]+0x0): undefined reference to `omc_assert_warning'
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'
collect2.exe: error: ld returned 1 exit status
RecordTest_mk__plus__ext.makefile:20: recipe for target 'RecordTest_mk__plus__ext' failed
make: *** [RecordTest_mk__plus__ext] Error 1
RESULT: 2

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!

== 1 out of 1 tests failed [flattening/modelica/records/NestedRecordTestConstructor.mos_temp8125, time: 6]

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