Hudson logo

Failed

flattening_modelica_algorithms-functions.TestGravityAcceleration.mo (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestGravityAcceleration                                                           ... equation mismatch [time: 9]

==== Log /tmp/omc-rtest-adrpo33/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/log-TestGravityAcceleration.mo
function Math.length "Return length of a vectorReturn length of a vector (better as norm(), if further symbolic processing is performed)"
  input Real[:] v "Vector";
  output Real result "Length of vector v";
algorithm
  result := sqrt(v * v);
end Math.length;

function Math.normalize "Return normalized vector such that length = 1Return normalized vector such that length = 1 and prevent zero-division for zero vector"
  input Real[:] v "Vector";
  input Real eps = 1e-013 "if |v| < eps then result = v/eps";
  output Real[size(v, 1)] result "Input vector v normalized to length=1";
algorithm
  result := smooth(0, if Math.length(v) >= eps then v / Math.length(v) else v / eps);
end Math.normalize;

function World.gravityAcceleration "Gravity field acceleration depending on field type and position"
  input Real[3] r "Position vector from world frame to actual point, resolved in world frame";
  input enumeration(NoGravity, UniformGravity, PointGravity) gravityType = gravityType "Type of gravity field";
  input Real[3] g = {0.0, -g, 0.0} "Constant gravity acceleration, resolved in world frame, if gravityType=1";
  input Real mue(unit = "m3/s2") = mue "Field constant of point gravity field, if gravityType=2";
  output Real[3] gravity "Gravity acceleration at point r, resolved in world frame";
algorithm
  gravity := if gravityType == Types.GravityTypes.UniformGravity then {g[1], g[2], g[3]} else if gravityType == Types.GravityTypes.PointGravity then {(-mue) * r[1] / (Math.length({r[1], r[2], r[3]}) * (r[1] ^ 2.0 + r[2] ^ 2.0 + r[3] ^ 2.0)), (-mue) * r[2] / (Math.length({r[1], r[2], r[3]}) * (r[1] ^ 2.0 + r[2] ^ 2.0 + r[3] ^ 2.0)), (-mue) * r[3] / (Math.length({r[1], r[2], r[3]}) * (r[1] ^ 2.0 + r[2] ^ 2.0 + r[3] ^ 2.0))} else {0.0, 0.0, 0.0};
end World.gravityAcceleration;

class TestGravityAcceleration
  parameter Real w.n[1](unit = "1") = 0.0;
  parameter Real w.n[2](unit = "1") = -1.0;
  parameter Real w.n[3](unit = "1") = 0.0;
  parameter Real w.mue(unit = "m3/s2", min = 0.0) = 398600000000000.0 "Gravity field constant (default = field constant of earth)";
  parameter enumeration(NoGravity, UniformGravity, PointGravity) w.gravityType = Types.GravityTypes.UniformGravity;
  parameter Real w.g = 9.810000000000001 "Constant gravity acceleration";
  Real gravity[1];
  Real gravity[2];
  Real gravity[3];
equation
  gravity = World.gravityAcceleration({1.0, 5.0, 6.0}, Types.GravityTypes.UniformGravity, {0.0, -9.810000000000001, 0.0}, 398600000000000.0);
end TestGravityAcceleration;
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2
[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
World_gravityAcceleration.o:World_gravityAcceleration.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
World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
make: *** [World_gravityAcceleration] Error 1
RESULT: 2


Equation mismatch: diff says:
--- /tmp/omc-rtest-adrpo33/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/equations-expected2019-05-07 13:55:46.032395600 +0200
+++ /tmp/omc-rtest-adrpo33/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667/equations-got2019-05-07 13:55:55.514406000 +0200
@@ -5,11 +5,11 @@
 result := sqrt(v * v);
 end Math.length;
 
 function Math.normalize "Return normalized vector such that length = 1Return normalized vector such that length = 1 and prevent zero-division for zero vector"
 input Real[:] v "Vector";
-input Real eps = 1e-13 "if |v| < eps then result = v/eps";
+input Real eps = 1e-013 "if |v| < eps then result = v/eps";
 output Real[size(v, 1)] result "Input vector v normalized to length=1";
 algorithm
 result := smooth(0, if Math.length(v) >= eps then v / Math.length(v) else v / eps);
 end Math.normalize;
 
@@ -27,16 +27,93 @@
 parameter Real w.n[1](unit = "1") = 0.0;
 parameter Real w.n[2](unit = "1") = -1.0;
 parameter Real w.n[3](unit = "1") = 0.0;
 parameter Real w.mue(unit = "m3/s2", min = 0.0) = 398600000000000.0 "Gravity field constant (default = field constant of earth)";
 parameter enumeration(NoGravity, UniformGravity, PointGravity) w.gravityType = Types.GravityTypes.UniformGravity;
-parameter Real w.g = 9.81 "Constant gravity acceleration";
+parameter Real w.g = 9.810000000000001 "Constant gravity acceleration";
 Real gravity[1];
 Real gravity[2];
 Real gravity[3];
 equation
-gravity[1] = 0.0;
-gravity[2] = -9.81;
-gravity[3] = 0.0;
+gravity = World.gravityAcceleration({1.0, 5.0, 6.0}, Types.GravityTypes.UniformGravity, {0.0, -9.810000000000001, 0.0}, 398600000000000.0);
 end TestGravityAcceleration;
 [flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
+[flattening/modelica/algorithms-functions/TestGravityAcceleration.mo:59:7-62:19:writable] Error: Cyclically dependent constants or parameters found in scope : {gravityType}, {g}, {mue} (ignore with -d=ignoreCycles).
+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 World_gravityAcceleration.o World_gravityAcceleration.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 World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+g++ -shared -Xlinker --export-all-symbols -fPIC -o World_gravityAcceleration.dll World_gravityAcceleration.o World_gravityAcceleration_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
+World_gravityAcceleration.o:World_gravityAcceleration.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
+World_gravityAcceleration.makefile:20: recipe for target 'World_gravityAcceleration' failed
+make: *** [World_gravityAcceleration] Error 1
+RESULT: 2
 

Equation mismatch: omc-diff says:
Failed '[' ' '
Line 37: Text differs:
expected: gravity[
got:      gravity = World.gravityAcceleration({

== 1 out of 1 tests failed [flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp8667, time: 10]

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