Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 0.9686/0.9686, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003502, allocations: 12 kB / 158.9 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05226/0.05264, allocations: 25.15 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.2799, allocations: 49.3 MB / 233.3 MB, free: 13.42 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/0.2804, allocations: 85.77 kB / 233.4 MB, free: 13.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.842/5.123, allocations: 0.5311 GB / 0.7591 GB, free: 244 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.126e-06/5.123, allocations: 0 / 0.7591 GB, free: 244 kB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003356/5.123, allocations: 120 kB / 0.7592 GB, free: 124 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2292 * Number of variables: 2292 Notification: Performance of Generate backend data structure: time 0.536/5.659, allocations: 46.54 MB / 0.8046 GB, free: 33.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/5.659, allocations: 10.59 kB / 0.8046 GB, free: 33.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 12/17.66, allocations: 1.142 GB / 1.947 GB, free: 37.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07352/17.73, allocations: 20.01 MB / 1.967 GB, free: 36.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/17.73, allocations: 496.7 kB / 1.967 GB, free: 36.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02155/17.75, allocations: 0.6168 MB / 1.968 GB, free: 36.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.406/21.16, allocations: 369.9 MB / 2.329 GB, free: 404 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004226/21.16, allocations: 41.92 kB / 2.329 GB, free: 384 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01965/21.18, allocations: 290.4 kB / 2.329 GB, free: 144 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2028/21.38, allocations: 2.082 MB / 2.331 GB, free: 35.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8/28.18, allocations: 0.7045 GB / 3.036 GB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.466/36.65, allocations: 1.04 GB / 4.076 GB, free: 53.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 1.019/37.67, allocations: 101.1 MB / 4.175 GB, free: 77.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8979/38.56, allocations: 140.3 MB / 4.312 GB, free: 68.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/38.56, allocations: 55.22 kB / 4.312 GB, free: 68.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=254): time 6.382e-06/38.56, allocations: 0 / 4.312 GB, free: 68.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=277): time 2.735/41.3, allocations: 270.4 MB / 4.576 GB, free: 62.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001422/41.3, allocations: 1.625 MB / 4.577 GB, free: 61.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1167/41.42, allocations: 16.01 MB / 4.593 GB, free: 45.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005159/41.42, allocations: 73.67 kB / 4.593 GB, free: 45.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2105/41.63, allocations: 4.332 MB / 4.597 GB, free: 74.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006774/41.64, allocations: 1.081 MB / 4.598 GB, free: 74.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0076/41.65, allocations: 179.9 kB / 4.598 GB, free: 74.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001063/41.65, allocations: 0.6862 MB / 4.599 GB, free: 74.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7037/42.35, allocations: 85.51 MB / 4.683 GB, free: 59.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.913/43.27, allocations: 90.84 MB / 4.771 GB, free: 67.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.8227/44.09, allocations: 69.78 MB / 4.839 GB, free: 67.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000225/44.09, allocations: 52.72 kB / 4.839 GB, free: 67.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 1.579/45.67, allocations: 161 MB / 4.997 GB, free: 38.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/45.67, allocations: 92.58 kB / 4.997 GB, free: 38.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.7163/46.38, allocations: 48.19 MB / 5.044 GB, free: 65.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/46.39, allocations: 1.038 MB / 5.045 GB, free: 65.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3294/46.72, allocations: 36.03 MB / 5.08 GB, free: 55.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/46.72, allocations: 4.123 MB / 5.084 GB, free: 51.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6604/47.38, allocations: 40.33 MB / 5.123 GB, free: 64.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009301/47.39, allocations: 1.624 MB / 5.125 GB, free: 64.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 858 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1122 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01884/47.41, allocations: 2.861 MB / 5.128 GB, free: 64.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007898/47.42, allocations: 472.1 kB / 5.128 GB, free: 64.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4173/47.84, allocations: 41.22 MB / 5.169 GB, free: 64.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6033/48.44, allocations: 39.03 MB / 5.207 GB, free: 65.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.653e-05/48.44, allocations: 7.469 kB / 5.207 GB, free: 65.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/48.44, allocations: 13.91 kB / 5.207 GB, free: 65.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4207/48.86, allocations: 76.74 MB / 5.282 GB, free: 38.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.734e-05/48.86, allocations: 12.31 kB / 5.282 GB, free: 38.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4916/49.35, allocations: 28.17 MB / 5.309 GB, free: 65.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/49.36, allocations: 0.9666 MB / 5.31 GB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005269/49.36, allocations: 0.8525 MB / 5.311 GB, free: 65.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007742/49.37, allocations: 4.672 MB / 5.315 GB, free: 62.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001191/49.37, allocations: 1.487 MB / 5.317 GB, free: 61.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.101/51.47, allocations: 205.8 MB / 5.518 GB, free: 65.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01944/51.49, allocations: 4.633 MB / 5.522 GB, free: 65.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009108/51.5, allocations: 68.19 kB / 5.523 GB, free: 65.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2906/51.79, allocations: 30.25 MB / 5.552 GB, free: 65.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/51.79, allocations: 225.9 kB / 5.552 GB, free: 65.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005248/51.8, allocations: 0.9187 MB / 5.553 GB, free: 65.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.1107/51.91, allocations: 13.4 MB / 5.566 GB, free: 64.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/51.91, allocations: 0 / 5.566 GB, free: 64.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.02923/51.94, allocations: 3.202 MB / 5.569 GB, free: 64.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004751/51.94, allocations: 240.2 kB / 5.57 GB, free: 64.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 1.769/53.71, allocations: 158.8 MB / 5.725 GB, free: 67.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/53.71, allocations: 5.531 kB / 5.725 GB, free: 67.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.5633/54.28, allocations: 71.29 MB / 5.794 GB, free: 61.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008799/54.29, allocations: 487.7 kB / 5.795 GB, free: 60.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7923/55.08, allocations: 84.78 MB / 5.878 GB, free: 60.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009674/55.09, allocations: 4.478 MB / 5.882 GB, free: 59.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03531/55.12, allocations: 3.39 MB / 5.885 GB, free: 59.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/55.12, allocations: 0 / 5.885 GB, free: 59.98 MB / 314.7 MB Notification: Performance of Templates: time 1.701/56.82, allocations: 443.8 MB / 6.319 GB, free: 82.96 MB / 346.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp\nIn file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:33:\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:966:35: error: non-constant-expression cannot be narrowed from type \'int\' to \'double\' in initializer list [-Wc++11-narrowing]\n double tmp8_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp10) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp12)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:966:35: note: insert an explicit cast to silence this issue\n double tmp8_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp10) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp12)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n static_cast( )\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1083:36: error: non-constant-expression cannot be narrowed from type \'int\' to \'double\' in initializer list [-Wc++11-narrowing]\n double tmp27_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp29) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp31)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1083:36: note: insert an explicit cast to silence this issue\n double tmp27_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp29) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp31)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n static_cast( )\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1216:36: error: non-constant-expression cannot be narrowed from type \'int\' to \'double\' in initializer list [-Wc++11-narrowing]\n double tmp46_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp48) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp50)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1216:36: note: insert an explicit cast to silence this issue\n double tmp46_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp48) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp50)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n static_cast( )\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1308:36: error: non-constant-expression cannot be narrowed from type \'int\' to \'double\' in initializer list [-Wc++11-narrowing]\n double tmp65_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp67) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp69)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.cpp:1308:36: note: insert an explicit cast to silence this issue\n double tmp65_data[]={0.0, 0.0, sgn(((_spring2_P_lineForce_P_lineShape_P_rxvisobj_(1) * tmp67) - (_spring2_P_lineForce_P_lineShape_P_rxvisobj_(2) * tmp69)))};\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n static_cast( )\n4 errors generated.\n: recipe for target \'OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1\n'