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.Loops.Engine1a.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.Loops.Engine1a,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.058/1.058, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.941e-05, allocations: 4 kB / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09196/0.2672, allocations: 50.04 MB / 229.6 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.2676, allocations: 83.83 kB / 229.6 MB, free: 14.94 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673/1.94, allocations: 269.7 MB / 499.3 MB, free: 8.672 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.94, allocations: 0 / 499.3 MB, free: 8.672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0007385/1.941, allocations: 196 kB / 499.5 MB, free: 8.48 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: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 0.05804/1.999, allocations: 11.91 MB / 0.4995 GB, free: 12.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.999, allocations: 12.03 kB / 0.4995 GB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008972/2.008, allocations: 1.512 MB / 0.5009 GB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5823/2.59, allocations: 40.51 MB / 0.5405 GB, free: 23.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07828/2.669, allocations: 15.71 MB / 0.5558 GB, free: 22.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001405/2.67, allocations: 0.6679 MB / 0.5565 GB, free: 22.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01018/2.68, allocations: 0.8828 MB / 0.5574 GB, free: 22.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1103/2.791, allocations: 26.28 MB / 0.583 GB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008241/2.792, allocations: 91.36 kB / 0.5831 GB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007317/2.799, allocations: 391.9 kB / 0.5835 GB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09781/2.897, allocations: 11.16 MB / 0.5944 GB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09218/2.989, allocations: 25.89 MB / 0.6197 GB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.505/4.494, allocations: 161.2 MB / 0.7771 GB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03813/4.532, allocations: 9.811 MB / 0.7867 GB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01185/4.544, allocations: 5.624 MB / 0.7921 GB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1669/4.711, allocations: 31.66 MB / 0.8231 GB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.835e-05/4.711, allocations: 68.56 kB / 0.8231 GB, free: 13.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=341): time 1.04e-05/4.711, allocations: 0 / 0.8231 GB, free: 13.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=404): time 0.475/5.186, allocations: 38.4 MB / 0.8606 GB, free: 76.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/5.187, allocations: 404.2 kB / 0.861 GB, free: 76.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02206/5.209, allocations: 7.634 MB / 0.8685 GB, free: 75.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001389/5.21, allocations: 86.64 kB / 0.8686 GB, free: 75.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006219/5.216, allocations: 6.026 MB / 0.8744 GB, free: 72.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00287/5.219, allocations: 1.494 MB / 0.8759 GB, free: 71.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002452/5.222, allocations: 210.7 kB / 0.8761 GB, free: 71.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001439/5.223, allocations: 0.7601 MB / 0.8768 GB, free: 71.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01401/5.237, allocations: 5.188 MB / 0.8819 GB, free: 71.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01826/5.256, allocations: 11.26 MB / 0.8929 GB, free: 62.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/5.272, allocations: 6.775 MB / 0.8995 GB, free: 60.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000265/5.273, allocations: 62.78 kB / 0.8996 GB, free: 60.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=1385) (initialization): time 0.06698/5.34, allocations: 19.58 MB / 0.9187 GB, free: 54.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/5.34, allocations: 93.69 kB / 0.9188 GB, free: 54.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003442/5.34, allocations: 211.8 kB / 0.919 GB, free: 54.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02818/5.368, allocations: 5.053 MB / 0.9239 GB, free: 53.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01578/5.384, allocations: 2.387 MB / 0.9263 GB, free: 53.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05997/5.444, allocations: 26.71 MB / 0.9523 GB, free: 30.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02669/5.471, allocations: 1.902 MB / 0.9542 GB, free: 29.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003254/5.474, allocations: 0.7919 MB / 0.955 GB, free: 28.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 967 * Number of states: 0 () * Number of discrete variables: 63 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1216 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 94,(2,100.0%) 6} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.005073/5.479, allocations: 0.8972 MB / 0.9558 GB, free: 27.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002764/5.482, allocations: 0.7662 MB / 0.9566 GB, free: 26.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2756/5.758, allocations: 10.72 MB / 0.9671 GB, free: 64.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02244/5.78, allocations: 2.487 MB / 0.9695 GB, free: 64.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.139e-05/5.781, allocations: 19.44 kB / 0.9695 GB, free: 64.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001227/5.781, allocations: 20.86 kB / 0.9695 GB, free: 64.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1519/5.933, allocations: 33.19 MB / 1.002 GB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.64e-05/5.933, allocations: 7.031 kB / 1.002 GB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004796/5.937, allocations: 499.8 kB / 1.002 GB, free: 62.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02716/5.965, allocations: 4.589 MB / 1.007 GB, free: 62.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/5.966, allocations: 143 kB / 1.007 GB, free: 62.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05838/6.025, allocations: 25.32 MB / 1.032 GB, free: 52.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/6.025, allocations: 11.03 kB / 1.032 GB, free: 52.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05737/6.082, allocations: 19.83 MB / 1.051 GB, free: 40.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007137/6.089, allocations: 1.728 MB / 1.053 GB, free: 39.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003585/6.093, allocations: 75.03 kB / 1.053 GB, free: 39.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01949/6.112, allocations: 1.469 MB / 1.054 GB, free: 38.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001702/6.114, allocations: 279.6 kB / 1.055 GB, free: 38.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001219/6.115, allocations: 260.1 kB / 1.055 GB, free: 38.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.01551/6.131, allocations: 5.461 MB / 1.06 GB, free: 33.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/6.131, allocations: 1.969 kB / 1.06 GB, free: 33.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01701/6.148, allocations: 2.387 MB / 1.063 GB, free: 31.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 246 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,55.1%) 87,(2,100.0%) 4} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.3008/6.449, allocations: 21.44 MB / 1.083 GB, free: 63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.03621/6.485, allocations: 12.95 MB / 1.096 GB, free: 62.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/6.485, allocations: 3.406 kB / 1.096 GB, free: 62.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01606/6.501, allocations: 5.347 MB / 1.101 GB, free: 61.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/6.511, allocations: 1.02 MB / 1.102 GB, free: 61.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08333/6.595, allocations: 22.99 MB / 1.125 GB, free: 57.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01767/6.612, allocations: 6.746 MB / 1.131 GB, free: 55.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01544/6.628, allocations: 5.102 MB / 1.136 GB, free: 51.71 MB / 314.7 MB Notification: Performance of SimCode: time 2.214e-06/6.628, allocations: 0 / 1.136 GB, free: 51.71 MB / 314.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_Loops_Engine1aCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4662:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp440; ^~~~~~~~~~~ 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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4662:24: error: expected ';' after expression multi_array tmp440; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4662:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp440; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4662:25: error: use of undeclared identifier 'tmp440' multi_array tmp440; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4665:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp444; ^~~~~~~~~~~ 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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4665:24: error: expected ';' after expression multi_array tmp444; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4665:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp444; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4665:25: error: use of undeclared identifier 'tmp444' multi_array tmp444; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4669:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp449; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4669:24: error: expected ';' after expression multi_array tmp449; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4669:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp449; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4669:25: error: use of undeclared identifier 'tmp449' multi_array tmp449; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4672:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp453; ^~~~~~~~~~~ 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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4672:24: error: expected ';' after expression multi_array tmp453; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4672:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp453; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4672:25: error: use of undeclared identifier 'tmp453' multi_array tmp453; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4675:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp457; ^~~~~~~~~~~ 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_Loops_Engine1aCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4675:24: error: expected ';' after expression multi_array tmp457; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aInitialize.cpp:4675:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp457; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Engine1aCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1aCalcHelperMain.o] Error 1