Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") Notification: Performance of loadModel(Modelica): time 0.9773/0.9773, allocations: 111.2 MB / 123.8 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.855e-05, allocations: 3.984 kB / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 25.15 MB / 176.6 MB, free: 8 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08078/0.2223, allocations: 52.95 MB / 229.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.2226, allocations: 79.94 kB / 229.6 MB, free: 12.39 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517/1.74, allocations: 272.3 MB / 0.4901 GB, free: 24.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.74, allocations: 0 / 0.4901 GB, free: 24.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004072/1.74, allocations: 159.2 kB / 0.4902 GB, free: 24.88 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.04808/1.788, allocations: 12.22 MB / 0.5022 GB, free: 21.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.788, allocations: 10.47 kB / 0.5022 GB, free: 21.49 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3393/2.128, allocations: 43.06 MB / 0.5442 GB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2015/2.329, allocations: 10.47 MB / 0.5544 GB, free: 35.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/2.33, allocations: 0.6383 MB / 0.5551 GB, free: 35.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007489/2.338, allocations: 0.8141 MB / 0.5559 GB, free: 35.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08085/2.419, allocations: 30.06 MB / 0.5852 GB, free: 32.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005115/2.419, allocations: 55.38 kB / 0.5853 GB, free: 32.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006545/2.426, allocations: 367.7 kB / 0.5856 GB, free: 32.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08716/2.513, allocations: 15.71 MB / 0.601 GB, free: 32.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07331/2.586, allocations: 32.44 MB / 0.6326 GB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.292/3.878, allocations: 202.6 MB / 0.8305 GB, free: 20.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02567/3.904, allocations: 10.89 MB / 0.8411 GB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01107/3.915, allocations: 6.841 MB / 0.8478 GB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3971/4.312, allocations: 55.02 MB / 0.9016 GB, free: 59.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/4.312, allocations: 79.75 kB / 0.9016 GB, free: 59.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=454): time 1.134e-05/4.312, allocations: 0 / 0.9016 GB, free: 59.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=504): time 0.1394/4.452, allocations: 37.25 MB / 0.938 GB, free: 53.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/4.452, allocations: 234 kB / 0.9382 GB, free: 53.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/4.466, allocations: 6.538 MB / 0.9446 GB, free: 50.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001414/4.467, allocations: 93.22 kB / 0.9447 GB, free: 50.33 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.004065/4.472, allocations: 5.718 MB / 0.9503 GB, free: 45.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002723/4.474, allocations: 1.84 MB / 0.9521 GB, free: 43.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/4.476, allocations: 239.7 kB / 0.9523 GB, free: 43.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0008014/4.477, allocations: 0.8431 MB / 0.9531 GB, free: 42.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01542/4.492, allocations: 7.991 MB / 0.9609 GB, free: 35.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01796/4.51, allocations: 14.14 MB / 0.9747 GB, free: 19.77 MB / 298.7 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.335/4.845, allocations: 28.55 MB / 1.003 GB, free: 51.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001786/4.846, allocations: 72.94 kB / 1.003 GB, free: 51.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=1615) (initialization): time 0.07505/4.921, allocations: 25.2 MB / 1.027 GB, free: 49.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/4.921, allocations: 107.5 kB / 1.027 GB, free: 49.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003087/4.921, allocations: 240.5 kB / 1.028 GB, free: 49.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03415/4.955, allocations: 6.452 MB / 1.034 GB, free: 48.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01462/4.97, allocations: 2.942 MB / 1.037 GB, free: 48.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04697/5.017, allocations: 26.84 MB / 1.063 GB, free: 29.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02592/5.043, allocations: 3.019 MB / 1.066 GB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003769/5.047, allocations: 0.998 MB / 1.067 GB, free: 25.59 MB / 298.7 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: 1086 * 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 (1479): * Single equations (assignments): 1456 * 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.005249/5.052, allocations: 0.9888 MB / 1.068 GB, free: 24.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002848/5.055, allocations: 0.6454 MB / 1.069 GB, free: 24.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2324/5.287, allocations: 14.67 MB / 1.083 GB, free: 47.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02407/5.311, allocations: 4.408 MB / 1.087 GB, free: 47.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/5.312, allocations: 11.48 kB / 1.087 GB, free: 47.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.647e-05/5.312, allocations: 25.23 kB / 1.087 GB, free: 47.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1571/5.469, allocations: 43.34 MB / 1.13 GB, free: 44.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.966e-05/5.469, allocations: 6.906 kB / 1.13 GB, free: 44.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006291/5.475, allocations: 0.8173 MB / 1.13 GB, free: 44.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02372/5.499, allocations: 4.105 MB / 1.134 GB, free: 44.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001597/5.501, allocations: 195.6 kB / 1.135 GB, free: 44.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02926/5.53, allocations: 17.31 MB / 1.151 GB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.582e-06/5.53, allocations: 13.95 kB / 1.151 GB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05638/5.586, allocations: 25.05 MB / 1.176 GB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006222/5.593, allocations: 2.084 MB / 1.178 GB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002743/5.595, allocations: 74.58 kB / 1.178 GB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01729/5.613, allocations: 2.511 MB / 1.18 GB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/5.614, allocations: 265.4 kB / 1.181 GB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001487/5.616, allocations: 383.5 kB / 1.181 GB, free: 12.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.2305/5.846, allocations: 4.52 MB / 1.186 GB, free: 47.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.824e-06/5.846, allocations: 0 / 1.186 GB, free: 47.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.03282/5.879, allocations: 2.447 MB / 1.188 GB, free: 47.01 MB / 298.7 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.001555/5.881, allocations: 250.5 kB / 1.188 GB, free: 46.93 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.05805/5.939, allocations: 16.51 MB / 1.204 GB, free: 46.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/5.939, allocations: 2.031 kB / 1.204 GB, free: 46.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02734/5.966, allocations: 6.507 MB / 1.211 GB, free: 46.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008536/5.975, allocations: 0.6201 MB / 1.211 GB, free: 46.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08313/6.058, allocations: 20.22 MB / 1.231 GB, free: 40.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01896/6.077, allocations: 6.233 MB / 1.237 GB, free: 38.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008976/6.086, allocations: 1.325 MB / 1.238 GB, free: 38.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.835e-06/6.086, allocations: 0 / 1.238 GB, free: 38.21 MB / 298.7 MB Notification: Performance of Templates: time 0.7042/6.791, allocations: 223.6 MB / 1.457 GB, free: 50.57 MB / 314.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3993:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp621; ^~~~~~~~~~~ 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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3993:24: error: expected ';' after expression multi_array tmp621; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3993:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp621; ^~~~~~~~~~~~~~~~~~~~~ /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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3993: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:3992:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3996:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp625; ^~~~~~~~~~~ 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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3996:24: error: expected ';' after expression multi_array tmp625; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3996:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp625; ^~~~~~~~~~~~~~~~~~~~~ /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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:3996:25: error: use of undeclared identifier 'tmp625' multi_array tmp625; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4000:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp630; ^~~~~~~~~~~ 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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4000:24: error: expected ';' after expression multi_array tmp630; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4000:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp630; ^~~~~~~~~~~~~~~~~~~~~ /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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4000: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:3992:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4003:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp634; ^~~~~~~~~~~ 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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4003:24: error: expected ';' after expression multi_array tmp634; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4003:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp634; ^~~~~~~~~~~~~~~~~~~~~ /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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4003:25: error: use of undeclared identifier 'tmp634' multi_array tmp634; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4006:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp638; ^~~~~~~~~~~ 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.Fourbar2CalcHelperMain.cpp:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4006:24: error: expected ';' after expression multi_array tmp638; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2Initialize.cpp:4006:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp638; ^~~~~~~~~~~~~~~~~~~~~ /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.Fourbar2CalcHelperMain.o' failed make: *** [OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2CalcHelperMain.o] Error 1