Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadModel(Modelica): time 1.069/1.069, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.504e-05, allocations: 4 kB / 151.4 MB, free: 15.62 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 25.15 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07297/0.2177, allocations: 46.33 MB / 222.9 MB, free: 3.113 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.218, allocations: 75.95 kB / 223 MB, free: 3.039 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.87/1.088, allocations: 158.4 MB / 381.4 MB, free: 35.39 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.395e-05/1.088, allocations: 0 / 381.4 MB, free: 35.39 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002658/1.088, allocations: 108.2 kB / 381.5 MB, free: 35.38 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: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 0.02525/1.114, allocations: 7.021 MB / 388.5 MB, free: 33.21 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.114, allocations: 10.69 kB / 388.5 MB, free: 33.21 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1346/1.248, allocations: 24.83 MB / 413.4 MB, free: 22.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.268, allocations: 7.497 MB / 420.9 MB, free: 17.24 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004623/1.269, allocations: 378.1 kB / 421.2 MB, free: 16.91 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003427/1.272, allocations: 485.3 kB / 421.7 MB, free: 16.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03612/1.309, allocations: 16.38 MB / 438.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/1.309, allocations: 42.52 kB / 438.1 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001838/1.311, allocations: 224.2 kB / 438.3 MB, free: 15.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04421/1.355, allocations: 8.257 MB / 446.6 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1929/1.548, allocations: 17.21 MB / 463.8 MB, free: 44.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6586/2.206, allocations: 109.4 MB / 0.5598 GB, free: 43.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/2.22, allocations: 5.63 MB / 0.5653 GB, free: 42.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/2.225, allocations: 3.291 MB / 0.5685 GB, free: 42.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/2.225, allocations: 344.3 kB / 0.5688 GB, free: 42.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/2.226, allocations: 67.62 kB / 0.5689 GB, free: 42.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=265): time 9.232e-06/2.226, allocations: 0 / 0.5689 GB, free: 42.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=301): time 0.07698/2.303, allocations: 29.13 MB / 0.5974 GB, free: 33.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/2.303, allocations: 477.5 kB / 0.5978 GB, free: 32.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007824/2.311, allocations: 4.37 MB / 0.6021 GB, free: 31.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00073/2.311, allocations: 68.42 kB / 0.6021 GB, free: 31.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/2.313, allocations: 3.401 MB / 0.6055 GB, free: 28.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001336/2.315, allocations: 1.105 MB / 0.6065 GB, free: 27.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/2.316, allocations: 138.3 kB / 0.6067 GB, free: 27.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003986/2.316, allocations: 0.6193 MB / 0.6073 GB, free: 27.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006552/2.323, allocations: 3.661 MB / 0.6109 GB, free: 25.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009146/2.332, allocations: 7.681 MB / 0.6184 GB, free: 16.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/2.34, allocations: 4.627 MB / 0.6229 GB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.905e-05/2.34, allocations: 40 kB / 0.6229 GB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 0.02593/2.366, allocations: 11.47 MB / 0.6341 GB, free: 3.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/2.366, allocations: 64.97 kB / 0.6342 GB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003987/2.367, allocations: 283 kB / 0.6344 GB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004781/2.371, allocations: 1.417 MB / 0.6358 GB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007695/2.379, allocations: 1.706 MB / 0.6375 GB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/2.396, allocations: 8.452 MB / 0.6457 GB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/2.41, allocations: 1.71 MB / 0.6474 GB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/2.413, allocations: 0.5991 MB / 0.648 GB, free: 7.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 647 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (873): * Single equations (assignments): 858 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001851/2.414, allocations: 0.6376 MB / 0.6486 GB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/2.416, allocations: 438.3 kB / 0.649 GB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/2.428, allocations: 4.831 MB / 0.6538 GB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1827/2.611, allocations: 6.631 MB / 0.6602 GB, free: 67.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-05/2.611, allocations: 7.969 kB / 0.6602 GB, free: 67.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/2.611, allocations: 15.45 kB / 0.6603 GB, free: 67.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07232/2.683, allocations: 21.56 MB / 0.6813 GB, free: 65.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/2.683, allocations: 9.094 kB / 0.6813 GB, free: 65.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/2.686, allocations: 441.7 kB / 0.6817 GB, free: 65.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/2.691, allocations: 1.205 MB / 0.6829 GB, free: 65.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008814/2.692, allocations: 121.1 kB / 0.683 GB, free: 65.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/2.704, allocations: 7.435 MB / 0.6903 GB, free: 63.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/2.704, allocations: 13.06 kB / 0.6903 GB, free: 63.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/2.727, allocations: 12.14 MB / 0.7022 GB, free: 58.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003768/2.73, allocations: 1.179 MB / 0.7033 GB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001812/2.732, allocations: 59.94 kB / 0.7034 GB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01023/2.742, allocations: 1.391 MB / 0.7047 GB, free: 57.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/2.743, allocations: 189.2 kB / 0.7049 GB, free: 57.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007172/2.744, allocations: 244.4 kB / 0.7051 GB, free: 57.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007436/2.752, allocations: 3.075 MB / 0.7081 GB, free: 56.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.24e-06/2.752, allocations: 2.844 kB / 0.7081 GB, free: 56.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009719/2.761, allocations: 1.383 MB / 0.7095 GB, free: 56.35 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (229): * Single equations (assignments): 216 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/2.762, allocations: 211.7 kB / 0.7097 GB, free: 56.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01551/2.778, allocations: 8.256 MB / 0.7178 GB, free: 50.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.778, allocations: 4 kB / 0.7178 GB, free: 50.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0062/2.784, allocations: 3.267 MB / 0.721 GB, free: 47.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/2.788, allocations: 0.5033 MB / 0.7215 GB, free: 47.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/2.811, allocations: 11.46 MB / 0.7326 GB, free: 37.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006913/2.818, allocations: 3.99 MB / 0.7365 GB, free: 34.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004488/2.823, allocations: 0.7958 MB / 0.7373 GB, free: 33.67 MB / 282.7 MB Notification: Performance of SimCode: time 1.791e-06/2.823, allocations: 0 / 0.7373 GB, free: 33.67 MB / 282.7 MB Notification: Performance of Templates: time 0.3151/3.138, allocations: 108.9 MB / 0.8437 GB, free: 21.44 MB / 282.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulumCalcHelperMain.o OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp In file included from OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3377:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp401; ^~~~~~~~~~~ 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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3377:24: error: expected ';' after expression multi_array tmp401; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3377:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp401; ^~~~~~~~~~~~~~~~~~~~~ /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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3377:25: error: use of undeclared identifier 'tmp401'; did you mean 'tmp400'? multi_array tmp401; ^~~~~~ tmp400 ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3376:24: note: 'tmp400' declared here DynArrayDim1 tmp400; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3380:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp405; ^~~~~~~~~~~ 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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3380:24: error: expected ';' after expression multi_array tmp405; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3380:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp405; ^~~~~~~~~~~~~~~~~~~~~ /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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3380:25: error: use of undeclared identifier 'tmp405' multi_array tmp405; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3384:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp410; ^~~~~~~~~~~ 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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3384:24: error: expected ';' after expression multi_array tmp410; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3384:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp410; ^~~~~~~~~~~~~~~~~~~~~ /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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3384:25: error: use of undeclared identifier 'tmp410'; did you mean 'tmp400'? multi_array tmp410; ^~~~~~ tmp400 ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3376:24: note: 'tmp400' declared here DynArrayDim1 tmp400; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3387: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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3387:24: error: expected ';' after expression multi_array tmp414; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3387: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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3387:25: error: use of undeclared identifier 'tmp414' multi_array tmp414; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3390: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.DoublePendulumCalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3390:24: error: expected ';' after expression multi_array tmp418; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitialize.cpp:3390: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); ^ 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.DoublePendulumCalcHelperMain.o' failed make: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumCalcHelperMain.o] Error 1