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.Fourbar1.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.Fourbar1,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.146/1.146, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.847e-05, allocations: 0 / 154.4 MB, free: 13.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 25.16 MB / 179.5 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09593/0.2675, allocations: 48.34 MB / 227.9 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.2678, allocations: 83.94 kB / 227.9 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488/1.756, allocations: 226.7 MB / 454.7 MB, free: 16.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.756, allocations: 0 / 454.7 MB, free: 16.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005151/1.756, allocations: 152.5 kB / 454.8 MB, free: 16.91 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: 2674 * Number of variables: 2674 Notification: Performance of Generate backend data structure: time 0.05294/1.809, allocations: 10.39 MB / 465.2 MB, free: 13.83 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.809, allocations: 10.2 kB / 465.2 MB, free: 13.83 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008651/1.818, allocations: 1.613 MB / 466.9 MB, free: 13.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2904/2.108, allocations: 32.65 MB / 499.5 MB, free: 2.852 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04127/2.15, allocations: 10.69 MB / 0.4982 GB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/2.151, allocations: 0.5632 MB / 0.4988 GB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00756/2.158, allocations: 0.7376 MB / 0.4995 GB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09358/2.252, allocations: 24.25 MB / 0.5232 GB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006321/2.253, allocations: 58.56 kB / 0.5233 GB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006775/2.259, allocations: 330.9 kB / 0.5236 GB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2891/2.549, allocations: 10.78 MB / 0.5341 GB, free: 44.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07562/2.624, allocations: 25.4 MB / 0.5589 GB, free: 43.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.252/3.877, allocations: 154.3 MB / 0.7096 GB, free: 180 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04964/3.926, allocations: 10.99 MB / 0.7203 GB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01655/3.943, allocations: 7.411 MB / 0.7275 GB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4662/4.409, allocations: 43.15 MB / 0.7697 GB, free: 52.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/4.409, allocations: 76.94 kB / 0.7697 GB, free: 52.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=464): time 1.138e-05/4.409, allocations: 0 / 0.7697 GB, free: 52.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=728): time 0.6497/5.059, allocations: 85.59 MB / 0.8533 GB, free: 47.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/5.059, allocations: 283.5 kB / 0.8536 GB, free: 47.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/5.077, allocations: 6.111 MB / 0.8596 GB, free: 46.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002928/5.08, allocations: 133 kB / 0.8597 GB, free: 46.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004545/5.084, allocations: 4.78 MB / 0.8643 GB, free: 44.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005331/5.09, allocations: 2.544 MB / 0.8668 GB, free: 42.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004018/5.094, allocations: 237.1 kB / 0.8671 GB, free: 42.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.001274/5.095, allocations: 0.824 MB / 0.8679 GB, free: 42.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02663/5.122, allocations: 10.8 MB / 0.8784 GB, free: 38.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0304/5.152, allocations: 16.01 MB / 0.894 GB, free: 27.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02943/5.182, allocations: 12.44 MB / 0.9062 GB, free: 22.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002088/5.182, allocations: 54.25 kB / 0.9062 GB, free: 22.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=1570) (initialization): time 0.3984/5.58, allocations: 45.59 MB / 0.9508 GB, free: 36.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/5.58, allocations: 82.47 kB / 0.9509 GB, free: 36.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003363/5.581, allocations: 176 kB / 0.951 GB, free: 36.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1183/5.699, allocations: 21.13 MB / 0.9717 GB, free: 36.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/5.714, allocations: 2.132 MB / 0.9737 GB, free: 36.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5829/6.297, allocations: 141.5 MB / 1.112 GB, free: 29.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03849/6.335, allocations: 2.582 MB / 1.114 GB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004749/6.34, allocations: 0.9111 MB / 1.115 GB, free: 26.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 800 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (1083): * Single equations (assignments): 1063 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,38.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.007974/6.348, allocations: 0.8834 MB / 1.116 GB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004808/6.353, allocations: 0.712 MB / 1.117 GB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3731/6.726, allocations: 37.99 MB / 1.154 GB, free: 46.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03109/6.757, allocations: 3.294 MB / 1.157 GB, free: 46.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002031/6.757, allocations: 62.84 kB / 1.157 GB, free: 46.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000187/6.758, allocations: 36.5 kB / 1.157 GB, free: 46.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3282/7.086, allocations: 71 MB / 1.227 GB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/7.086, allocations: 0 / 1.227 GB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005129/7.091, allocations: 485.2 kB / 1.227 GB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3751/7.466, allocations: 20.28 MB / 1.247 GB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002977/7.469, allocations: 215.2 kB / 1.247 GB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5841/8.053, allocations: 129.5 MB / 1.374 GB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/8.054, allocations: 3.531 kB / 1.374 GB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1829/8.236, allocations: 54.33 MB / 1.427 GB, free: 29.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01243/8.249, allocations: 3.074 MB / 1.43 GB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004932/8.254, allocations: 112 kB / 1.43 GB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03556/8.29, allocations: 2.196 MB / 1.432 GB, free: 25.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007257/8.297, allocations: 0.564 MB / 1.432 GB, free: 25.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003772/8.301, allocations: 385.4 kB / 1.433 GB, free: 25.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01658/8.317, allocations: 4.33 MB / 1.437 GB, free: 21.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.272e-06/8.317, allocations: 0 / 1.437 GB, free: 21.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.03344/8.351, allocations: 3.97 MB / 1.441 GB, free: 17.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (246): * Single equations (assignments): 226 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.4293/8.78, allocations: 55.9 MB / 1.495 GB, free: 39.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.08646/8.867, allocations: 28.93 MB / 1.524 GB, free: 33.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/8.867, allocations: 3.906 kB / 1.524 GB, free: 33.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05671/8.923, allocations: 15.47 MB / 1.539 GB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008726/8.932, allocations: 0.7458 MB / 1.54 GB, free: 25.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3168/9.249, allocations: 29.07 MB / 1.568 GB, free: 36.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01645/9.266, allocations: 6.33 MB / 1.574 GB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01631/9.282, allocations: 4.505 MB / 1.579 GB, free: 35.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.255e-06/9.282, allocations: 0 / 1.579 GB, free: 35.79 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_Fourbar1CalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1CalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3640:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp526; ^~~~~~~~~~~ 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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3640:24: error: expected ';' after expression multi_array tmp526; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3640:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp526; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3640:25: error: use of undeclared identifier 'tmp526' multi_array tmp526; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3643:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp530; ^~~~~~~~~~~ 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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3643:24: error: expected ';' after expression multi_array tmp530; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3643:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp530; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3643:25: error: use of undeclared identifier 'tmp530' multi_array tmp530; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3647:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp535; ^~~~~~~~~~~ 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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3647:24: error: expected ';' after expression multi_array tmp535; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3647:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp535; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3647:25: error: use of undeclared identifier 'tmp535' multi_array tmp535; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3650:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp539; ^~~~~~~~~~~ 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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3650:24: error: expected ';' after expression multi_array tmp539; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3650:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp539; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3650:25: error: use of undeclared identifier 'tmp539' multi_array tmp539; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3653:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp543; ^~~~~~~~~~~ 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_Fourbar1CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3653:24: error: expected ';' after expression multi_array tmp543; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1Initialize.cpp:3653:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp543; ^~~~~~~~~~~~~~~~~~~~~ /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_Fourbar1CalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1CalcHelperMain.o] Error 1