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.Rotational3DEffects.GearConstraint.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.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.094/1.094, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.982e-05, allocations: 0 / 154.4 MB, free: 13.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 25.15 MB / 179.5 MB, free: 0.8164 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0925/0.2667, allocations: 50.95 MB / 230.5 MB, free: 14.11 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.2671, allocations: 75.97 kB / 230.6 MB, free: 14.03 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222/1.49, allocations: 196.4 MB / 427 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.717e-06/1.49, allocations: 0 / 427 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004467/1.49, allocations: 139.9 kB / 427.1 MB, free: 0.6172 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.04874/1.539, allocations: 8.712 MB / 435.8 MB, free: 7.828 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.539, allocations: 8.031 kB / 435.8 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007586/1.546, allocations: 1.194 MB / 437 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4458/1.992, allocations: 27.55 MB / 464.6 MB, free: 34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03394/2.026, allocations: 8.695 MB / 473.3 MB, free: 33.56 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/2.027, allocations: 0.5122 MB / 473.8 MB, free: 33.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007766/2.035, allocations: 0.6708 MB / 474.5 MB, free: 33.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06935/2.105, allocations: 20.68 MB / 495.1 MB, free: 30.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005604/2.105, allocations: 57.2 kB / 495.2 MB, free: 30.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005768/2.111, allocations: 304.6 kB / 495.5 MB, free: 30.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08053/2.192, allocations: 9.486 MB / 0.4931 GB, free: 26.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05807/2.25, allocations: 20.96 MB / 0.5136 GB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.3/3.55, allocations: 133.9 MB / 0.6444 GB, free: 48.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/3.571, allocations: 6.416 MB / 0.6506 GB, free: 47.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008677/3.579, allocations: 4.061 MB / 0.6546 GB, free: 47.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2069/3.786, allocations: 31.64 MB / 0.6855 GB, free: 44.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/3.787, allocations: 60.41 kB / 0.6855 GB, free: 44.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=286): time 9.037e-06/3.787, allocations: 2.844 kB / 0.6855 GB, free: 44.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=312): time 0.09115/3.878, allocations: 21.61 MB / 0.7067 GB, free: 38.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/3.878, allocations: 235.6 kB / 0.7069 GB, free: 38.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/3.892, allocations: 5.308 MB / 0.7121 GB, free: 36.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001129/3.893, allocations: 68.78 kB / 0.7121 GB, free: 36.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003826/3.897, allocations: 4.453 MB / 0.7165 GB, free: 32.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002175/3.899, allocations: 1.159 MB / 0.7176 GB, free: 32.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/3.901, allocations: 168.2 kB / 0.7178 GB, free: 32.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0007241/3.901, allocations: 0.675 MB / 0.7184 GB, free: 31.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01051/3.912, allocations: 4.038 MB / 0.7224 GB, free: 29.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/3.926, allocations: 8.979 MB / 0.7311 GB, free: 19.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/3.938, allocations: 5.142 MB / 0.7362 GB, free: 15.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001848/3.938, allocations: 48 kB / 0.7362 GB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.24/4.178, allocations: 12.78 MB / 0.7487 GB, free: 48.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/4.178, allocations: 86.67 kB / 0.7488 GB, free: 48.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/4.179, allocations: 173.5 kB / 0.7489 GB, free: 48.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004734/4.183, allocations: 0.9578 MB / 0.7499 GB, free: 48.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/4.198, allocations: 2.01 MB / 0.7518 GB, free: 48.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/4.212, allocations: 7.392 MB / 0.7591 GB, free: 45.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02705/4.239, allocations: 2.083 MB / 0.7611 GB, free: 45.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/4.243, allocations: 0.7245 MB / 0.7618 GB, free: 45.76 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.004431/4.247, allocations: 0.7497 MB / 0.7625 GB, free: 45.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/4.249, allocations: 0.5038 MB / 0.763 GB, free: 45.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/4.264, allocations: 4.6 MB / 0.7675 GB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02993/4.294, allocations: 3.17 MB / 0.7706 GB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-05/4.294, allocations: 6.562 kB / 0.7706 GB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/4.294, allocations: 11.77 kB / 0.7706 GB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1929/4.487, allocations: 22.54 MB / 0.7926 GB, free: 43.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.709e-05/4.487, allocations: 3.875 kB / 0.7926 GB, free: 43.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006495/4.494, allocations: 470.7 kB / 0.7931 GB, free: 43.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005288/4.499, allocations: 0.6768 MB / 0.7938 GB, free: 43.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/4.501, allocations: 144.9 kB / 0.7939 GB, free: 43.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/4.516, allocations: 6.472 MB / 0.8002 GB, free: 39.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/4.516, allocations: 3.938 kB / 0.8002 GB, free: 39.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02945/4.546, allocations: 11.39 MB / 0.8113 GB, free: 32.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005572/4.551, allocations: 1.316 MB / 0.8126 GB, free: 31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002645/4.554, allocations: 49.64 kB / 0.8127 GB, free: 30.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02096/4.575, allocations: 1.729 MB / 0.8144 GB, free: 30 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/4.576, allocations: 175.2 kB / 0.8145 GB, free: 29.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009833/4.577, allocations: 293.4 kB / 0.8148 GB, free: 29.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.01025/4.587, allocations: 3.735 MB / 0.8185 GB, free: 26.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.443e-06/4.587, allocations: 0 / 0.8185 GB, free: 26.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01205/4.599, allocations: 1.613 MB / 0.82 GB, free: 24.8 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.02816/4.628, allocations: 12.31 MB / 0.8321 GB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.2196/4.847, allocations: 9.766 MB / 0.8416 GB, free: 53.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/4.847, allocations: 0 / 0.8416 GB, free: 53.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009458/4.857, allocations: 3.57 MB / 0.8451 GB, free: 53.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005456/4.862, allocations: 0.5569 MB / 0.8456 GB, free: 53.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05175/4.914, allocations: 15.78 MB / 0.861 GB, free: 50.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/4.928, allocations: 4.995 MB / 0.8659 GB, free: 50.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01737/4.946, allocations: 3.726 MB / 0.8695 GB, free: 50.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/4.946, allocations: 3.281 kB / 0.8696 GB, free: 50.08 MB / 282.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_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