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.078/1.078, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002767, allocations: 4 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05637/0.0567, allocations: 25.17 MB / 183.6 MB, free: 5.875 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2611/0.3179, allocations: 51.03 MB / 234.6 MB, free: 11.21 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.3182, allocations: 76.14 kB / 234.7 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216/1.534, allocations: 196.6 MB / 431.3 MB, free: 18.73 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.534, allocations: 0 / 431.3 MB, free: 18.73 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003958/1.535, allocations: 140.1 kB / 431.4 MB, free: 18.72 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.04669/1.581, allocations: 9.205 MB / 440.6 MB, free: 15.76 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.582, allocations: 7.438 kB / 440.6 MB, free: 15.76 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00713/1.589, allocations: 1.19 MB / 441.8 MB, free: 15.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2486/1.837, allocations: 27.6 MB / 469.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03417/1.872, allocations: 8.729 MB / 478.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009876/1.873, allocations: 0.5159 MB / 478.6 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006687/1.879, allocations: 0.6753 MB / 479.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3844/2.264, allocations: 30.88 MB / 0.4982 GB, free: 29.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005829/2.264, allocations: 46.73 kB / 0.4983 GB, free: 29.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00564/2.27, allocations: 309 kB / 0.4986 GB, free: 29.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.07992/2.35, allocations: 9.478 MB / 0.5078 GB, free: 28.97 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1928/2.543, allocations: 32.18 MB / 0.5393 GB, free: 21.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.222/3.765, allocations: 133.9 MB / 0.67 GB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06223/3.827, allocations: 10.33 MB / 0.6801 GB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.419/4.246, allocations: 31.62 MB / 0.711 GB, free: 55.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/4.246, allocations: 68.53 kB / 0.7111 GB, free: 55.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=286): time 9.899e-06/4.246, allocations: 0 / 0.7111 GB, free: 55.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=312): time 0.235/4.481, allocations: 39.72 MB / 0.7498 GB, free: 49.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/4.482, allocations: 235.9 kB / 0.7501 GB, free: 48.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01485/4.496, allocations: 5.377 MB / 0.7553 GB, free: 44.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001188/4.498, allocations: 73.22 kB / 0.7554 GB, free: 44.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004016/4.502, allocations: 4.447 MB / 0.7597 GB, free: 41.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002324/4.504, allocations: 1.164 MB / 0.7609 GB, free: 40.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/4.506, allocations: 164 kB / 0.761 GB, free: 39.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0006597/4.506, allocations: 0.6705 MB / 0.7617 GB, free: 39.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04704/4.554, allocations: 7.928 MB / 0.7694 GB, free: 33.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05039/4.604, allocations: 12.88 MB / 0.782 GB, free: 18.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2566/4.861, allocations: 8.355 MB / 0.7902 GB, free: 49.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001992/4.861, allocations: 49.97 kB / 0.7902 GB, free: 49.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=1117) (initialization): time 0.1076/4.969, allocations: 19.97 MB / 0.8097 GB, free: 48.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/4.969, allocations: 85.59 kB / 0.8098 GB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/4.969, allocations: 180.6 kB / 0.81 GB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/4.974, allocations: 0.9606 MB / 0.8109 GB, free: 48.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01347/4.987, allocations: 2.007 MB / 0.8129 GB, free: 48.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/5.001, allocations: 7.601 MB / 0.8203 GB, free: 45.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02689/5.028, allocations: 2.088 MB / 0.8223 GB, free: 45.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0032/5.031, allocations: 0.724 MB / 0.823 GB, free: 45.8 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" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real gearConstraint.actuatedRevolute_b.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true 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 () * Number of clocked 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.01078/5.042, allocations: 3.159 MB / 0.8261 GB, free: 45.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002108/5.044, allocations: 0.5091 MB / 0.8266 GB, free: 45.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03538/5.08, allocations: 6.391 MB / 0.8329 GB, free: 44.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02971/5.109, allocations: 3.169 MB / 0.8359 GB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-05/5.11, allocations: 10.41 kB / 0.836 GB, free: 44.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/5.11, allocations: 22.06 kB / 0.836 GB, free: 44.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1966/5.306, allocations: 24.33 MB / 0.8597 GB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.009e-05/5.306, allocations: 4 kB / 0.8597 GB, free: 33.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006157/5.313, allocations: 471.2 kB / 0.8602 GB, free: 33.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/5.318, allocations: 0.6773 MB / 0.8609 GB, free: 32.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001349/5.319, allocations: 140.2 kB / 0.861 GB, free: 32.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/5.336, allocations: 6.664 MB / 0.8675 GB, free: 26.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/5.336, allocations: 4 kB / 0.8675 GB, free: 26.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3521/5.688, allocations: 22.29 MB / 0.8893 GB, free: 46.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00518/5.693, allocations: 1.312 MB / 0.8905 GB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002536/5.696, allocations: 46.45 kB / 0.8906 GB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02126/5.717, allocations: 1.725 MB / 0.8923 GB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/5.718, allocations: 179.7 kB / 0.8924 GB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001107/5.719, allocations: 287.3 kB / 0.8927 GB, free: 46.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.01303/5.733, allocations: 3.802 MB / 0.8964 GB, free: 46.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.32e-07/5.733, allocations: 3.812 kB / 0.8964 GB, free: 46.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01328/5.746, allocations: 1.614 MB / 0.898 GB, free: 46.45 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 () * Number of clocked 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.1309/5.877, allocations: 23.21 MB / 0.9207 GB, free: 44.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.09709/5.974, allocations: 17.31 MB / 0.9376 GB, free: 44.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/5.974, allocations: 1.188 kB / 0.9376 GB, free: 44.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04582/6.02, allocations: 7.421 MB / 0.9448 GB, free: 42.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005887/6.026, allocations: 0.5448 MB / 0.9454 GB, free: 42.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5534/6.579, allocations: 195.4 MB / 1.136 GB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01274/6.592, allocations: 5.001 MB / 1.141 GB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01564/6.608, allocations: 3.723 MB / 1.145 GB, free: 7.195 MB / 362.7 MB Notification: Performance of SimCode: time 3.035e-06/6.608, allocations: 3.828 kB / 1.145 GB, free: 7.195 MB / 362.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:3645: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:3645:24: error: expected ';' after expression multi_array tmp511; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3645: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:3645: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:3644:24: note: 'tmp510' declared here DynArrayDim1 tmp510; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3648: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:3648:24: error: expected ';' after expression multi_array tmp515; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3648: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:3648:25: error: use of undeclared identifier 'tmp515' multi_array tmp515; ^ ./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 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:3652:24: error: expected ';' after expression multi_array tmp520; ^ ; ./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 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:3652: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:3644: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 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:3655:24: error: expected ';' after expression multi_array tmp524; ^ ; ./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 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:3655:25: error: use of undeclared identifier 'tmp524' multi_array tmp524; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3658: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:3658:24: error: expected ';' after expression multi_array tmp528; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GearConstraintInitialize.cpp:3658: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