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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.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.112/1.112, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.489e-05, allocations: 4 kB / 148.2 MB, free: 6.117 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05799/0.05806, allocations: 25.18 MB / 173.4 MB, free: 12.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.3533, allocations: 50.29 MB / 223.7 MB, free: 2.047 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/0.3538, allocations: 76.36 kB / 223.8 MB, free: 2.035 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282/1.635, allocations: 193.4 MB / 417.1 MB, free: 22.38 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.635, allocations: 0 / 417.1 MB, free: 22.38 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004192/1.636, allocations: 138.4 kB / 417.3 MB, free: 22.38 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.04478/1.681, allocations: 8.714 MB / 426 MB, free: 19.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.681, allocations: 11.31 kB / 426 MB, free: 19.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2457/1.926, allocations: 27.55 MB / 453.5 MB, free: 18.28 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03192/1.958, allocations: 8.689 MB / 462.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/1.959, allocations: 231.4 kB / 462.4 MB, free: 12.51 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006373/1.965, allocations: 399.3 kB / 462.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04412/2.01, allocations: 16.83 MB / 479.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2635/2.273, allocations: 19.32 MB / 499 MB, free: 28.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005291/2.274, allocations: 52.09 kB / 499 MB, free: 28.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005186/2.279, allocations: 24.25 kB / 499.1 MB, free: 28.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09288/2.372, allocations: 9.48 MB / 0.4966 GB, free: 28.64 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.083/3.455, allocations: 132.3 MB / 0.6258 GB, free: 30.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/3.466, allocations: 5.69 MB / 0.6314 GB, free: 29.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008204/3.475, allocations: 3.952 MB / 0.6353 GB, free: 29.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/3.476, allocations: 358 kB / 0.6356 GB, free: 29.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.236e-05/3.476, allocations: 83.44 kB / 0.6357 GB, free: 29.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=340): time 1.284e-05/3.476, allocations: 0 / 0.6357 GB, free: 29.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=375): time 0.1181/3.594, allocations: 36.49 MB / 0.6713 GB, free: 3.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/3.594, allocations: 455 kB / 0.6717 GB, free: 3.453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/3.606, allocations: 4.386 MB / 0.676 GB, free: 15.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00132/3.607, allocations: 29.7 kB / 0.6761 GB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005449/3.612, allocations: 4.454 MB / 0.6804 GB, free: 11.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003126/3.616, allocations: 1.317 MB / 0.6817 GB, free: 10.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002012/3.618, allocations: 0 / 0.6817 GB, free: 10.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.001115/3.619, allocations: 0.6882 MB / 0.6824 GB, free: 10.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01213/3.631, allocations: 4.171 MB / 0.6864 GB, free: 6.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2809/3.912, allocations: 9.109 MB / 0.6953 GB, free: 54.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/3.933, allocations: 5.29 MB / 0.7005 GB, free: 54.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004815/3.934, allocations: 49.97 kB / 0.7005 GB, free: 54.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.04617/3.98, allocations: 12.37 MB / 0.7126 GB, free: 53.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/3.98, allocations: 79.59 kB / 0.7127 GB, free: 53.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006073/3.981, allocations: 301 kB / 0.713 GB, free: 53.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00478/3.986, allocations: 0.9938 MB / 0.714 GB, free: 53.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/4.001, allocations: 2.136 MB / 0.716 GB, free: 53.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/4.014, allocations: 7.33 MB / 0.7232 GB, free: 50.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/4.041, allocations: 1.969 MB / 0.7251 GB, free: 50.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003153/4.044, allocations: 0.7432 MB / 0.7259 GB, free: 50.94 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: 800 * 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 (1084): * Single equations (assignments): 1065 * Array equations: 17 * 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.003534/4.048, allocations: 0.5458 MB / 0.7264 GB, free: 50.66 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01976/4.067, allocations: 6.892 MB / 0.7331 GB, free: 50.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002746/4.07, allocations: 497.2 kB / 0.7336 GB, free: 50.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/4.085, allocations: 4.951 MB / 0.7384 GB, free: 48.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04175/4.126, allocations: 7.409 MB / 0.7457 GB, free: 46.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/4.127, allocations: 14.8 kB / 0.7457 GB, free: 46.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001373/4.127, allocations: 25.02 kB / 0.7457 GB, free: 46.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1341/4.261, allocations: 24.8 MB / 0.7699 GB, free: 34.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.88e-05/4.261, allocations: 11.95 kB / 0.7699 GB, free: 34.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005638/4.267, allocations: 0.5701 MB / 0.7705 GB, free: 34.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/4.27, allocations: 0.6738 MB / 0.7711 GB, free: 33.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00128/4.272, allocations: 115.2 kB / 0.7713 GB, free: 33.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/4.282, allocations: 6.154 MB / 0.7773 GB, free: 28.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/4.283, allocations: 15.94 kB / 0.7773 GB, free: 28.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/4.311, allocations: 13.38 MB / 0.7903 GB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005195/4.316, allocations: 1.324 MB / 0.7916 GB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/4.319, allocations: 15.98 kB / 0.7917 GB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02055/4.339, allocations: 1.692 MB / 0.7933 GB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/4.34, allocations: 237.5 kB / 0.7935 GB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009403/4.341, allocations: 307.8 kB / 0.7938 GB, free: 12.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.2153/4.557, allocations: 2.957 MB / 0.7967 GB, free: 51.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.82e-07/4.557, allocations: 0 / 0.7967 GB, free: 51.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01425/4.571, allocations: 1.437 MB / 0.7981 GB, free: 51.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (302): * Single equations (assignments): 285 * 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.0323/4.603, allocations: 16.07 MB / 0.8138 GB, free: 46.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.02333/4.627, allocations: 9.701 MB / 0.8233 GB, free: 46.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/4.627, allocations: 3.719 kB / 0.8233 GB, free: 46.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009395/4.636, allocations: 3.839 MB / 0.827 GB, free: 45.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/4.642, allocations: 496 kB / 0.8275 GB, free: 45.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05115/4.693, allocations: 15.97 MB / 0.8431 GB, free: 40.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/4.705, allocations: 5.04 MB / 0.848 GB, free: 38.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/4.717, allocations: 3.742 MB / 0.8517 GB, free: 36.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/4.717, allocations: 0 / 0.8517 GB, free: 36.05 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_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:3716:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp511; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3716:24: error: expected ';' after expression multi_array tmp511; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3716:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp511; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3716: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:3715:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3719:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp515; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3719:24: error: expected ';' after expression multi_array tmp515; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3719:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp515; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3719:25: error: use of undeclared identifier 'tmp515' multi_array tmp515; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3723:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp520; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3723:24: error: expected ';' after expression multi_array tmp520; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3723:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp520; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3723: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:3715:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3726:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp524; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3726:24: error: expected ';' after expression multi_array tmp524; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3726:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp524; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3726:25: error: use of undeclared identifier 'tmp524' multi_array tmp524; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3729:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp528; ^~~~~~~~~~~ multiply_array /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: 'multiply_array' declared here void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3729:24: error: expected ';' after expression multi_array tmp528; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3729:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp528; ^~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:61:6: note: possible target for call void multiply_array(const BaseArray &leftArray, const BaseArray &rightArray, BaseArray &resultArray); ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/Core/Math/ArrayOperations.h:58:6: note: possible target for call void multiply_array(const BaseArray& inputArray, const T &b, BaseArray& outputArray); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintCalcHelperMain.o] Error 1