Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 0.9675/0.9675, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.58e-05, allocations: 0 / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 25.15 MB / 176.6 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08435/0.2274, allocations: 54.89 MB / 231.4 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.2276, allocations: 75.95 kB / 231.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51/1.738, allocations: 271.7 MB / 0.4914 GB, free: 21.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.137e-06/1.738, allocations: 0 / 0.4914 GB, free: 21.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004558/1.739, allocations: 179 kB / 0.4915 GB, free: 21.97 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3095 * Number of variables: 3095 Notification: Performance of Generate backend data structure: time 0.04357/1.782, allocations: 11.86 MB / 0.5031 GB, free: 18.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.782, allocations: 9.062 kB / 0.5031 GB, free: 18.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2112/1.993, allocations: 36.64 MB / 0.5389 GB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03913/2.033, allocations: 12.32 MB / 0.5509 GB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/2.034, allocations: 0.6457 MB / 0.5516 GB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006934/2.041, allocations: 0.8486 MB / 0.5524 GB, free: 0 / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2484/2.289, allocations: 28.32 MB / 0.5801 GB, free: 32.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004866/2.29, allocations: 67.58 kB / 0.5801 GB, free: 32.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005255/2.295, allocations: 384.4 kB / 0.5805 GB, free: 32.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07455/2.37, allocations: 13.22 MB / 0.5934 GB, free: 32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06917/2.439, allocations: 28.89 MB / 0.6216 GB, free: 19.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.243/3.681, allocations: 181.4 MB / 0.7987 GB, free: 31.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03574/3.717, allocations: 11.04 MB / 0.8095 GB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01159/3.729, allocations: 6.314 MB / 0.8157 GB, free: 30.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1821/3.911, allocations: 44.13 MB / 0.8588 GB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/3.911, allocations: 82.3 kB / 0.8588 GB, free: 22.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=407): time 1.058e-05/3.911, allocations: 0 / 0.8588 GB, free: 22.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=495): time 0.3527/4.264, allocations: 45.62 MB / 0.9034 GB, free: 69.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/4.264, allocations: 281 kB / 0.9037 GB, free: 69.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/4.278, allocations: 6.943 MB / 0.9104 GB, free: 69.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0012/4.28, allocations: 97.8 kB / 0.9105 GB, free: 69.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004077/4.284, allocations: 5.847 MB / 0.9162 GB, free: 66.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002643/4.286, allocations: 1.807 MB / 0.918 GB, free: 65.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002384/4.289, allocations: 244.9 kB / 0.9182 GB, free: 65.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001173/4.29, allocations: 0.8319 MB / 0.919 GB, free: 65.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0131/4.303, allocations: 5.796 MB / 0.9247 GB, free: 65.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/4.32, allocations: 12.54 MB / 0.937 GB, free: 56.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/4.335, allocations: 7.498 MB / 0.9443 GB, free: 55.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002553/4.335, allocations: 68.88 kB / 0.9443 GB, free: 55.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=1605) (initialization): time 0.05203/4.388, allocations: 19.49 MB / 0.9634 GB, free: 49.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/4.388, allocations: 106.6 kB / 0.9635 GB, free: 49.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000308/4.388, allocations: 239.2 kB / 0.9637 GB, free: 49.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01868/4.407, allocations: 4.294 MB / 0.9679 GB, free: 48.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/4.421, allocations: 2.844 MB / 0.9707 GB, free: 48.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02816/4.449, allocations: 14.96 MB / 0.9853 GB, free: 41.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02562/4.475, allocations: 2.401 MB / 0.9876 GB, free: 41.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003488/4.479, allocations: 0.9796 MB / 0.9886 GB, free: 40.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1460): * Single equations (assignments): 1442 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,64.0%) 47} * Non-linear torn systems: 1 {2 43} Notification: Performance of prepare postOptimizeDAE: time 0.004131/4.483, allocations: 1.014 MB / 0.9896 GB, free: 39.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/4.485, allocations: 0.7135 MB / 0.9903 GB, free: 38.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/4.511, allocations: 10.32 MB / 1 GB, free: 30.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01741/4.529, allocations: 3.263 MB / 1.004 GB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.302e-05/4.529, allocations: 8 kB / 1.004 GB, free: 28.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/4.529, allocations: 25.42 kB / 1.004 GB, free: 28.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3032/4.832, allocations: 32.53 MB / 1.035 GB, free: 60.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/4.832, allocations: 5.766 kB / 1.035 GB, free: 60.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005182/4.837, allocations: 0.6729 MB / 1.036 GB, free: 60.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01632/4.854, allocations: 3.416 MB / 1.039 GB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001413/4.855, allocations: 178.2 kB / 1.04 GB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/4.88, allocations: 13.07 MB / 1.052 GB, free: 58.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.84e-06/4.88, allocations: 0 / 1.052 GB, free: 58.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04301/4.923, allocations: 18.72 MB / 1.071 GB, free: 53.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005826/4.929, allocations: 1.776 MB / 1.072 GB, free: 52.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00269/4.932, allocations: 70.5 kB / 1.072 GB, free: 52.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01662/4.948, allocations: 1.89 MB / 1.074 GB, free: 52.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001415/4.95, allocations: 266.9 kB / 1.074 GB, free: 52.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001903/4.952, allocations: 351.7 kB / 1.075 GB, free: 52.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01077/4.963, allocations: 4.83 MB / 1.08 GB, free: 50.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.027e-06/4.963, allocations: 1.219 kB / 1.08 GB, free: 50.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01564/4.978, allocations: 2.365 MB / 1.082 GB, free: 50.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (372): * Single equations (assignments): 354 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 1 {1 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/4.98, allocations: 267.6 kB / 1.082 GB, free: 50.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.02677/5.007, allocations: 13.46 MB / 1.095 GB, free: 40.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.517e-06/5.007, allocations: 0 / 1.095 GB, free: 40.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009787/5.017, allocations: 5.094 MB / 1.1 GB, free: 36.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005509/5.022, allocations: 0.7596 MB / 1.101 GB, free: 35.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2913/5.314, allocations: 18.75 MB / 1.119 GB, free: 62.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01401/5.328, allocations: 6.247 MB / 1.125 GB, free: 61.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007402/5.335, allocations: 1.231 MB / 1.127 GB, free: 61.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.765e-06/5.335, allocations: 1.656 kB / 1.127 GB, free: 61.54 MB / 314.7 MB Notification: Performance of Templates: time 0.494/5.829, allocations: 209.1 MB / 1.331 GB, free: 12.95 MB / 330.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.LineForceWithTwoMassesCalcHelperMain.o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.cpp In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3993:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp520; ^~~~~~~~~~~ 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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3993:24: error: expected ';' after expression multi_array tmp520; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3993:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp520; ^~~~~~~~~~~~~~~~~~~~~ /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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3993:25: error: use of undeclared identifier 'tmp520' multi_array tmp520; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3996:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp524; ^~~~~~~~~~~ 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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3996:24: error: expected ';' after expression multi_array tmp524; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3996:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp524; ^~~~~~~~~~~~~~~~~~~~~ /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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:3996:25: error: use of undeclared identifier 'tmp524' multi_array tmp524; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4000:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp529; ^~~~~~~~~~~ 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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4000:24: error: expected ';' after expression multi_array tmp529; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4000:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp529; ^~~~~~~~~~~~~~~~~~~~~ /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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4000:25: error: use of undeclared identifier 'tmp529' multi_array tmp529; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4003:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp533; ^~~~~~~~~~~ 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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4003:24: error: expected ';' after expression multi_array tmp533; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4003:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp533; ^~~~~~~~~~~~~~~~~~~~~ /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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4003:25: error: use of undeclared identifier 'tmp533' multi_array tmp533; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4006:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp537; ^~~~~~~~~~~ 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.LineForceWithTwoMassesCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4006:24: error: expected ';' after expression multi_array tmp537; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesInitialize.cpp:4006:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp537; ^~~~~~~~~~~~~~~~~~~~~ /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.LineForceWithTwoMassesCalcHelperMain.o' failed make: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMassesCalcHelperMain.o] Error 1