Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadModel(Modelica): time 1.031/1.031, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.282e-05, allocations: 0 / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 25.16 MB / 176.6 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07881/0.2196, allocations: 50.95 MB / 227.5 MB, free: 14.49 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.2199, allocations: 87.88 kB / 227.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042/1.262, allocations: 196.4 MB / 424 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.29e-06/1.262, allocations: 4 kB / 424 MB, free: 15.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003402/1.263, allocations: 132 kB / 424.1 MB, free: 15.19 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.03034/1.293, allocations: 8.719 MB / 432.9 MB, free: 6.391 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.293, allocations: 12.03 kB / 432.9 MB, free: 6.379 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3203/1.613, allocations: 27.54 MB / 460.4 MB, free: 34.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02553/1.639, allocations: 8.698 MB / 469.1 MB, free: 34.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006792/1.64, allocations: 0.5189 MB / 469.6 MB, free: 34.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004465/1.644, allocations: 0.6658 MB / 470.3 MB, free: 34.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05157/1.696, allocations: 20.59 MB / 490.9 MB, free: 30.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000349/1.696, allocations: 51.02 kB / 490.9 MB, free: 30.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003434/1.7, allocations: 307.6 kB / 491.2 MB, free: 30.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.051/1.751, allocations: 9.481 MB / 0.489 GB, free: 30.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.046/1.797, allocations: 20.79 MB / 0.5093 GB, free: 17.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7771/2.574, allocations: 133.9 MB / 0.64 GB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/2.592, allocations: 6.395 MB / 0.6463 GB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007902/2.6, allocations: 4.062 MB / 0.6502 GB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3455/2.946, allocations: 31.62 MB / 0.6811 GB, free: 56.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/2.946, allocations: 62.09 kB / 0.6812 GB, free: 55.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=286): time 1.024e-05/2.946, allocations: 0 / 0.6812 GB, free: 55.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=312): time 0.07194/3.018, allocations: 21.62 MB / 0.7023 GB, free: 51.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/3.018, allocations: 238.4 kB / 0.7025 GB, free: 50.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/3.029, allocations: 5.312 MB / 0.7077 GB, free: 50.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000841/3.03, allocations: 72.3 kB / 0.7078 GB, free: 50.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00327/3.034, allocations: 4.442 MB / 0.7121 GB, free: 47.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/3.035, allocations: 1.16 MB / 0.7133 GB, free: 46.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/3.037, allocations: 174.9 kB / 0.7134 GB, free: 46.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006091/3.037, allocations: 0.6722 MB / 0.7141 GB, free: 45.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008544/3.046, allocations: 4.032 MB / 0.718 GB, free: 44.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/3.058, allocations: 8.925 MB / 0.7267 GB, free: 36.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/3.068, allocations: 5.144 MB / 0.7318 GB, free: 33.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001475/3.068, allocations: 48 kB / 0.7318 GB, free: 33.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.03027/3.098, allocations: 12.3 MB / 0.7438 GB, free: 23.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/3.099, allocations: 79.94 kB / 0.7439 GB, free: 23.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002108/3.099, allocations: 181 kB / 0.7441 GB, free: 23.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/3.102, allocations: 0.9652 MB / 0.745 GB, free: 22.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009021/3.111, allocations: 2.004 MB / 0.747 GB, free: 20.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/3.122, allocations: 7.392 MB / 0.7542 GB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1952/3.317, allocations: 2.111 MB / 0.7562 GB, free: 48.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002731/3.32, allocations: 0.729 MB / 0.757 GB, free: 48.22 MB / 282.7 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.003426/3.324, allocations: 0.7478 MB / 0.7577 GB, free: 48.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/3.325, allocations: 0.5154 MB / 0.7582 GB, free: 48.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/3.337, allocations: 4.592 MB / 0.7627 GB, free: 47.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01853/3.356, allocations: 3.17 MB / 0.7658 GB, free: 47.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.146e-05/3.356, allocations: 4.844 kB / 0.7658 GB, free: 47.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/3.356, allocations: 15.95 kB / 0.7658 GB, free: 47.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09305/3.449, allocations: 22.55 MB / 0.7878 GB, free: 47.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-05/3.449, allocations: 5.625 kB / 0.7878 GB, free: 47.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003558/3.453, allocations: 466.6 kB / 0.7883 GB, free: 47.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/3.456, allocations: 0.672 MB / 0.7889 GB, free: 47.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009611/3.457, allocations: 143.8 kB / 0.7891 GB, free: 47.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009982/3.467, allocations: 6.473 MB / 0.7954 GB, free: 44.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.306e-06/3.467, allocations: 0 / 0.7954 GB, free: 44.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/3.491, allocations: 11.39 MB / 0.8065 GB, free: 41.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004393/3.495, allocations: 1.317 MB / 0.8078 GB, free: 40.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/3.497, allocations: 41.62 kB / 0.8078 GB, free: 40.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01314/3.51, allocations: 1.728 MB / 0.8095 GB, free: 40.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008753/3.511, allocations: 179.5 kB / 0.8097 GB, free: 40.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/3.512, allocations: 281.8 kB / 0.8099 GB, free: 40.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.009408/3.522, allocations: 3.738 MB / 0.8136 GB, free: 39.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.522, allocations: 0 / 0.8136 GB, free: 39.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01221/3.534, allocations: 1.609 MB / 0.8152 GB, free: 38.9 MB / 282.7 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.001188/3.535, allocations: 207.3 kB / 0.8154 GB, free: 38.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01885/3.554, allocations: 9.301 MB / 0.8245 GB, free: 33.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/3.554, allocations: 0 / 0.8245 GB, free: 33.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006969/3.561, allocations: 3.533 MB / 0.8279 GB, free: 30.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/3.566, allocations: 0.5638 MB / 0.8285 GB, free: 29.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/3.598, allocations: 13.57 MB / 0.8417 GB, free: 18.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/3.609, allocations: 4.997 MB / 0.8466 GB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006009/3.615, allocations: 0.9593 MB / 0.8475 GB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.915e-06/3.616, allocations: 0 / 0.8475 GB, free: 13.65 MB / 282.7 MB Notification: Performance of Templates: time 0.5863/4.202, allocations: 162.4 MB / 1.006 GB, free: 52.29 MB / 298.7 MB make -j1 -f Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.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.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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3652: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3652:24: error: expected ';' after expression multi_array tmp511; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3652: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3652: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:3651:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3655: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3655:24: error: expected ';' after expression multi_array tmp515; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3655: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3655:25: error: use of undeclared identifier 'tmp515' multi_array tmp515; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3659: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3659:24: error: expected ';' after expression multi_array tmp520; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3659: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3659: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:3651:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3662: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3662:24: error: expected ';' after expression multi_array tmp524; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3662: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3662:25: error: use of undeclared identifier 'tmp524' multi_array tmp524; ^ ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3665: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:29: ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3665:24: error: expected ';' after expression multi_array tmp528; ^ ; ./OMCppModelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraintInitialize.cpp:3665: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