Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.032/1.032, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.444e-05, allocations: 4 kB / 151.5 MB, free: 15.53 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 25.15 MB / 176.6 MB, free: 15.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3414, allocations: 46.6 MB / 223.2 MB, free: 2.73 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.3417, allocations: 71.95 kB / 223.3 MB, free: 2.66 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.957/1.299, allocations: 147.8 MB / 371.1 MB, free: 35.44 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.299, allocations: 0 / 371.1 MB, free: 35.44 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002145/1.299, allocations: 94.16 kB / 371.2 MB, free: 35.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: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.03915/1.338, allocations: 6.857 MB / 378.1 MB, free: 33.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.338, allocations: 11.19 kB / 378.1 MB, free: 33.43 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004391/1.343, allocations: 0.8957 MB / 379 MB, free: 33.35 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1883/1.531, allocations: 20.32 MB / 399.3 MB, free: 32.45 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02284/1.554, allocations: 6.095 MB / 405.4 MB, free: 30 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/1.555, allocations: 385.3 kB / 405.8 MB, free: 29.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004521/1.559, allocations: 488 kB / 406.2 MB, free: 29.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04827/1.607, allocations: 16.29 MB / 422.5 MB, free: 14.53 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/1.608, allocations: 33.97 kB / 422.6 MB, free: 14.51 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003751/1.611, allocations: 223.6 kB / 422.8 MB, free: 14.33 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06897/1.681, allocations: 8.254 MB / 431 MB, free: 6.066 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04868/1.729, allocations: 16.96 MB / 448 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8878/2.617, allocations: 109.5 MB / 0.5445 GB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1948/2.812, allocations: 5.296 MB / 0.5496 GB, free: 61.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006435/2.818, allocations: 2.803 MB / 0.5524 GB, free: 61.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1628/2.981, allocations: 24.95 MB / 0.5767 GB, free: 58.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/2.981, allocations: 52.75 kB / 0.5768 GB, free: 58.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=184): time 6.272e-06/2.981, allocations: 2.906 kB / 0.5768 GB, free: 58.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=191): time 0.04063/3.022, allocations: 11.74 MB / 0.5883 GB, free: 56.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001312/3.023, allocations: 1.614 MB / 0.5898 GB, free: 54.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008319/3.032, allocations: 4.073 MB / 0.5938 GB, free: 53.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007381/3.032, allocations: 55.48 kB / 0.5939 GB, free: 53.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002484/3.035, allocations: 3.486 MB / 0.5973 GB, free: 50.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/3.036, allocations: 0.763 MB / 0.598 GB, free: 50.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008669/3.037, allocations: 137.2 kB / 0.5981 GB, free: 50.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000381/3.038, allocations: 0.6104 MB / 0.5987 GB, free: 49.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007289/3.045, allocations: 3.226 MB / 0.6019 GB, free: 48.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009839/3.055, allocations: 7.545 MB / 0.6093 GB, free: 40.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/3.064, allocations: 4.19 MB / 0.6133 GB, free: 37.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/3.064, allocations: 44 kB / 0.6134 GB, free: 37.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02889/3.093, allocations: 10.31 MB / 0.6235 GB, free: 28.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/3.093, allocations: 72 kB / 0.6235 GB, free: 28.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008248/3.101, allocations: 2.773 MB / 0.6262 GB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005414/3.107, allocations: 1.152 MB / 0.6274 GB, free: 25.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/3.117, allocations: 1.67 MB / 0.629 GB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006819/3.124, allocations: 4.722 MB / 0.6336 GB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0203/3.144, allocations: 1.721 MB / 0.6353 GB, free: 17.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/3.146, allocations: 0.6038 MB / 0.6359 GB, free: 17.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (860): * Single equations (assignments): 842 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001584/3.148, allocations: 0.6432 MB / 0.6365 GB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/3.149, allocations: 375.1 kB / 0.6369 GB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009449/3.158, allocations: 3.099 MB / 0.6399 GB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03007/3.188, allocations: 5.051 MB / 0.6448 GB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/3.189, allocations: 7.938 kB / 0.6448 GB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/3.189, allocations: 11.92 kB / 0.6448 GB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2535/3.442, allocations: 12.18 MB / 0.6567 GB, free: 52.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/3.442, allocations: 2.062 kB / 0.6567 GB, free: 52.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/3.445, allocations: 307.8 kB / 0.657 GB, free: 52.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/3.451, allocations: 1.02 MB / 0.658 GB, free: 52.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006985/3.451, allocations: 112.7 kB / 0.6581 GB, free: 52.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007506/3.459, allocations: 4.956 MB / 0.663 GB, free: 49.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00104/3.46, allocations: 1.475 MB / 0.6644 GB, free: 48.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/3.48, allocations: 8.456 MB / 0.6727 GB, free: 48.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/3.482, allocations: 0.4948 MB / 0.6732 GB, free: 47.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/3.483, allocations: 34.92 kB / 0.6732 GB, free: 47.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01474/3.498, allocations: 1.392 MB / 0.6745 GB, free: 47.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/3.498, allocations: 112.3 kB / 0.6747 GB, free: 47.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/3.499, allocations: 212.3 kB / 0.6749 GB, free: 47.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.006053/3.505, allocations: 2.811 MB / 0.6776 GB, free: 47.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.865e-06/3.505, allocations: 0 / 0.6776 GB, free: 47.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00903/3.514, allocations: 1.284 MB / 0.6789 GB, free: 47.74 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 125 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0206/3.535, allocations: 9.375 MB / 0.688 GB, free: 45.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01893/3.554, allocations: 7.743 MB / 0.6956 GB, free: 42.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/3.554, allocations: 11.34 kB / 0.6956 GB, free: 42.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008638/3.563, allocations: 3.084 MB / 0.6986 GB, free: 41.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/3.566, allocations: 384.7 kB / 0.699 GB, free: 41.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03284/3.599, allocations: 11.76 MB / 0.7104 GB, free: 32.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00735/3.606, allocations: 3.73 MB / 0.7141 GB, free: 29.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008069/3.614, allocations: 2.593 MB / 0.7166 GB, free: 27.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.633e-06/3.614, allocations: 0 / 0.7166 GB, free: 27.29 MB / 266.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_FreeBodyCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3387:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp407; ^~~~~~~~~~~ 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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3387:24: error: expected ';' after expression multi_array tmp407; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3387:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp407; ^~~~~~~~~~~~~~~~~~~~~ /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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3387:25: error: use of undeclared identifier 'tmp407' multi_array tmp407; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3390:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp411; ^~~~~~~~~~~ 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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3390:24: error: expected ';' after expression multi_array tmp411; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3390:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp411; ^~~~~~~~~~~~~~~~~~~~~ /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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3390:25: error: use of undeclared identifier 'tmp411'; did you mean 'tmp410'? multi_array tmp411; ^~~~~~ tmp410 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3389:24: note: 'tmp410' declared here DynArrayDim1 tmp410; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3394:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp416; ^~~~~~~~~~~ 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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3394:24: error: expected ';' after expression multi_array tmp416; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3394:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp416; ^~~~~~~~~~~~~~~~~~~~~ /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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3394:25: error: use of undeclared identifier 'tmp416' multi_array tmp416; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3397:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp420; ^~~~~~~~~~~ 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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3397:24: error: expected ';' after expression multi_array tmp420; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3397:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp420; ^~~~~~~~~~~~~~~~~~~~~ /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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3397:25: error: use of undeclared identifier 'tmp420'; did you mean 'tmp410'? multi_array tmp420; ^~~~~~ tmp410 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3389:24: note: 'tmp410' declared here DynArrayDim1 tmp410; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3400:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp424; ^~~~~~~~~~~ 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_FreeBodyCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3400:24: error: expected ';' after expression multi_array tmp424; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3400:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp424; ^~~~~~~~~~~~~~~~~~~~~ /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_FreeBodyCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyCalcHelperMain.o] Error 1