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.Loops.Fourbar2.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.Loops.Fourbar2,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.094/1.094, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 4 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05739/0.0577, allocations: 25.17 MB / 183.6 MB, free: 5.871 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.3038, allocations: 53.04 MB / 236.6 MB, free: 9.254 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.3041, allocations: 79.62 kB / 236.7 MB, free: 9.211 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784/2.088, allocations: 272.5 MB / 0.4973 GB, free: 20.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.525e-06/2.088, allocations: 0 / 0.4973 GB, free: 20.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004433/2.088, allocations: 163.7 kB / 0.4974 GB, free: 20.73 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3137 * Number of variables: 3137 Notification: Performance of Generate backend data structure: time 0.06649/2.155, allocations: 12.67 MB / 0.5098 GB, free: 17.2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/2.155, allocations: 7.812 kB / 0.5098 GB, free: 17.2 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01138/2.166, allocations: 1.92 MB / 0.5117 GB, free: 17.06 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4297/2.596, allocations: 43.15 MB / 0.5538 GB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04021/2.636, allocations: 10.5 MB / 0.5641 GB, free: 216 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/2.638, allocations: 0.6436 MB / 0.5647 GB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009842/2.647, allocations: 0.8107 MB / 0.5655 GB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4729/3.12, allocations: 47.21 MB / 0.6116 GB, free: 30.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006301/3.121, allocations: 45.66 kB / 0.6117 GB, free: 30.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008776/3.13, allocations: 372.4 kB / 0.612 GB, free: 30.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1303/3.26, allocations: 15.71 MB / 0.6274 GB, free: 29.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2673/3.528, allocations: 51.34 MB / 0.6775 GB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.807/5.335, allocations: 202.6 MB / 0.8754 GB, free: 16.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08379/5.418, allocations: 16.87 MB / 0.8918 GB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6124/6.031, allocations: 55.02 MB / 0.9456 GB, free: 57.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.625e-05/6.031, allocations: 83.83 kB / 0.9457 GB, free: 57.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=454): time 1.092e-05/6.031, allocations: 0 / 0.9457 GB, free: 57.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=504): time 0.439/6.47, allocations: 68.94 MB / 1.013 GB, free: 25.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/6.47, allocations: 224.2 kB / 1.013 GB, free: 25.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01898/6.489, allocations: 6.665 MB / 1.02 GB, free: 19.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00188/6.491, allocations: 97.45 kB / 1.02 GB, free: 19.1 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:2345:5-2348:81:writable] Warning: The parameter universalSpherical.rodLength has fixed = false and a binding equation universalSpherical.rodLength = 1.048808848170152, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.2302/6.721, allocations: 5.715 MB / 1.025 GB, free: 55.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004016/6.725, allocations: 1.837 MB / 1.027 GB, free: 54.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003244/6.729, allocations: 243.3 kB / 1.027 GB, free: 54.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.001562/6.73, allocations: 0.8419 MB / 1.028 GB, free: 54.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07027/6.8, allocations: 13.38 MB / 1.041 GB, free: 54.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07135/6.872, allocations: 19.6 MB / 1.06 GB, free: 45.35 MB / 298.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2868/7.159, allocations: 35.59 MB / 1.095 GB, free: 44.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004138/7.159, allocations: 69.34 kB / 1.095 GB, free: 44.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=1615) (initialization): time 0.4064/7.566, allocations: 35.8 MB / 1.13 GB, free: 40.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/7.566, allocations: 106.8 kB / 1.13 GB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005211/7.566, allocations: 238.2 kB / 1.131 GB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04623/7.613, allocations: 6.465 MB / 1.137 GB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02047/7.633, allocations: 2.947 MB / 1.14 GB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06158/7.695, allocations: 27.86 MB / 1.167 GB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03719/7.732, allocations: 3.018 MB / 1.17 GB, free: 36.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004474/7.737, allocations: 0.9972 MB / 1.171 GB, free: 36.88 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: universalSpherical.rodLength:VARIABLE(min = 0.0 start = 1.048808848170152 unit = "m" fixed = true final = true ) "Length of rod (distance between origin of frame_a and origin of frame_b)" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: j1.phi = $START.j1.phi. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1479): * Single equations (assignments): 1456 * Array equations: 21 * 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: 1 {(2,100.0%) 42} * Non-linear torn systems: 1 {1 15} Notification: Performance of prepare postOptimizeDAE: time 0.01494/7.752, allocations: 4.116 MB / 1.175 GB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003058/7.755, allocations: 0.641 MB / 1.176 GB, free: 35.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1063/7.861, allocations: 19.8 MB / 1.195 GB, free: 30.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03762/7.899, allocations: 4.399 MB / 1.199 GB, free: 30.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.656e-05/7.899, allocations: 6.969 kB / 1.199 GB, free: 30.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001505/7.899, allocations: 22.08 kB / 1.199 GB, free: 30.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4975/8.396, allocations: 48.46 MB / 1.246 GB, free: 43.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-05/8.397, allocations: 6.469 kB / 1.246 GB, free: 43.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008573/8.405, allocations: 0.8171 MB / 1.247 GB, free: 43.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03188/8.437, allocations: 4.106 MB / 1.251 GB, free: 43.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001971/8.439, allocations: 197.8 kB / 1.251 GB, free: 43.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03817/8.477, allocations: 17.91 MB / 1.269 GB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/8.477, allocations: 16.08 kB / 1.269 GB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2066/8.684, allocations: 40.03 MB / 1.308 GB, free: 31.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007652/8.692, allocations: 2.088 MB / 1.31 GB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00385/8.696, allocations: 77.97 kB / 1.31 GB, free: 30.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0279/8.724, allocations: 2.507 MB / 1.313 GB, free: 28.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001959/8.726, allocations: 259.7 kB / 1.313 GB, free: 28.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001941/8.728, allocations: 390.4 kB / 1.313 GB, free: 28.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01485/8.742, allocations: 4.646 MB / 1.318 GB, free: 24.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.12e-07/8.742, allocations: 0 / 1.318 GB, free: 24.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01889/8.761, allocations: 2.445 MB / 1.32 GB, free: 21.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (j1.phi,j1.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 (389): * Single equations (assignments): 366 * Array equations: 21 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4841/9.246, allocations: 41.66 MB / 1.361 GB, free: 41.88 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/MultiBody/Joints.mo:269:5-279:3:writable] Warning: Variable j1.phi has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.1331/9.379, allocations: 27.57 MB / 1.388 GB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/9.379, allocations: 3.344 kB / 1.388 GB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.07872/9.457, allocations: 11.83 MB / 1.399 GB, free: 37.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008411/9.466, allocations: 0.6232 MB / 1.4 GB, free: 37.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7185/10.18, allocations: 236.8 MB / 1.631 GB, free: 39.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01662/10.2, allocations: 6.242 MB / 1.637 GB, free: 38.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.025/10.23, allocations: 4.856 MB / 1.642 GB, free: 38.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.913e-06/10.23, allocations: 0 / 1.642 GB, free: 38.25 MB / 378.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_Loops_Fourbar2CalcHelperMain.o OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.cpp In file included from OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3989:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp621; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3989:24: error: expected ';' after expression multi_array tmp621; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3989:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp621; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3989:25: error: use of undeclared identifier 'tmp621'; did you mean 'tmp620'? multi_array tmp621; ^~~~~~ tmp620 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3988:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3992:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp625; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3992:24: error: expected ';' after expression multi_array tmp625; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3992:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp625; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3992:25: error: use of undeclared identifier 'tmp625' multi_array tmp625; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3996:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp630; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3996:24: error: expected ';' after expression multi_array tmp630; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3996:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp630; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3996:25: error: use of undeclared identifier 'tmp630'; did you mean 'tmp620'? multi_array tmp630; ^~~~~~ tmp620 ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3988:24: note: 'tmp620' declared here DynArrayDim1 tmp620; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3999:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp634; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3999:24: error: expected ';' after expression multi_array tmp634; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3999:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp634; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:3999:25: error: use of undeclared identifier 'tmp634' multi_array tmp634; ^ ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4002:3: error: no template named 'multi_array'; did you mean 'multiply_array'? multi_array tmp638; ^~~~~~~~~~~ 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_Loops_Fourbar2CalcHelperMain.cpp:31: ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4002:24: error: expected ';' after expression multi_array tmp638; ^ ; ./OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2Initialize.cpp:4002:3: error: reference to overloaded function could not be resolved; did you mean to call it? multi_array tmp638; ^~~~~~~~~~~~~~~~~~~~~ /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_Loops_Fourbar2CalcHelperMain.o' failed make: *** [OMCppModelica_3_1_cpp_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar2CalcHelperMain.o] Error 1