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.PointGravity.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.PointGravity,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9882/0.9882, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 4 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05552/0.05582, allocations: 25.17 MB / 183.6 MB, free: 5.855 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.2783, allocations: 42.1 MB / 225.7 MB, free: 3.926 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.2786, allocations: 77.48 kB / 225.8 MB, free: 3.914 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7505/1.029, allocations: 130.2 MB / 356 MB, free: 34.97 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.036e-06/1.029, allocations: 0 / 356 MB, free: 34.97 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001544/1.029, allocations: 64 kB / 356.1 MB, free: 34.91 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: 1358 * Number of variables: 1358 Notification: Performance of Generate backend data structure: time 0.04499/1.074, allocations: 6.548 MB / 362.6 MB, free: 28.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.074, allocations: 12.03 kB / 362.6 MB, free: 28.28 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003836/1.078, allocations: 0.6922 MB / 363.3 MB, free: 27.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1854/1.264, allocations: 19.75 MB / 383.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/1.286, allocations: 6.449 MB / 389.5 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004402/1.287, allocations: 266.7 kB / 389.8 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003969/1.291, allocations: 356.3 kB / 390.1 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2973/1.588, allocations: 24.1 MB / 414.2 MB, free: 36.82 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/1.589, allocations: 37.91 kB / 414.3 MB, free: 36.82 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003186/1.592, allocations: 160.9 kB / 414.4 MB, free: 36.82 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06596/1.658, allocations: 7.767 MB / 422.2 MB, free: 36.6 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1407/1.798, allocations: 28.25 MB / 450.4 MB, free: 23.04 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8899/2.688, allocations: 106.5 MB / 0.5439 GB, free: 19.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05588/2.744, allocations: 9.507 MB / 0.5532 GB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/2.745, allocations: 44.39 kB / 0.5532 GB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/2.745, allocations: 63.56 kB / 0.5533 GB, free: 11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=234): time 8.315e-06/2.745, allocations: 1.312 kB / 0.5533 GB, free: 11 MB / 250.7 MB Notification: Performance of matching and sorting (n=248): time 0.3574/3.102, allocations: 37.75 MB / 0.5901 GB, free: 63.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002532/3.105, allocations: 3.261 MB / 0.5933 GB, free: 59.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009651/3.114, allocations: 3.596 MB / 0.5968 GB, free: 59.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/3.116, allocations: 57.33 kB / 0.5969 GB, free: 59.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002723/3.118, allocations: 2.682 MB / 0.5995 GB, free: 58.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002599/3.121, allocations: 0.9432 MB / 0.6004 GB, free: 57.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/3.122, allocations: 128.1 kB / 0.6006 GB, free: 57.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005979/3.123, allocations: 0.5869 MB / 0.6011 GB, free: 57.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08349/3.206, allocations: 7.012 MB / 0.608 GB, free: 57.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04023/3.247, allocations: 10.68 MB / 0.6184 GB, free: 52.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03465/3.281, allocations: 7.297 MB / 0.6255 GB, free: 51.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/3.282, allocations: 33.38 kB / 0.6256 GB, free: 51.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.09328/3.375, allocations: 18.32 MB / 0.6435 GB, free: 46.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/3.375, allocations: 60.97 kB / 0.6435 GB, free: 46.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03077/3.406, allocations: 6.509 MB / 0.6499 GB, free: 41.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/3.42, allocations: 2.224 MB / 0.652 GB, free: 39.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/3.431, allocations: 1.665 MB / 0.6537 GB, free: 38.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/3.44, allocations: 7.476 MB / 0.661 GB, free: 30.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02256/3.462, allocations: 1.965 MB / 0.6629 GB, free: 28.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/3.464, allocations: 0.5651 MB / 0.6634 GB, free: 27.49 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 587 * Number of states: 0 () * Number of discrete variables: 15 (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 (795): * Single equations (assignments): 769 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005401/3.47, allocations: 1.907 MB / 0.6653 GB, free: 25.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/3.471, allocations: 339.3 kB / 0.6656 GB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/3.473, allocations: 0.5166 MB / 0.6661 GB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0537/3.527, allocations: 8.93 MB / 0.6748 GB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.816e-05/3.527, allocations: 8 kB / 0.6749 GB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.6e-05/3.527, allocations: 11.97 kB / 0.6749 GB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3293/3.856, allocations: 25.98 MB / 0.7002 GB, free: 53.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.469e-05/3.856, allocations: 7.562 kB / 0.7002 GB, free: 53.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004446/3.861, allocations: 436.7 kB / 0.7007 GB, free: 53.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/3.876, allocations: 2.349 MB / 0.703 GB, free: 53.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/3.877, allocations: 138.3 kB / 0.7031 GB, free: 53.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/3.89, allocations: 9.018 MB / 0.7119 GB, free: 48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002072/3.892, allocations: 2.92 MB / 0.7147 GB, free: 45.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1118/4.004, allocations: 21.7 MB / 0.7359 GB, free: 41.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/4.006, allocations: 497.5 kB / 0.7364 GB, free: 41.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002527/4.009, allocations: 66.97 kB / 0.7365 GB, free: 41.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01759/4.026, allocations: 1.516 MB / 0.738 GB, free: 41.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/4.027, allocations: 177.2 kB / 0.7381 GB, free: 41.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007788/4.028, allocations: 237.6 kB / 0.7384 GB, free: 41.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.007163/4.035, allocations: 2.531 MB / 0.7408 GB, free: 40.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.122e-06/4.035, allocations: 0 / 0.7408 GB, free: 40.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.009601/4.045, allocations: 1.32 MB / 0.7421 GB, free: 40.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$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]) * 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 (186): * Single equations (assignments): 166 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1132/4.158, allocations: 24.13 MB / 0.7657 GB, free: 20.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1041/4.262, allocations: 15.91 MB / 0.7812 GB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/4.262, allocations: 0 / 0.7812 GB, free: 4.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2355/4.498, allocations: 7.767 MB / 0.7888 GB, free: 59.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0173/4.515, allocations: 330.6 kB / 0.7891 GB, free: 59.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4802/4.995, allocations: 144.3 MB / 0.93 GB, free: 93.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005766/5.001, allocations: 3.127 MB / 0.9331 GB, free: 93.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00846/5.01, allocations: 2.148 MB / 0.9352 GB, free: 91.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/5.01, allocations: 0 / 0.9352 GB, free: 91.68 MB / 314.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_PointGravityCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3352:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp414; ^~~~~~~~~~~ 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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3352:24: error: expected ';' after expression multi_array tmp414; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3352:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp414; ^~~~~~~~~~~~~~~~~~~~~ /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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3352:25: error: use of undeclared identifier 'tmp414' multi_array tmp414; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3355:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp418; ^~~~~~~~~~~ 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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3355:24: error: expected ';' after expression multi_array tmp418; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3355:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp418; ^~~~~~~~~~~~~~~~~~~~~ /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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3355:25: error: use of undeclared identifier 'tmp418' multi_array tmp418; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3359:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp423; ^~~~~~~~~~~ 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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3359:24: error: expected ';' after expression multi_array tmp423; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3359:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp423; ^~~~~~~~~~~~~~~~~~~~~ /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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3359:25: error: use of undeclared identifier 'tmp423' multi_array tmp423; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3362:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp427; ^~~~~~~~~~~ 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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3362:24: error: expected ';' after expression multi_array tmp427; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3362:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp427; ^~~~~~~~~~~~~~~~~~~~~ /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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3362:25: error: use of undeclared identifier 'tmp427' multi_array tmp427; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3365:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp431; ^~~~~~~~~~~ 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_PointGravityCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3365:24: error: expected ';' after expression multi_array tmp431; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityInitialize.cpp:3365:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp431; ^~~~~~~~~~~~~~~~~~~~~ /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_PointGravityCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityCalcHelperMain.o] Error 1