Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadModel(Modelica): time 0.9543/0.9543, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.561e-05, allocations: 4 kB / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 25.15 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.27, allocations: 47.75 MB / 224.3 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.2703, allocations: 75.95 kB / 224.4 MB, free: 1.598 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06/1.33, allocations: 182.4 MB / 406.8 MB, free: 33.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.33, allocations: 0 / 406.8 MB, free: 33.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002222/1.33, allocations: 108 kB / 406.9 MB, free: 33.43 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: 2050 * Number of variables: 2050 Notification: Performance of Generate backend data structure: time 0.02634/1.357, allocations: 7.542 MB / 414.4 MB, free: 25.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.357, allocations: 8.031 kB / 414.4 MB, free: 25.81 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1453/1.502, allocations: 24.84 MB / 439.3 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02209/1.524, allocations: 7.054 MB / 446.3 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007455/1.525, allocations: 451.2 kB / 446.8 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/1.53, allocations: 0.5475 MB / 447.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1993/1.729, allocations: 18.86 MB / 466.2 MB, free: 39.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002683/1.729, allocations: 41.84 kB / 466.2 MB, free: 39.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003101/1.732, allocations: 255.7 kB / 466.5 MB, free: 39.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06938/1.802, allocations: 10 MB / 476.5 MB, free: 39.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05556/1.857, allocations: 19.43 MB / 495.9 MB, free: 36.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7026/2.56, allocations: 126.7 MB / 0.608 GB, free: 31.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/2.571, allocations: 4.655 MB / 0.6125 GB, free: 27.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/2.575, allocations: 2.149 MB / 0.6146 GB, free: 26.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1456/2.72, allocations: 23.05 MB / 0.6371 GB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/2.721, allocations: 54.73 kB / 0.6372 GB, free: 4.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=195): time 7.955e-06/2.721, allocations: 0 / 0.6372 GB, free: 4.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=213): time 0.03753/2.758, allocations: 11.61 MB / 0.6485 GB, free: 10.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/2.758, allocations: 153.5 kB / 0.6487 GB, free: 10.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/2.77, allocations: 4.689 MB / 0.6532 GB, free: 6.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005943/2.77, allocations: 56.36 kB / 0.6533 GB, free: 6.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00445/2.775, allocations: 4.017 MB / 0.6572 GB, free: 2.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/2.776, allocations: 0.847 MB / 0.658 GB, free: 1.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/2.777, allocations: 156 kB / 0.6582 GB, free: 1.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0007449/2.778, allocations: 0.6415 MB / 0.6588 GB, free: 0.7266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.166/2.944, allocations: 3.025 MB / 0.6618 GB, free: 66.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009415/2.954, allocations: 7.957 MB / 0.6695 GB, free: 60.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008026/2.962, allocations: 4.078 MB / 0.6735 GB, free: 60.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/2.962, allocations: 50.19 kB / 0.6736 GB, free: 60.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02346/2.985, allocations: 9.583 MB / 0.6829 GB, free: 59.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/2.985, allocations: 79.97 kB / 0.683 GB, free: 59.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/2.986, allocations: 177.7 kB / 0.6832 GB, free: 59.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/2.986, allocations: 260.7 kB / 0.6834 GB, free: 59.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008428/2.994, allocations: 1.961 MB / 0.6853 GB, free: 59.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003134/2.995, allocations: 343.6 kB / 0.6857 GB, free: 59.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01637/3.011, allocations: 1.882 MB / 0.6875 GB, free: 59.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/3.013, allocations: 0.6784 MB / 0.6882 GB, free: 59.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 33 (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],p1.boxColor[3],p1.boxColor[2],p1.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 971 * Array equations: 13 * 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.002386/3.016, allocations: 0.7067 MB / 0.6889 GB, free: 58.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/3.017, allocations: 432.5 kB / 0.6893 GB, free: 58.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/3.021, allocations: 1.717 MB / 0.6909 GB, free: 58.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01402/3.035, allocations: 2.665 MB / 0.6935 GB, free: 58.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/3.035, allocations: 0.875 kB / 0.6935 GB, free: 58.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-05/3.035, allocations: 8.625 kB / 0.6936 GB, free: 58.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06189/3.097, allocations: 16.24 MB / 0.7094 GB, free: 55.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-05/3.097, allocations: 16.91 kB / 0.7094 GB, free: 55.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/3.099, allocations: 382.9 kB / 0.7098 GB, free: 55.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-05/3.099, allocations: 27.78 kB / 0.7098 GB, free: 55.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005694/3.1, allocations: 138.5 kB / 0.71 GB, free: 55.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-05/3.1, allocations: 42.16 kB / 0.71 GB, free: 55.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-05/3.1, allocations: 29.5 kB / 0.71 GB, free: 55.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/3.112, allocations: 9.453 MB / 0.7193 GB, free: 49.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/3.115, allocations: 1.004 MB / 0.7202 GB, free: 48.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/3.117, allocations: 63.7 kB / 0.7203 GB, free: 48.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/3.127, allocations: 1.399 MB / 0.7217 GB, free: 48.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004747/3.127, allocations: 174.5 kB / 0.7218 GB, free: 48.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005833/3.128, allocations: 258.8 kB / 0.7221 GB, free: 48.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0068/3.135, allocations: 3.242 MB / 0.7252 GB, free: 45.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.893e-06/3.135, allocations: 0 / 0.7252 GB, free: 45.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009449/3.144, allocations: 1.298 MB / 0.7265 GB, free: 44.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 174 * Array equations: 13 * 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.0007556/3.145, allocations: 224.8 kB / 0.7267 GB, free: 43.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/3.157, allocations: 6.478 MB / 0.733 GB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/3.157, allocations: 7.844 kB / 0.7331 GB, free: 38.26 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003265/3.16, allocations: 1.834 MB / 0.7348 GB, free: 36.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/3.164, allocations: 448.7 kB / 0.7353 GB, free: 36.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/3.186, allocations: 10.7 MB / 0.7457 GB, free: 26.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0072/3.193, allocations: 4.126 MB / 0.7498 GB, free: 23.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004263/3.197, allocations: 0.8686 MB / 0.7506 GB, free: 22.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.856e-06/3.197, allocations: 0 / 0.7506 GB, free: 22.91 MB / 282.7 MB Notification: Performance of Templates: time 0.2978/3.495, allocations: 85.54 MB / 0.8341 GB, free: 30.96 MB / 282.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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.SpringMassSystemCalcHelperMain.o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.cpp In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3459:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp432; ^~~~~~~~~~~ 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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3459:24: error: expected ';' after expression multi_array tmp432; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3459:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp432; ^~~~~~~~~~~~~~~~~~~~~ /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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3459:25: error: use of undeclared identifier 'tmp432' multi_array tmp432; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3462:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp436; ^~~~~~~~~~~ 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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3462:24: error: expected ';' after expression multi_array tmp436; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3462:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp436; ^~~~~~~~~~~~~~~~~~~~~ /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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3462:25: error: use of undeclared identifier 'tmp436' multi_array tmp436; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3466:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp441; ^~~~~~~~~~~ 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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3466:24: error: expected ';' after expression multi_array tmp441; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3466:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp441; ^~~~~~~~~~~~~~~~~~~~~ /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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3466:25: error: use of undeclared identifier 'tmp441' multi_array tmp441; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3469:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp445; ^~~~~~~~~~~ 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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3469:24: error: expected ';' after expression multi_array tmp445; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3469:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp445; ^~~~~~~~~~~~~~~~~~~~~ /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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3469:25: error: use of undeclared identifier 'tmp445' multi_array tmp445; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3472:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp449; ^~~~~~~~~~~ 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.SpringMassSystemCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3472:24: error: expected ';' after expression multi_array tmp449; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemInitialize.cpp:3472:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp449; ^~~~~~~~~~~~~~~~~~~~~ /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.SpringMassSystemCalcHelperMain.o' failed make: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o] Error 1