Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadModel(Modelica): time 0.9701/0.9701, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.904e-05, allocations: 4 kB / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 25.15 MB / 176.6 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.2662, allocations: 41.52 MB / 218.1 MB, free: 7.922 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004692/0.2668, allocations: 75.95 kB / 218.1 MB, free: 7.848 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6675/0.9343, allocations: 127.5 MB / 345.6 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.9344, allocations: 0 / 345.6 MB, free: 6.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002673/0.9347, allocations: 76 kB / 345.7 MB, free: 6.598 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.02651/0.9612, allocations: 5.493 MB / 351.2 MB, free: 1.035 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9613, allocations: 8.031 kB / 351.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3113/1.273, allocations: 20.18 MB / 371.4 MB, free: 41.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00864/1.281, allocations: 3.037 MB / 374.4 MB, free: 40.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004516/1.282, allocations: 330.5 kB / 374.8 MB, free: 40.89 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/1.285, allocations: 426 kB / 375.2 MB, free: 40.89 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0427/1.328, allocations: 16.17 MB / 391.3 MB, free: 39.29 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/1.328, allocations: 36.81 kB / 391.4 MB, free: 39.28 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.33, allocations: 199.6 kB / 391.6 MB, free: 39.28 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04319/1.373, allocations: 8.163 MB / 399.7 MB, free: 34.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03759/1.411, allocations: 16.74 MB / 416.5 MB, free: 18.3 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6863/2.097, allocations: 104.8 MB / 0.5091 GB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02575/2.123, allocations: 6.762 MB / 0.5157 GB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/2.127, allocations: 2.049 MB / 0.5177 GB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08368/2.21, allocations: 19.16 MB / 0.5364 GB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/2.21, allocations: 48.75 kB / 0.5364 GB, free: 5.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=164): time 6.727e-06/2.21, allocations: 0 / 0.5364 GB, free: 5.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=164): time 0.238/2.448, allocations: 9.743 MB / 0.546 GB, free: 67.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/2.449, allocations: 204.2 kB / 0.5462 GB, free: 67.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008039/2.457, allocations: 3.594 MB / 0.5497 GB, free: 66.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005047/2.457, allocations: 43.25 kB / 0.5497 GB, free: 66.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002319/2.46, allocations: 3.206 MB / 0.5528 GB, free: 65.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/2.461, allocations: 0.6915 MB / 0.5535 GB, free: 64.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/2.462, allocations: 144.4 kB / 0.5537 GB, free: 64.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005926/2.462, allocations: 0.6018 MB / 0.5542 GB, free: 64.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/2.469, allocations: 2.77 MB / 0.5569 GB, free: 64.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/2.477, allocations: 7.251 MB / 0.564 GB, free: 58.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/2.485, allocations: 3.792 MB / 0.5677 GB, free: 58.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/2.485, allocations: 44.78 kB / 0.5678 GB, free: 58.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02175/2.507, allocations: 8.728 MB / 0.5763 GB, free: 56.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/2.507, allocations: 73.19 kB / 0.5764 GB, free: 56.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001979/2.507, allocations: 164.5 kB / 0.5765 GB, free: 56.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/2.508, allocations: 234.1 kB / 0.5767 GB, free: 56.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0099/2.518, allocations: 1.966 MB / 0.5787 GB, free: 56.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002849/2.518, allocations: 311.4 kB / 0.579 GB, free: 56.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/2.532, allocations: 2.16 MB / 0.5811 GB, free: 55.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.534, allocations: 0.5938 MB / 0.5817 GB, free: 55.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (877): * Single equations (assignments): 866 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002131/2.537, allocations: 0.6424 MB / 0.5823 GB, free: 55.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009905/2.538, allocations: 316.9 kB / 0.5826 GB, free: 54.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/2.54, allocations: 0.952 MB / 0.5835 GB, free: 54.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01322/2.553, allocations: 2.278 MB / 0.5857 GB, free: 54.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/2.553, allocations: 0.875 kB / 0.5857 GB, free: 54.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.142e-05/2.553, allocations: 12.45 kB / 0.5857 GB, free: 54.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/2.6, allocations: 10.47 MB / 0.596 GB, free: 52.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/2.6, allocations: 4 kB / 0.596 GB, free: 52.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004021/2.604, allocations: 0.5459 MB / 0.5965 GB, free: 51.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/2.604, allocations: 8 kB / 0.5965 GB, free: 51.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005371/2.605, allocations: 106.2 kB / 0.5966 GB, free: 51.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/2.605, allocations: 7.797 kB / 0.5966 GB, free: 51.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.898e-06/2.605, allocations: 7.938 kB / 0.5966 GB, free: 51.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009535/2.614, allocations: 5.865 MB / 0.6024 GB, free: 46.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/2.615, allocations: 443.4 kB / 0.6028 GB, free: 46.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.617, allocations: 39.88 kB / 0.6028 GB, free: 46.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00891/2.625, allocations: 1.229 MB / 0.604 GB, free: 45.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/2.626, allocations: 88.69 kB / 0.6041 GB, free: 45.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004437/2.626, allocations: 186.7 kB / 0.6043 GB, free: 45.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004992/2.631, allocations: 2.427 MB / 0.6067 GB, free: 43.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.128e-06/2.631, allocations: 0 / 0.6067 GB, free: 43.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008541/2.64, allocations: 1.251 MB / 0.6079 GB, free: 41.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 114 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/2.641, allocations: 185.6 kB / 0.6081 GB, free: 41.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/2.652, allocations: 5.871 MB / 0.6138 GB, free: 36.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.112e-06/2.652, allocations: 4.062 kB / 0.6138 GB, free: 36.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/2.655, allocations: 1.628 MB / 0.6154 GB, free: 35.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/2.657, allocations: 264.7 kB / 0.6156 GB, free: 34.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/2.675, allocations: 9.254 MB / 0.6247 GB, free: 26.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004666/2.68, allocations: 3.215 MB / 0.6278 GB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/2.684, allocations: 0.7057 MB / 0.6285 GB, free: 23.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.692e-06/2.684, allocations: 0 / 0.6285 GB, free: 23.24 MB / 266.7 MB Notification: Performance of Templates: time 0.2571/2.941, allocations: 68.8 MB / 0.6957 GB, free: 37.57 MB / 266.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile 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=2 -DSUNDIALS_MINOR_VERSION=6 -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.PointGravityWithPointMassesCalcHelperMain.o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3340:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp389; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3340:24: error: expected ';' after expression multi_array tmp389; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3340:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp389; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3340:25: error: use of undeclared identifier 'tmp389' multi_array tmp389; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3343:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp393; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3343:24: error: expected ';' after expression multi_array tmp393; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3343:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp393; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3343:25: error: use of undeclared identifier 'tmp393' multi_array tmp393; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3347:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp398; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3347:24: error: expected ';' after expression multi_array tmp398; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3347:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp398; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3347:25: error: use of undeclared identifier 'tmp398' multi_array tmp398; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3350:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp402; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3350:24: error: expected ';' after expression multi_array tmp402; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3350:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp402; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3350:25: error: use of undeclared identifier 'tmp402' multi_array tmp402; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3353:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp406; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3353:24: error: expected ';' after expression multi_array tmp406; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesInitialize.cpp:3353:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp406; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o' failed make: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesCalcHelperMain.o] Error 1