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.ActuatedDrive.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.ActuatedDrive,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.003/1.003, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.885e-05, allocations: 4 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05772/0.05778, allocations: 25.18 MB / 173.4 MB, free: 12.9 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.3422, allocations: 50.42 MB / 223.8 MB, free: 2.043 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.3427, allocations: 73.2 kB / 223.9 MB, free: 2.031 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25/1.593, allocations: 176.1 MB / 400 MB, free: 26.05 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.593, allocations: 2.062 kB / 400 MB, free: 26.05 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003542/1.593, allocations: 112.3 kB / 400.1 MB, free: 26.05 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: 2089 * Number of variables: 2089 Notification: Performance of Generate backend data structure: time 0.0531/1.647, allocations: 8.077 MB / 408.1 MB, free: 23.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.647, allocations: 10.34 kB / 408.2 MB, free: 23.77 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2258/1.872, allocations: 23.73 MB / 431.9 MB, free: 22.74 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02437/1.897, allocations: 6.413 MB / 438.3 MB, free: 22.07 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/1.897, allocations: 193 kB / 438.5 MB, free: 22.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005855/1.903, allocations: 342.5 kB / 438.8 MB, free: 22.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04217/1.945, allocations: 16.29 MB / 455.1 MB, free: 18.59 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0531/1.999, allocations: 18.19 MB / 473.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004115/1.999, allocations: 33.53 kB / 473.3 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005247/2.004, allocations: 16 kB / 473.4 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.08622/2.091, allocations: 9.684 MB / 483 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.322/3.412, allocations: 128.1 MB / 0.5968 GB, free: 36.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/3.424, allocations: 5.893 MB / 0.6026 GB, free: 35.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007692/3.432, allocations: 3.729 MB / 0.6062 GB, free: 35.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2413/3.674, allocations: 32.41 MB / 0.6379 GB, free: 32.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/3.674, allocations: 54.22 kB / 0.6379 GB, free: 32.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=252): time 9.688e-06/3.674, allocations: 3.562 kB / 0.6379 GB, free: 32.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=259): time 0.05849/3.732, allocations: 18.25 MB / 0.6557 GB, free: 23.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/3.732, allocations: 175.5 kB / 0.6559 GB, free: 22.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/3.743, allocations: 4.036 MB / 0.6599 GB, free: 19.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001211/3.744, allocations: 25.7 kB / 0.6599 GB, free: 19.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003514/3.748, allocations: 4.081 MB / 0.6639 GB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002182/3.75, allocations: 0.9628 MB / 0.6648 GB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002182/3.752, allocations: 112 / 0.6648 GB, free: 15.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0008728/3.753, allocations: 0.6677 MB / 0.6655 GB, free: 14.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00988/3.763, allocations: 3.947 MB / 0.6693 GB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/3.777, allocations: 8.83 MB / 0.6779 GB, free: 0.6523 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/3.789, allocations: 4.897 MB / 0.6827 GB, free: 12.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00024/3.79, allocations: 48 kB / 0.6828 GB, free: 12 MB / 282.7 MB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.04002/3.83, allocations: 11.79 MB / 0.6943 GB, free: 0.5039 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/3.83, allocations: 80 kB / 0.6944 GB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003458/3.83, allocations: 180.2 kB / 0.6945 GB, free: 256 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.214/4.044, allocations: 0.9653 MB / 0.6955 GB, free: 58.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/4.059, allocations: 1.988 MB / 0.6974 GB, free: 58.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/4.069, allocations: 4.671 MB / 0.702 GB, free: 57.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02936/4.099, allocations: 2.145 MB / 0.7041 GB, free: 57.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003522/4.102, allocations: 0.7566 MB / 0.7048 GB, free: 57.31 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 799 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 993 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00472/4.107, allocations: 0.5273 MB / 0.7053 GB, free: 57.2 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01975/4.127, allocations: 6.09 MB / 0.7113 GB, free: 57.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/4.129, allocations: 392 kB / 0.7116 GB, free: 57.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/4.144, allocations: 4.298 MB / 0.7158 GB, free: 57.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03471/4.179, allocations: 3.554 MB / 0.7193 GB, free: 57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/4.179, allocations: 4.906 kB / 0.7193 GB, free: 57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/4.179, allocations: 12.25 kB / 0.7193 GB, free: 57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1423/4.322, allocations: 21.26 MB / 0.7401 GB, free: 56.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/4.322, allocations: 2.219 kB / 0.7401 GB, free: 56.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004534/4.326, allocations: 409.6 kB / 0.7405 GB, free: 56.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003895/4.33, allocations: 0.6984 MB / 0.7412 GB, free: 56.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001266/4.331, allocations: 121.9 kB / 0.7413 GB, free: 56.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008386/4.34, allocations: 4.184 MB / 0.7454 GB, free: 55.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/4.34, allocations: 0 / 0.7454 GB, free: 55.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02826/4.368, allocations: 11.06 MB / 0.7562 GB, free: 51.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004967/4.373, allocations: 1.21 MB / 0.7573 GB, free: 50.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002546/4.376, allocations: 0 / 0.7573 GB, free: 50.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02243/4.398, allocations: 1.898 MB / 0.7592 GB, free: 49.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/4.399, allocations: 136.5 kB / 0.7593 GB, free: 49.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00122/4.401, allocations: 311.1 kB / 0.7596 GB, free: 49.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007441/4.408, allocations: 2.677 MB / 0.7622 GB, free: 46.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.82e-07/4.408, allocations: 0 / 0.7622 GB, free: 46.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01304/4.421, allocations: 1.246 MB / 0.7635 GB, free: 45.56 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 182 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02871/4.45, allocations: 11.89 MB / 0.7751 GB, free: 35.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.02053/4.471, allocations: 8.931 MB / 0.7838 GB, free: 26.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/4.471, allocations: 4 kB / 0.7838 GB, free: 26.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007506/4.478, allocations: 3.237 MB / 0.787 GB, free: 23.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/4.483, allocations: 349.7 kB / 0.7873 GB, free: 23.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2693/4.752, allocations: 13.28 MB / 0.8003 GB, free: 56.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01182/4.764, allocations: 4.257 MB / 0.8044 GB, free: 55.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01331/4.777, allocations: 3.2 MB / 0.8075 GB, free: 55.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.803e-06/4.777, allocations: 0 / 0.8075 GB, free: 55.21 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_ActuatedDriveCalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveCalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3975:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp588; ^~~~~~~~~~~ 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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3975:24: error: expected ';' after expression multi_array tmp588; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3975:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp588; ^~~~~~~~~~~~~~~~~~~~~ /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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3975:25: error: use of undeclared identifier 'tmp588' multi_array tmp588; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3978:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp592; ^~~~~~~~~~~ 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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3978:24: error: expected ';' after expression multi_array tmp592; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3978:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp592; ^~~~~~~~~~~~~~~~~~~~~ /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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3978:25: error: use of undeclared identifier 'tmp592' multi_array tmp592; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3982:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp597; ^~~~~~~~~~~ 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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3982:24: error: expected ';' after expression multi_array tmp597; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3982:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp597; ^~~~~~~~~~~~~~~~~~~~~ /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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3982:25: error: use of undeclared identifier 'tmp597' multi_array tmp597; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3985:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp601; ^~~~~~~~~~~ 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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3985:24: error: expected ';' after expression multi_array tmp601; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3985:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp601; ^~~~~~~~~~~~~~~~~~~~~ /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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3985:25: error: use of undeclared identifier 'tmp601'; did you mean 'tmp600'? multi_array tmp601; ^~~~~~ tmp600 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3984:24: note: 'tmp600' declared here DynArrayDim1 tmp600; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3988:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp605; ^~~~~~~~~~~ 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_ActuatedDriveCalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3988:24: error: expected ';' after expression multi_array tmp605; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveInitialize.cpp:3988:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp605; ^~~~~~~~~~~~~~~~~~~~~ /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_ActuatedDriveCalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDriveCalcHelperMain.o] Error 1