Hudson logo

Failed

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

Failing for the past 711 builds (Since #6660 )

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-hudson/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp9087/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-13 "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.81 "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.81, 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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1
[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
Undefined symbols for architecture x86_64:
  "_omc_assert", referenced from:
      _omc_Math_length in World_gravityAcceleration.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [World_gravityAcceleration] Error 1


Equation mismatch: diff says:
--- /tmp/omc-rtest-hudson/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp9087/equations-expected2019-05-16 22:02:52.000000000 +0200
+++ /tmp/omc-rtest-hudson/flattening/modelica/algorithms-functions/TestGravityAcceleration.mo_temp9087/equations-got2019-05-16 22:02:54.000000000 +0200
@@ -32,11 +32,88 @@
 parameter Real w.g = 9.81 "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.81, 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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
+[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: clang   -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration.o World_gravityAcceleration.c
+clang -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -c -o World_gravityAcceleration_records.o World_gravityAcceleration_records.c
+clang -single_module -dynamiclib -flat_namespace -o World_gravityAcceleration.dylib World_gravityAcceleration.o World_gravityAcceleration_records.o    -mfpmath=sse -fno-dollars-in-identifiers   -I"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/include/omc/c"  -L"/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc" -Wl,-rpath,'/Users/hudson/slave/workspace/OpenModelica_OSX_BUILD/OpenModelica/build/lib/x86_64-darwin15.4.0/omc'    -L/opt/openmodelica/lib -lOpenModelicaRuntimeC  -lopenblas   -lm -lm
+Undefined symbols for architecture x86_64:
+"_omc_assert", referenced from:
+_omc_Math_length in World_gravityAcceleration.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see invocation)
+make: *** [World_gravityAcceleration] Error 1
 

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_temp9087, time: 2]

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