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.Fourbar2.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.Loops.Fourbar2,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.023/1.023, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.649e-05, allocations: 4 kB / 148.2 MB, free: 6.125 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05682/0.05688, allocations: 25.17 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3394, allocations: 52.29 MB / 225.7 MB, free: 1.133 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.3398, allocations: 71.09 kB / 225.7 MB, free: 1.125 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534/1.873, allocations: 268.8 MB / 494.6 MB, free: 2.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.873, allocations: 0 / 494.6 MB, free: 2.281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0005129/1.874, allocations: 160 kB / 494.7 MB, free: 2.125 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: 3137 * Number of variables: 3137 Notification: Performance of Generate backend data structure: time 0.4438/2.318, allocations: 12.21 MB / 0.4951 GB, free: 24.19 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/2.318, allocations: 7.188 kB / 0.4951 GB, free: 24.19 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3832/2.701, allocations: 43.06 MB / 0.5371 GB, free: 22.79 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04088/2.742, allocations: 10.47 MB / 0.5474 GB, free: 19.99 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008126/2.743, allocations: 291.8 kB / 0.5476 GB, free: 19.71 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009263/2.752, allocations: 483.1 kB / 0.5481 GB, free: 19.25 MB / 250.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06572/2.818, allocations: 26.2 MB / 0.5737 GB, free: 15.51 MB / 266.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3222/3.14, allocations: 28.26 MB / 0.6013 GB, free: 30.42 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007941/3.141, allocations: 55.69 kB / 0.6013 GB, free: 30.42 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009423/3.15, allocations: 21.03 kB / 0.6013 GB, free: 30.42 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1294/3.28, allocations: 15.71 MB / 0.6167 GB, free: 30.4 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.817/5.097, allocations: 199.3 MB / 0.8113 GB, free: 32.38 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01837/5.115, allocations: 10.7 MB / 0.8217 GB, free: 30.11 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01357/5.129, allocations: 6.689 MB / 0.8283 GB, free: 29.99 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3272/5.456, allocations: 54.62 MB / 0.8816 GB, free: 14.58 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/5.456, allocations: 79.31 kB / 0.8817 GB, free: 14.5 MB / 282.8 MB Notification: Performance of pre-optimization done (n=454): time 1.229e-05/5.456, allocations: 0 / 0.8817 GB, free: 14.5 MB / 282.8 MB Notification: Performance of matching and sorting (n=504): time 0.3736/5.83, allocations: 38.57 MB / 0.9194 GB, free: 61.42 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/5.83, allocations: 227.8 kB / 0.9196 GB, free: 61.2 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01543/5.845, allocations: 5.75 MB / 0.9252 GB, free: 60.82 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001907/5.847, allocations: 25.7 kB / 0.9252 GB, free: 60.79 MB / 298.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:2345:5-2348:81:writable] Warning: The parameter universalSpherical.rodLength has fixed = false and a binding equation universalSpherical.rodLength = 1.048808848170152, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.005208/5.853, allocations: 5.885 MB / 0.931 GB, free: 57.69 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00385/5.856, allocations: 1.787 MB / 0.9327 GB, free: 56.61 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00327/5.86, allocations: 3.094 kB / 0.9327 GB, free: 56.61 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 0.00143/5.861, allocations: 0.8492 MB / 0.9335 GB, free: 56.27 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01886/5.88, allocations: 7.864 MB / 0.9412 GB, free: 56.2 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02231/5.902, allocations: 14.26 MB / 0.9551 GB, free: 47.15 MB / 298.8 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2306/6.133, allocations: 28.39 MB / 0.9829 GB, free: 43.28 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003355/6.134, allocations: 73.16 kB / 0.9829 GB, free: 43.28 MB / 298.8 MB Notification: Performance of matching and sorting (n=1664) (initialization): time 0.09364/6.227, allocations: 24.63 MB / 1.007 GB, free: 32.08 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002865/6.228, allocations: 108 kB / 1.007 GB, free: 31.98 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005096/6.228, allocations: 248 kB / 1.007 GB, free: 31.73 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09893/6.327, allocations: 6.459 MB / 1.014 GB, free: 25.52 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03317/6.36, allocations: 3.044 MB / 1.017 GB, free: 22.47 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2838/6.644, allocations: 24.97 MB / 1.041 GB, free: 46.53 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03784/6.682, allocations: 2.787 MB / 1.044 GB, free: 46.53 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004884/6.687, allocations: 1.024 MB / 1.045 GB, free: 46.53 MB / 298.8 MB Warning: Assuming fixed start value for the following 1 variables: universalSpherical.rodLength:VARIABLE(min = 0.0 start = 1.048808848170152 unit = "m" fixed = false final = true ) "Length of rod (distance between origin of frame_a and origin of frame_b)" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: j1.phi = $START.j1.phi. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1134 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.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 (1528): * Single equations (assignments): 1505 * Array equations: 21 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 1 {1 15} Notification: Performance of prepare postOptimizeDAE: time 0.00749/6.694, allocations: 0.7175 MB / 1.045 GB, free: 46.26 MB / 298.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06458/6.759, allocations: 15.47 MB / 1.061 GB, free: 43.7 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003586/6.763, allocations: 0.5963 MB / 1.061 GB, free: 43.6 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06095/6.824, allocations: 14.33 MB / 1.075 GB, free: 39.05 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03711/6.861, allocations: 4.399 MB / 1.079 GB, free: 39.05 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.743e-05/6.861, allocations: 11.44 kB / 1.079 GB, free: 39.05 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001705/6.861, allocations: 19.73 kB / 1.079 GB, free: 39.05 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2162/7.077, allocations: 41.5 MB / 1.12 GB, free: 15.7 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.44e-05/7.078, allocations: 4 kB / 1.12 GB, free: 15.7 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.239/7.317, allocations: 0.8116 MB / 1.121 GB, free: 49.2 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03368/7.35, allocations: 4.1 MB / 1.125 GB, free: 49.19 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002066/7.352, allocations: 137.9 kB / 1.125 GB, free: 49.19 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03549/7.388, allocations: 15.95 MB / 1.14 GB, free: 46.66 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/7.388, allocations: 14.22 kB / 1.14 GB, free: 46.66 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07621/7.464, allocations: 24.62 MB / 1.165 GB, free: 41.55 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007913/7.472, allocations: 2.019 MB / 1.166 GB, free: 40.89 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003462/7.476, allocations: 11.25 kB / 1.166 GB, free: 40.89 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02771/7.503, allocations: 2.446 MB / 1.169 GB, free: 40.89 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002076/7.506, allocations: 267.7 kB / 1.169 GB, free: 40.85 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001985/7.508, allocations: 377.4 kB / 1.169 GB, free: 40.82 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.01086/7.519, allocations: 3.812 MB / 1.173 GB, free: 39.43 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.202e-06/7.519, allocations: 0 / 1.173 GB, free: 39.43 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.01942/7.538, allocations: 2.143 MB / 1.175 GB, free: 39.42 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (389): * Single equations (assignments): 366 * Array equations: 21 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07799/7.616, allocations: 26.25 MB / 1.201 GB, free: 28.43 MB / 298.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:269:5-279:3:writable] Warning: Variable j1.phi has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.03682/7.653, allocations: 16.38 MB / 1.217 GB, free: 14.82 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/7.653, allocations: 2.875 kB / 1.217 GB, free: 14.82 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01548/7.668, allocations: 6.532 MB / 1.223 GB, free: 9.445 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2545/7.923, allocations: 0.5268 MB / 1.224 GB, free: 51.76 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1079/8.031, allocations: 22.56 MB / 1.246 GB, free: 48.64 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02159/8.053, allocations: 6.228 MB / 1.252 GB, free: 47.73 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02521/8.078, allocations: 4.878 MB / 1.257 GB, free: 47.72 MB / 298.8 MB Notification: Performance of SimCode: time 1.694e-06/8.078, allocations: 0 / 1.257 GB, free: 47.72 MB / 298.8 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_Loops_Fourbar2CalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4053:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp621; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4053:24: error: expected ';' after expression multi_array tmp621; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4053:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp621; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4053:25: error: use of undeclared identifier 'tmp621'; did you mean 'tmp620'? multi_array tmp621; ^~~~~~ tmp620 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4052:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4056:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp625; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4056:24: error: expected ';' after expression multi_array tmp625; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4056:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp625; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4056:25: error: use of undeclared identifier 'tmp625' multi_array tmp625; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4060:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp630; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4060:24: error: expected ';' after expression multi_array tmp630; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4060:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp630; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4060:25: error: use of undeclared identifier 'tmp630'; did you mean 'tmp620'? multi_array tmp630; ^~~~~~ tmp620 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4052:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4063:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp634; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4063:24: error: expected ';' after expression multi_array tmp634; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4063:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp634; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4063:25: error: use of undeclared identifier 'tmp634' multi_array tmp634; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4066:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp638; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4066:24: error: expected ';' after expression multi_array tmp638; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4066:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp638; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.o] Error 1