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.Fourbar_analytic.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.Fourbar_analytic,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.025/1.025, allocations: 111.2 MB / 124.2 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.794e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 25.16 MB / 179.5 MB, free: 0.6953 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.3845, allocations: 55.83 MB / 235.4 MB, free: 9.133 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/0.3849, allocations: 83.95 kB / 235.4 MB, free: 9.051 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605/1.99, allocations: 198 MB / 433.5 MB, free: 17.57 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.99, allocations: 3.656 kB / 433.5 MB, free: 17.57 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003961/1.991, allocations: 134.8 kB / 433.6 MB, free: 17.57 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.04099/2.032, allocations: 8.138 MB / 441.7 MB, free: 15.11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/2.032, allocations: 9.906 kB / 441.8 MB, free: 15.11 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006689/2.039, allocations: 1.375 MB / 443.1 MB, free: 15 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2488/2.287, allocations: 25.93 MB / 469.1 MB, free: 14.06 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03143/2.319, allocations: 8.548 MB / 477.6 MB, free: 13.24 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007076/2.32, allocations: 0.4903 MB / 478.1 MB, free: 13.22 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005656/2.325, allocations: 0.6451 MB / 478.7 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06532/2.391, allocations: 20.59 MB / 499.3 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003789/2.391, allocations: 44.25 kB / 499.4 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004906/2.396, allocations: 292.5 kB / 499.7 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07322/2.469, allocations: 8.749 MB / 0.4965 GB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06949/2.539, allocations: 20.91 MB / 0.5169 GB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.235/3.774, allocations: 124.9 MB / 0.6389 GB, free: 20.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02624/3.8, allocations: 7.042 MB / 0.6458 GB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007812/3.808, allocations: 3.573 MB / 0.6492 GB, free: 19.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1559/3.964, allocations: 25.05 MB / 0.6737 GB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.992e-05/3.964, allocations: 62.8 kB / 0.6738 GB, free: 16.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=282): time 9.608e-06/3.964, allocations: 3.281 kB / 0.6738 GB, free: 16.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=335): time 0.1332/4.097, allocations: 24.92 MB / 0.6981 GB, free: 6.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/4.097, allocations: 219.2 kB / 0.6983 GB, free: 6.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/4.109, allocations: 4.89 MB / 0.7031 GB, free: 1.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001151/4.11, allocations: 76.59 kB / 0.7032 GB, free: 1.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004369/4.115, allocations: 4.201 MB / 0.7073 GB, free: 13.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002603/4.117, allocations: 1.229 MB / 0.7085 GB, free: 12.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/4.119, allocations: 167.8 kB / 0.7086 GB, free: 12.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0008757/4.12, allocations: 0.6632 MB / 0.7093 GB, free: 11.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/4.132, allocations: 4.06 MB / 0.7132 GB, free: 7.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01672/4.149, allocations: 8.749 MB / 0.7218 GB, free: 12.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/4.163, allocations: 5.152 MB / 0.7268 GB, free: 7.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000177/4.163, allocations: 48 kB / 0.7269 GB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.2408/4.404, allocations: 12.42 MB / 0.739 GB, free: 63.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/4.404, allocations: 72.88 kB / 0.7391 GB, free: 63.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002719/4.404, allocations: 166.5 kB / 0.7392 GB, free: 63.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/4.41, allocations: 1.093 MB / 0.7403 GB, free: 63.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/4.423, allocations: 1.974 MB / 0.7422 GB, free: 63.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/4.427, allocations: 2.189 MB / 0.7443 GB, free: 62.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02418/4.451, allocations: 1.941 MB / 0.7462 GB, free: 62.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002764/4.454, allocations: 0.6931 MB / 0.7469 GB, free: 62.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 996 * Array equations: 14 * 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: 0 * Non-linear torn systems: 1 {1 40} Notification: Performance of prepare postOptimizeDAE: time 0.00397/4.458, allocations: 0.7129 MB / 0.7476 GB, free: 62.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/4.46, allocations: 0.4961 MB / 0.7481 GB, free: 62.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/4.475, allocations: 5.043 MB / 0.753 GB, free: 62.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02604/4.502, allocations: 2.871 MB / 0.7558 GB, free: 62.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.136e-05/4.502, allocations: 3.953 kB / 0.7558 GB, free: 62.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/4.502, allocations: 20.19 kB / 0.7559 GB, free: 62.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1184/4.62, allocations: 22.69 MB / 0.778 GB, free: 61.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-05/4.62, allocations: 3.75 kB / 0.778 GB, free: 61.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005517/4.626, allocations: 0.5432 MB / 0.7785 GB, free: 61.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005093/4.631, allocations: 0.8159 MB / 0.7793 GB, free: 61.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/4.632, allocations: 157.5 kB / 0.7795 GB, free: 61.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/4.635, allocations: 1.704 MB / 0.7812 GB, free: 61.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/4.635, allocations: 13.2 kB / 0.7812 GB, free: 61.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0276/4.663, allocations: 12.29 MB / 0.7932 GB, free: 56.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/4.668, allocations: 1.304 MB / 0.7944 GB, free: 55.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/4.67, allocations: 58.67 kB / 0.7945 GB, free: 55.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01874/4.689, allocations: 1.609 MB / 0.7961 GB, free: 55.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/4.69, allocations: 182.6 kB / 0.7962 GB, free: 55.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009205/4.691, allocations: 280.4 kB / 0.7965 GB, free: 55.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008991/4.7, allocations: 3.427 MB / 0.7999 GB, free: 53.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.192e-06/4.7, allocations: 2.625 kB / 0.7999 GB, free: 53.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01138/4.711, allocations: 1.578 MB / 0.8014 GB, free: 51.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 250 * Array equations: 14 * 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: 0 * Non-linear torn systems: 1 {1 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.02842/4.74, allocations: 14.19 MB / 0.8153 GB, free: 39.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02107/4.761, allocations: 9.202 MB / 0.8242 GB, free: 31.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/4.761, allocations: 4 kB / 0.8243 GB, free: 31.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007926/4.769, allocations: 3.302 MB / 0.8275 GB, free: 28.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005254/4.774, allocations: 0.5415 MB / 0.828 GB, free: 27.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04822/4.822, allocations: 15.57 MB / 0.8432 GB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2152/5.038, allocations: 4.998 MB / 0.8481 GB, free: 64.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01134/5.049, allocations: 3.513 MB / 0.8515 GB, free: 64.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/5.049, allocations: 0 / 0.8515 GB, free: 64.05 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_Fourbar_analyticCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3545:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp488; ^~~~~~~~~~~ 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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3545:24: error: expected ';' after expression multi_array tmp488; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3545:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp488; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3545:25: error: use of undeclared identifier 'tmp488' multi_array tmp488; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3548:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp492; ^~~~~~~~~~~ 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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3548:24: error: expected ';' after expression multi_array tmp492; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3548:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp492; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3548:25: error: use of undeclared identifier 'tmp492' multi_array tmp492; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3552:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp497; ^~~~~~~~~~~ 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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3552:24: error: expected ';' after expression multi_array tmp497; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3552:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp497; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3552:25: error: use of undeclared identifier 'tmp497' multi_array tmp497; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3555:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp501; ^~~~~~~~~~~ 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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3555:24: error: expected ';' after expression multi_array tmp501; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3555:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp501; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3555:25: error: use of undeclared identifier 'tmp501'; did you mean 'tmp500'? multi_array tmp501; ^~~~~~ tmp500 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3554:24: note: 'tmp500' declared here DynArrayDim1 tmp500; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3558:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp505; ^~~~~~~~~~~ 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_Fourbar_analyticCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3558:24: error: expected ';' after expression multi_array tmp505; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticInitialize.cpp:3558:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp505; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar_analyticCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analyticCalcHelperMain.o] Error 1