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.PendulumWithSpringDamper.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.087/1.087, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.602e-05, allocations: 4 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05843/0.0585, allocations: 25.17 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.3048, allocations: 50.79 MB / 224.2 MB, free: 1.859 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3051, allocations: 79.52 kB / 224.3 MB, free: 1.848 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.891/1.196, allocations: 156.9 MB / 381.2 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.196, allocations: 0 / 381.2 MB, free: 12.21 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002186/1.196, allocations: 95.98 kB / 381.2 MB, free: 12.12 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: 1845 * Number of variables: 1845 Notification: Performance of Generate backend data structure: time 0.03708/1.234, allocations: 6.761 MB / 388 MB, free: 5.289 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.234, allocations: 12.03 kB / 388 MB, free: 5.277 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3984/1.632, allocations: 22.15 MB / 410.2 MB, free: 31.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.655, allocations: 5.681 MB / 415.9 MB, free: 30.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/1.655, allocations: 177.1 kB / 416 MB, free: 30.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00547/1.661, allocations: 284.4 kB / 416.3 MB, free: 30.94 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03757/1.698, allocations: 14.65 MB / 431 MB, free: 30.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04979/1.748, allocations: 16.31 MB / 447.3 MB, free: 24.07 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003508/1.749, allocations: 31.28 kB / 447.3 MB, free: 24.06 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00513/1.754, allocations: 16 kB / 447.3 MB, free: 24.04 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07647/1.83, allocations: 9.011 MB / 456.3 MB, free: 18.52 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.011/2.841, allocations: 116.1 MB / 0.559 GB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008874/2.85, allocations: 4.679 MB / 0.5636 GB, free: 6.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006212/2.856, allocations: 3.043 MB / 0.5666 GB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008816/2.857, allocations: 0.5652 MB / 0.5671 GB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/2.857, allocations: 73.89 kB / 0.5672 GB, free: 3.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=260): time 1.027e-05/2.857, allocations: 0 / 0.5672 GB, free: 3.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=277): time 0.2849/3.142, allocations: 24.79 MB / 0.5914 GB, free: 33.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/3.142, allocations: 368 kB / 0.5918 GB, free: 32.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008689/3.151, allocations: 3.335 MB / 0.595 GB, free: 32.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/3.152, allocations: 29.14 kB / 0.595 GB, free: 32.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/3.155, allocations: 3.524 MB / 0.5985 GB, free: 30.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/3.157, allocations: 0.9966 MB / 0.5995 GB, free: 29.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/3.159, allocations: 0 / 0.5995 GB, free: 29.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0007441/3.16, allocations: 0.633 MB / 0.6001 GB, free: 29.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008837/3.169, allocations: 3.45 MB / 0.6034 GB, free: 29.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/3.181, allocations: 7.837 MB / 0.6111 GB, free: 23.65 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/3.191, allocations: 4.38 MB / 0.6154 GB, free: 23.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002706/3.192, allocations: 48.5 kB / 0.6154 GB, free: 23.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.03474/3.227, allocations: 10.89 MB / 0.6261 GB, free: 20.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/3.227, allocations: 71.69 kB / 0.6261 GB, free: 20.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005794/3.227, allocations: 289.6 kB / 0.6264 GB, free: 20.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007341/3.235, allocations: 1.345 MB / 0.6277 GB, free: 20.17 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/3.247, allocations: 1.826 MB / 0.6295 GB, free: 19.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/3.261, allocations: 5.889 MB / 0.6353 GB, free: 17.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02322/3.284, allocations: 1.719 MB / 0.6369 GB, free: 17.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002834/3.287, allocations: 0.6452 MB / 0.6376 GB, free: 17.11 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (932): * Single equations (assignments): 916 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00406/3.291, allocations: 0.4915 MB / 0.638 GB, free: 16.69 MB / 250.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01954/3.311, allocations: 5.883 MB / 0.6438 GB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/3.313, allocations: 343.5 kB / 0.6441 GB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/3.328, allocations: 4.074 MB / 0.6481 GB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03714/3.365, allocations: 6.25 MB / 0.6542 GB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/3.365, allocations: 8 kB / 0.6542 GB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/3.365, allocations: 20.23 kB / 0.6542 GB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3214/3.686, allocations: 20.76 MB / 0.6745 GB, free: 32.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.111e-05/3.686, allocations: 10.47 kB / 0.6745 GB, free: 32.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004126/3.691, allocations: 428.2 kB / 0.6749 GB, free: 32.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006764/3.697, allocations: 1.077 MB / 0.676 GB, free: 32.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/3.699, allocations: 97.86 kB / 0.6761 GB, free: 32.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/3.711, allocations: 5.306 MB / 0.6812 GB, free: 30.79 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-05/3.711, allocations: 14.06 kB / 0.6813 GB, free: 30.79 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/3.739, allocations: 10.86 MB / 0.6919 GB, free: 28.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004348/3.743, allocations: 1.046 MB / 0.6929 GB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/3.746, allocations: 14.44 kB / 0.6929 GB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01729/3.763, allocations: 1.455 MB / 0.6943 GB, free: 28.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/3.764, allocations: 172 kB / 0.6945 GB, free: 28.87 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00114/3.765, allocations: 254.3 kB / 0.6947 GB, free: 28.87 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.006167/3.772, allocations: 2.187 MB / 0.6969 GB, free: 28.72 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.263e-06/3.772, allocations: 3.031 kB / 0.6969 GB, free: 28.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01185/3.783, allocations: 1.132 MB / 0.698 GB, free: 28.72 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 207 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02845/3.812, allocations: 13.57 MB / 0.7112 GB, free: 21.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.01876/3.831, allocations: 7.863 MB / 0.7189 GB, free: 19.2 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/3.831, allocations: 3.938 kB / 0.7189 GB, free: 19.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006945/3.838, allocations: 2.845 MB / 0.7217 GB, free: 18.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/3.842, allocations: 302.2 kB / 0.722 GB, free: 18.03 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05718/3.899, allocations: 11.94 MB / 0.7336 GB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/3.911, allocations: 3.769 MB / 0.7373 GB, free: 6.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01326/3.924, allocations: 2.716 MB / 0.74 GB, free: 3.941 MB / 250.7 MB Notification: Performance of SimCode: time 1.903e-06/3.925, allocations: 0 / 0.74 GB, free: 3.941 MB / 250.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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3428:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp437; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3428:24: error: expected ';' after expression multi_array tmp437; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3428:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp437; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3428:25: error: use of undeclared identifier 'tmp437' multi_array tmp437; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3431:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp441; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3431:24: error: expected ';' after expression multi_array tmp441; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3431:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp441; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3431:25: error: use of undeclared identifier 'tmp441'; did you mean 'tmp440'? multi_array tmp441; ^~~~~~ tmp440 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3430:24: note: 'tmp440' declared here DynArrayDim1 tmp440; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3435:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp446; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3435:24: error: expected ';' after expression multi_array tmp446; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3435:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp446; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3435:25: error: use of undeclared identifier 'tmp446' multi_array tmp446; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3438:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp450; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3438:24: error: expected ';' after expression multi_array tmp450; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3438:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp450; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3438:25: error: use of undeclared identifier 'tmp450'; did you mean 'tmp440'? multi_array tmp450; ^~~~~~ tmp440 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3430:24: note: 'tmp440' declared here DynArrayDim1 tmp440; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3441:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp454; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3441:24: error: expected ';' after expression multi_array tmp454; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperInitialize.cpp:3441:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp454; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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_PendulumWithSpringDamperCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamperCalcHelperMain.o] Error 1