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 0.9941/0.9941, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.867e-05, allocations: 0 / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 25.16 MB / 176.6 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0882/0.26, allocations: 50.03 MB / 226.7 MB, free: 15.39 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.2603, allocations: 79.95 kB / 226.8 MB, free: 15.31 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774/2.035, allocations: 269.7 MB / 496.5 MB, free: 16.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/2.035, allocations: 0 / 496.5 MB, free: 16.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.001086/2.036, allocations: 191 kB / 496.7 MB, free: 16.9 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3032 * Number of variables: 3032 Notification: Performance of Generate backend data structure: time 0.08265/2.118, allocations: 11.92 MB / 0.4967 GB, free: 13.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/2.119, allocations: 11.16 kB / 0.4967 GB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01171/2.13, allocations: 1.507 MB / 0.4981 GB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4242/2.555, allocations: 40.51 MB / 0.5377 GB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2621/2.817, allocations: 15.71 MB / 0.553 GB, free: 30.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/2.818, allocations: 0.6583 MB / 0.5537 GB, free: 30.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007656/2.826, allocations: 0.8946 MB / 0.5546 GB, free: 30.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09848/2.924, allocations: 26.17 MB / 0.5801 GB, free: 27.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001103/2.925, allocations: 92.52 kB / 0.5802 GB, free: 27.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008697/2.934, allocations: 389.2 kB / 0.5806 GB, free: 27.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1004/3.034, allocations: 11.15 MB / 0.5915 GB, free: 27.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07723/3.112, allocations: 25.66 MB / 0.6165 GB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.601/4.713, allocations: 161.3 MB / 0.7741 GB, free: 47.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03866/4.751, allocations: 9.762 MB / 0.7836 GB, free: 47.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/4.764, allocations: 5.628 MB / 0.7891 GB, free: 46.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1716/4.935, allocations: 31.65 MB / 0.82 GB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.375e-05/4.935, allocations: 71.17 kB / 0.8201 GB, free: 43.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=341): time 9.198e-06/4.935, allocations: 7.344 kB / 0.8201 GB, free: 43.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=404): time 0.2326/5.168, allocations: 38.39 MB / 0.8576 GB, free: 29.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/5.168, allocations: 408.2 kB / 0.858 GB, free: 28.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02178/5.19, allocations: 7.625 MB / 0.8654 GB, free: 21.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001476/5.192, allocations: 88.83 kB / 0.8655 GB, free: 21.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005965/5.198, allocations: 6.024 MB / 0.8714 GB, free: 16.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002857/5.2, allocations: 1.499 MB / 0.8728 GB, free: 15.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/5.203, allocations: 208 kB / 0.873 GB, free: 14.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0009719/5.204, allocations: 0.7589 MB / 0.8738 GB, free: 14.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2682/5.472, allocations: 6.329 MB / 0.88 GB, free: 52.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/5.492, allocations: 11.19 MB / 0.8909 GB, free: 44.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/5.509, allocations: 6.772 MB / 0.8975 GB, free: 44.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003077/5.509, allocations: 60.5 kB / 0.8976 GB, free: 44.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=1385) (initialization): time 0.06909/5.578, allocations: 18.99 MB / 0.9161 GB, free: 43.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/5.579, allocations: 101.6 kB / 0.9162 GB, free: 43.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004547/5.579, allocations: 216.2 kB / 0.9164 GB, free: 43.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0287/5.608, allocations: 5.048 MB / 0.9213 GB, free: 43.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01583/5.624, allocations: 2.389 MB / 0.9237 GB, free: 43.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05743/5.681, allocations: 26.71 MB / 0.9497 GB, free: 31.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02717/5.708, allocations: 1.895 MB / 0.9516 GB, free: 30.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003566/5.712, allocations: 0.7952 MB / 0.9524 GB, free: 30.78 MB / 298.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.005704/5.718, allocations: 0.8983 MB / 0.9533 GB, free: 30.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003664/5.722, allocations: 0.7645 MB / 0.954 GB, free: 30.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04203/5.764, allocations: 10.72 MB / 0.9645 GB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02215/5.786, allocations: 2.49 MB / 0.9669 GB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-05/5.786, allocations: 16 kB / 0.9669 GB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/5.786, allocations: 21.44 kB / 0.9669 GB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3989/6.185, allocations: 34.03 MB / 1 GB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-05/6.185, allocations: 6.875 kB / 1 GB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004752/6.19, allocations: 490.7 kB / 1.001 GB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02702/6.217, allocations: 4.59 MB / 1.005 GB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00138/6.218, allocations: 140.6 kB / 1.005 GB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05654/6.275, allocations: 25.32 MB / 1.03 GB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/6.275, allocations: 8.656 kB / 1.03 GB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05717/6.332, allocations: 19.84 MB / 1.049 GB, free: 27.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007269/6.34, allocations: 1.725 MB / 1.051 GB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003454/6.343, allocations: 70.86 kB / 1.051 GB, free: 27.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01994/6.363, allocations: 1.468 MB / 1.053 GB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/6.365, allocations: 276.4 kB / 1.053 GB, free: 27.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001212/6.366, allocations: 261.2 kB / 1.053 GB, free: 27.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01543/6.382, allocations: 5.462 MB / 1.058 GB, free: 25.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.12e-07/6.382, allocations: 0 / 1.058 GB, free: 25.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01763/6.399, allocations: 2.393 MB / 1.061 GB, free: 25.16 MB / 298.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.05723/6.457, allocations: 21.43 MB / 1.082 GB, free: 8.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.2542/6.711, allocations: 12.73 MB / 1.094 GB, free: 44.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/6.711, allocations: 1.875 kB / 1.094 GB, free: 44.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01587/6.727, allocations: 5.267 MB / 1.099 GB, free: 44.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009826/6.737, allocations: 1.009 MB / 1.1 GB, free: 44.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08198/6.819, allocations: 22.97 MB / 1.123 GB, free: 40.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01676/6.836, allocations: 6.744 MB / 1.129 GB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01417/6.85, allocations: 5.102 MB / 1.134 GB, free: 39.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/6.85, allocations: 0 / 1.134 GB, free: 39.93 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_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