Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.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.045/1.045, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 8 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0571/0.05741, allocations: 25.17 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.2912, allocations: 46.68 MB / 230.3 MB, free: 15.55 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.2915, allocations: 74.47 kB / 230.3 MB, free: 15.51 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8214/1.113, allocations: 148 MB / 378.3 MB, free: 12.48 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.113, allocations: 4 kB / 378.3 MB, free: 12.47 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002353/1.113, allocations: 92 kB / 378.4 MB, free: 12.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: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.04083/1.154, allocations: 7.067 MB / 385.5 MB, free: 5.242 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.154, allocations: 11.97 kB / 385.5 MB, free: 5.23 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005085/1.159, allocations: 0.894 MB / 386.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3606/1.52, allocations: 20.37 MB / 406.8 MB, free: 27.81 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/1.542, allocations: 6.108 MB / 412.9 MB, free: 27.54 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006537/1.543, allocations: 380 kB / 413.2 MB, free: 27.53 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004739/1.548, allocations: 482.1 kB / 413.7 MB, free: 27.53 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1309/1.679, allocations: 25.29 MB / 439 MB, free: 25.57 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/1.679, allocations: 40.61 kB / 439 MB, free: 25.56 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004164/1.683, allocations: 216 kB / 439.3 MB, free: 25.56 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.06741/1.751, allocations: 8.259 MB / 447.5 MB, free: 20.56 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1372/1.888, allocations: 26.89 MB / 474.4 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9012/2.789, allocations: 109.5 MB / 0.5703 GB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2268/3.016, allocations: 8.612 MB / 0.5787 GB, free: 55.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1605/3.176, allocations: 24.96 MB / 0.603 GB, free: 52.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/3.177, allocations: 53.39 kB / 0.6031 GB, free: 52.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=184): time 7.043e-06/3.177, allocations: 0 / 0.6031 GB, free: 52.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=191): time 0.1334/3.31, allocations: 24.68 MB / 0.6272 GB, free: 48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001397/3.311, allocations: 1.633 MB / 0.6288 GB, free: 46.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00922/3.321, allocations: 4.118 MB / 0.6328 GB, free: 46.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008118/3.321, allocations: 53.2 kB / 0.6329 GB, free: 46.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002773/3.324, allocations: 3.484 MB / 0.6363 GB, free: 43.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001523/3.326, allocations: 0.7568 MB / 0.637 GB, free: 43.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009282/3.327, allocations: 140.8 kB / 0.6371 GB, free: 43.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004056/3.327, allocations: 0.6132 MB / 0.6377 GB, free: 42.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03413/3.361, allocations: 6.248 MB / 0.6438 GB, free: 38.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03662/3.398, allocations: 10.62 MB / 0.6542 GB, free: 25.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03162/3.43, allocations: 6.682 MB / 0.6607 GB, free: 19.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/3.43, allocations: 44 kB / 0.6608 GB, free: 19.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.2646/3.694, allocations: 16.32 MB / 0.6767 GB, free: 43.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/3.695, allocations: 83.11 kB / 0.6768 GB, free: 43.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01877/3.713, allocations: 3.662 MB / 0.6804 GB, free: 43.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00618/3.72, allocations: 1.161 MB / 0.6815 GB, free: 43.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009954/3.73, allocations: 1.668 MB / 0.6831 GB, free: 43.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/3.737, allocations: 4.801 MB / 0.6878 GB, free: 41.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01991/3.757, allocations: 1.734 MB / 0.6895 GB, free: 41.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/3.759, allocations: 0.5989 MB / 0.6901 GB, free: 41.39 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 () * Number of clocked 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.006731/3.766, allocations: 2.355 MB / 0.6924 GB, free: 41.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/3.767, allocations: 373.1 kB / 0.6927 GB, free: 41.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/3.787, allocations: 3.979 MB / 0.6966 GB, free: 41.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03951/3.826, allocations: 5.94 MB / 0.7024 GB, free: 41.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/3.826, allocations: 3.625 kB / 0.7024 GB, free: 41.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.784e-05/3.826, allocations: 15.36 kB / 0.7025 GB, free: 41.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09617/3.923, allocations: 12.2 MB / 0.7144 GB, free: 40.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/3.923, allocations: 0 / 0.7144 GB, free: 40.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/3.926, allocations: 312.2 kB / 0.7147 GB, free: 40.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005155/3.931, allocations: 1.019 MB / 0.7157 GB, free: 40.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006548/3.931, allocations: 109.9 kB / 0.7158 GB, free: 40.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007717/3.939, allocations: 5.049 MB / 0.7207 GB, free: 38.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001079/3.94, allocations: 1.488 MB / 0.7221 GB, free: 36.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09432/4.035, allocations: 16.93 MB / 0.7387 GB, free: 31.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/4.036, allocations: 0.4972 MB / 0.7392 GB, free: 31.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/4.038, allocations: 39.89 kB / 0.7392 GB, free: 31.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01466/4.053, allocations: 1.39 MB / 0.7406 GB, free: 30.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005268/4.053, allocations: 108.8 kB / 0.7407 GB, free: 30.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005983/4.054, allocations: 215.5 kB / 0.7409 GB, free: 29.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.006791/4.061, allocations: 2.851 MB / 0.7436 GB, free: 27.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.91e-07/4.061, allocations: 4 kB / 0.7436 GB, free: 27.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.009322/4.07, allocations: 1.284 MB / 0.7449 GB, free: 25.77 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 () * Number of clocked 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.09403/4.164, allocations: 17.82 MB / 0.7623 GB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.2519/4.416, allocations: 13.98 MB / 0.776 GB, free: 50.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/4.416, allocations: 1.094 kB / 0.776 GB, free: 50.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03583/4.452, allocations: 6.101 MB / 0.7819 GB, free: 49.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/4.455, allocations: 378.1 kB / 0.7823 GB, free: 49.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4209/4.876, allocations: 162.3 MB / 0.9408 GB, free: 29.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006254/4.883, allocations: 3.727 MB / 0.9444 GB, free: 28.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007815/4.89, allocations: 2.594 MB / 0.947 GB, free: 27.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/4.89, allocations: 0 / 0.947 GB, free: 27.91 MB / 298.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:3375: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:3375:24: error: expected ';' after expression multi_array tmp407; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3375: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:3375:25: error: use of undeclared identifier 'tmp407' multi_array tmp407; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3378: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:3378:24: error: expected ';' after expression multi_array tmp411; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3378: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:3378: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:3377:24: note: 'tmp410' declared here DynArrayDim1 tmp410; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3382: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:3382:24: error: expected ';' after expression multi_array tmp416; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3382: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:3382:25: error: use of undeclared identifier 'tmp416' multi_array tmp416; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3385: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:3385:24: error: expected ';' after expression multi_array tmp420; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3385: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:3385: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:3377:24: note: 'tmp410' declared here DynArrayDim1 tmp410; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3388: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:3388:24: error: expected ';' after expression multi_array tmp424; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBodyInitialize.cpp:3388: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