Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.03/1.03, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.093e-05, allocations: 4 kB / 151.5 MB, free: 15.48 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 25.15 MB / 176.6 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09101/0.2635, allocations: 50.96 MB / 227.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.2638, allocations: 67.97 kB / 227.7 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151/1.415, allocations: 196.4 MB / 424.1 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.415, allocations: 0 / 424.1 MB, free: 15.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003878/1.416, allocations: 136 kB / 424.2 MB, free: 15.12 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2379 * Number of variables: 2379 Notification: Performance of Generate backend data structure: time 0.0432/1.459, allocations: 8.723 MB / 433 MB, free: 6.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.459, allocations: 8.031 kB / 433 MB, free: 6.309 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006168/1.465, allocations: 1.194 MB / 434.2 MB, free: 5.102 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6475/2.113, allocations: 27.55 MB / 461.7 MB, free: 32.71 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03055/2.143, allocations: 8.694 MB / 470.4 MB, free: 32.33 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006923/2.144, allocations: 0.5102 MB / 470.9 MB, free: 32.32 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0057/2.15, allocations: 0.6675 MB / 471.6 MB, free: 32.31 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06069/2.211, allocations: 20.59 MB / 492.2 MB, free: 29.03 MB / 250.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003709/2.211, allocations: 60.83 kB / 492.2 MB, free: 29.01 MB / 250.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/2.215, allocations: 307.3 kB / 492.5 MB, free: 28.83 MB / 250.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07817/2.293, allocations: 9.476 MB / 0.4902 GB, free: 28.53 MB / 250.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05666/2.35, allocations: 20.78 MB / 0.5105 GB, free: 15.35 MB / 250.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.052/3.402, allocations: 133.9 MB / 0.6413 GB, free: 10.41 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/3.425, allocations: 6.412 MB / 0.6476 GB, free: 5.586 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009866/3.435, allocations: 4.061 MB / 0.6515 GB, free: 3.113 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4364/3.872, allocations: 31.61 MB / 0.6824 GB, free: 54.4 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.865e-05/3.872, allocations: 64.97 kB / 0.6825 GB, free: 54.36 MB / 282.8 MB Notification: Performance of pre-optimization done (n=286): time 1.412e-05/3.872, allocations: 0 / 0.6825 GB, free: 54.36 MB / 282.8 MB Notification: Performance of matching and sorting (n=312): time 0.1405/4.012, allocations: 21.61 MB / 0.7036 GB, free: 49.54 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/4.013, allocations: 239.1 kB / 0.7038 GB, free: 49.29 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02016/4.033, allocations: 5.314 MB / 0.709 GB, free: 48.85 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001498/4.034, allocations: 64.84 kB / 0.709 GB, free: 48.82 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005814/4.04, allocations: 4.443 MB / 0.7134 GB, free: 45.61 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00294/4.043, allocations: 1.164 MB / 0.7145 GB, free: 44.76 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/4.046, allocations: 168.7 kB / 0.7147 GB, free: 44.63 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.001026/4.047, allocations: 0.6746 MB / 0.7153 GB, free: 44.16 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/4.06, allocations: 4.037 MB / 0.7193 GB, free: 42.73 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/4.074, allocations: 8.922 MB / 0.728 GB, free: 34.03 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/4.085, allocations: 5.152 MB / 0.733 GB, free: 29.87 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/4.086, allocations: 48 kB / 0.7331 GB, free: 29.82 MB / 282.8 MB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.03541/4.121, allocations: 12.29 MB / 0.7451 GB, free: 19.54 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/4.121, allocations: 80.03 kB / 0.7451 GB, free: 19.46 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002695/4.122, allocations: 176 kB / 0.7453 GB, free: 19.29 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004541/4.126, allocations: 0.9649 MB / 0.7463 GB, free: 18.51 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/4.14, allocations: 2.011 MB / 0.7482 GB, free: 16.8 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2699/4.41, allocations: 7.421 MB / 0.7555 GB, free: 45.05 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02621/4.436, allocations: 2.08 MB / 0.7575 GB, free: 45.05 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002864/4.439, allocations: 0.7291 MB / 0.7582 GB, free: 45.05 MB / 282.8 MB Warning: Assuming fixed start value for the following 2 variables: gearConstraint.actuatedRevolute_b.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real gearConstraint.actuatedRevolute_b.phi:VARIABLE(start = 0.0 unit = "rad" stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1014 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003787/4.443, allocations: 0.7434 MB / 0.7589 GB, free: 44.88 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001868/4.445, allocations: 0.5131 MB / 0.7594 GB, free: 44.88 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/4.459, allocations: 4.592 MB / 0.7639 GB, free: 44.72 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03103/4.49, allocations: 3.17 MB / 0.767 GB, free: 44.72 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.785e-05/4.49, allocations: 6.625 kB / 0.767 GB, free: 44.72 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/4.49, allocations: 17.97 kB / 0.767 GB, free: 44.72 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1464/4.637, allocations: 22.55 MB / 0.7891 GB, free: 44.12 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/4.637, allocations: 3.094 kB / 0.7891 GB, free: 44.12 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005003/4.642, allocations: 472.2 kB / 0.7895 GB, free: 44.12 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00392/4.646, allocations: 0.6697 MB / 0.7902 GB, free: 44.1 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/4.647, allocations: 142 kB / 0.7903 GB, free: 44.1 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/4.659, allocations: 6.467 MB / 0.7966 GB, free: 41.07 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/4.659, allocations: 2.906 kB / 0.7966 GB, free: 41.07 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/4.687, allocations: 11.4 MB / 0.8077 GB, free: 36.59 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/4.692, allocations: 1.31 MB / 0.809 GB, free: 36 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002454/4.694, allocations: 50.77 kB / 0.8091 GB, free: 35.96 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0203/4.715, allocations: 1.728 MB / 0.8108 GB, free: 35.93 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/4.716, allocations: 177 kB / 0.8109 GB, free: 35.92 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009569/4.717, allocations: 285 kB / 0.8112 GB, free: 35.89 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.009825/4.727, allocations: 3.737 MB / 0.8149 GB, free: 34.61 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.253e-06/4.727, allocations: 0 / 0.8149 GB, free: 34.61 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.01257/4.739, allocations: 1.608 MB / 0.8164 GB, free: 34.44 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 222 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02827/4.767, allocations: 12.32 MB / 0.8284 GB, free: 25.66 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.02269/4.79, allocations: 9.304 MB / 0.8375 GB, free: 17.83 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/4.79, allocations: 1.969 kB / 0.8375 GB, free: 17.83 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008871/4.799, allocations: 3.535 MB / 0.841 GB, free: 14.75 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/4.805, allocations: 0.5422 MB / 0.8415 GB, free: 14.28 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2499/5.055, allocations: 15.79 MB / 0.8569 GB, free: 50.82 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/5.066, allocations: 5.005 MB / 0.8618 GB, free: 49.96 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01224/5.079, allocations: 3.726 MB / 0.8655 GB, free: 49.96 MB / 282.8 MB Notification: Performance of SimCode: time 2.124e-06/5.079, allocations: 0 / 0.8655 GB, free: 49.96 MB / 282.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=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_Rotational3DEffects_GearConstraintCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3663:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp511; ^~~~~~~~~~~ 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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3663:24: error: expected ';' after expression multi_array tmp511; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3663:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp511; ^~~~~~~~~~~~~~~~~~~~~ /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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3663:25: error: use of undeclared identifier 'tmp511'; did you mean 'tmp510'? multi_array tmp511; ^~~~~~ tmp510 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3662:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3666:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp515; ^~~~~~~~~~~ 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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3666:24: error: expected ';' after expression multi_array tmp515; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3666:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp515; ^~~~~~~~~~~~~~~~~~~~~ /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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3666:25: error: use of undeclared identifier 'tmp515' multi_array tmp515; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3670:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp520; ^~~~~~~~~~~ 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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3670:24: error: expected ';' after expression multi_array tmp520; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3670:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp520; ^~~~~~~~~~~~~~~~~~~~~ /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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3670:25: error: use of undeclared identifier 'tmp520'; did you mean 'tmp510'? multi_array tmp520; ^~~~~~ tmp510 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3662:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3673:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp524; ^~~~~~~~~~~ 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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3673:24: error: expected ';' after expression multi_array tmp524; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3673:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp524; ^~~~~~~~~~~~~~~~~~~~~ /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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3673:25: error: use of undeclared identifier 'tmp524' multi_array tmp524; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3676:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp528; ^~~~~~~~~~~ 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_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3676:24: error: expected ';' after expression multi_array tmp528; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3676:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp528; ^~~~~~~~~~~~~~~~~~~~~ /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_Rotational3DEffects_GearConstraintCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.o] Error 1