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.PointGravityWithPointMasses.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.008/1.008, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 4 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05292/0.05321, allocations: 25.17 MB / 183.6 MB, free: 5.875 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.2756, allocations: 41.6 MB / 225.2 MB, free: 3.766 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.2758, allocations: 74.12 kB / 225.3 MB, free: 3.758 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7747/1.051, allocations: 127.6 MB / 352.9 MB, free: 37.28 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.051, allocations: 0 / 352.9 MB, free: 37.28 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001226/1.051, allocations: 76 kB / 353 MB, free: 37.2 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.02698/1.078, allocations: 5.559 MB / 358.5 MB, free: 31.57 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.078, allocations: 23.89 kB / 358.6 MB, free: 31.55 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003944/1.082, allocations: 0.7834 MB / 359.4 MB, free: 30.75 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1988/1.281, allocations: 20.24 MB / 379.6 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.292, allocations: 3.033 MB / 382.6 MB, free: 7.395 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/1.292, allocations: 328.3 kB / 382.9 MB, free: 7.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004819/1.297, allocations: 431.8 kB / 383.4 MB, free: 6.648 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3135/1.611, allocations: 25.14 MB / 408.5 MB, free: 37.41 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/1.611, allocations: 33.53 kB / 408.5 MB, free: 37.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002298/1.613, allocations: 197 kB / 408.7 MB, free: 37.41 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06825/1.682, allocations: 8.168 MB / 416.9 MB, free: 37.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1639/1.846, allocations: 26.66 MB / 443.6 MB, free: 27.66 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8967/2.742, allocations: 104.8 MB / 0.5355 GB, free: 22.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0658/2.808, allocations: 9.718 MB / 0.545 GB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/2.932, allocations: 19.17 MB / 0.5637 GB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/2.932, allocations: 46.41 kB / 0.5638 GB, free: 11.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=164): time 6.833e-06/2.932, allocations: 0 / 0.5638 GB, free: 11.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=164): time 0.3318/3.264, allocations: 20.87 MB / 0.5842 GB, free: 66.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/3.264, allocations: 200.5 kB / 0.5844 GB, free: 66.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/3.275, allocations: 3.639 MB / 0.5879 GB, free: 65.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006323/3.275, allocations: 43.72 kB / 0.588 GB, free: 65.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002818/3.278, allocations: 3.208 MB / 0.5911 GB, free: 64.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/3.279, allocations: 0.6976 MB / 0.5918 GB, free: 63.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/3.281, allocations: 142.1 kB / 0.5919 GB, free: 63.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004713/3.281, allocations: 0.6034 MB / 0.5925 GB, free: 63.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03146/3.313, allocations: 5.552 MB / 0.5979 GB, free: 63.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03508/3.348, allocations: 10.08 MB / 0.6078 GB, free: 57.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02948/3.377, allocations: 6.09 MB / 0.6137 GB, free: 57.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002406/3.378, allocations: 46.48 kB / 0.6137 GB, free: 57.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.07064/3.448, allocations: 14.32 MB / 0.6277 GB, free: 54.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/3.448, allocations: 77.84 kB / 0.6278 GB, free: 54.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/3.449, allocations: 161.9 kB / 0.628 GB, free: 54.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/3.449, allocations: 239.9 kB / 0.6282 GB, free: 54.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/3.462, allocations: 1.958 MB / 0.6301 GB, free: 53.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003356/3.462, allocations: 317.8 kB / 0.6304 GB, free: 52.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/3.481, allocations: 2.161 MB / 0.6325 GB, free: 51.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00232/3.483, allocations: 0.5954 MB / 0.6331 GB, free: 50.59 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 () * Number of clocked 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.006621/3.49, allocations: 2.084 MB / 0.6351 GB, free: 48.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/3.491, allocations: 315.9 kB / 0.6354 GB, free: 48.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00804/3.499, allocations: 1.402 MB / 0.6368 GB, free: 47.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01955/3.519, allocations: 2.273 MB / 0.639 GB, free: 46.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/3.519, allocations: 0 / 0.639 GB, free: 46.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/3.519, allocations: 7.594 kB / 0.639 GB, free: 46.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0702/3.589, allocations: 10.47 MB / 0.6492 GB, free: 35.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/3.589, allocations: 4 kB / 0.6493 GB, free: 35.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006263/3.596, allocations: 0.5539 MB / 0.6498 GB, free: 35.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.662e-05/3.596, allocations: 8 kB / 0.6498 GB, free: 35.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007/3.597, allocations: 99.86 kB / 0.6499 GB, free: 34.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.454e-05/3.597, allocations: 4 kB / 0.6499 GB, free: 34.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/3.597, allocations: 7.062 kB / 0.6499 GB, free: 34.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09587/3.692, allocations: 13.65 MB / 0.6632 GB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/3.694, allocations: 448.5 kB / 0.6637 GB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/3.696, allocations: 35.36 kB / 0.6637 GB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01731/3.713, allocations: 1.232 MB / 0.6649 GB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/3.714, allocations: 83.77 kB / 0.665 GB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00057/3.715, allocations: 183.9 kB / 0.6652 GB, free: 19.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.006755/3.721, allocations: 2.483 MB / 0.6676 GB, free: 16.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.41e-07/3.721, allocations: 0 / 0.6676 GB, free: 16.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.009044/3.73, allocations: 1.247 MB / 0.6688 GB, free: 15.59 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 () * Number of clocked 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.2668/3.997, allocations: 14.64 MB / 0.6831 GB, free: 57.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.06333/4.061, allocations: 11.61 MB / 0.6944 GB, free: 57.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/4.061, allocations: 0 / 0.6944 GB, free: 57.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02786/4.089, allocations: 4.381 MB / 0.6987 GB, free: 57.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/4.091, allocations: 257.2 kB / 0.699 GB, free: 57.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4343/4.526, allocations: 158.4 MB / 0.8536 GB, free: 17.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007141/4.533, allocations: 3.214 MB / 0.8568 GB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00799/4.541, allocations: 2.191 MB / 0.8589 GB, free: 15.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.553e-06/4.541, allocations: 0 / 0.8589 GB, free: 15.48 MB / 282.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3351: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3351:24: error: expected ';' after expression multi_array tmp389; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3351: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3351:25: error: use of undeclared identifier 'tmp389' multi_array tmp389; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3354: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3354:24: error: expected ';' after expression multi_array tmp393; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3354: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3354:25: error: use of undeclared identifier 'tmp393' multi_array tmp393; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3358: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3358:24: error: expected ';' after expression multi_array tmp398; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3358: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3358:25: error: use of undeclared identifier 'tmp398' multi_array tmp398; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3361: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3361:24: error: expected ';' after expression multi_array tmp402; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3361: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3361:25: error: use of undeclared identifier 'tmp402' multi_array tmp402; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3364: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:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3364:24: error: expected ';' after expression multi_array tmp406; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMassesInitialize.cpp:3364: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