Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 186 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.2 MB / 218.9 MB, free: 9.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001792, allocations: 97.38 kB / 267.1 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2743/0.2743, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.75e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 56.32 MB / 473.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.574, allocations: 92.52 MB / 0.5525 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5744, allocations: 79.94 kB / 0.5526 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07347/0.6478, allocations: 11.92 MB / 0.5642 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6479, allocations: 0 / 0.5642 GB, free: 15.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.6479, allocations: 0 / 0.5642 GB, free: 15.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001126/0.6491, allocations: 0.523 MB / 0.5647 GB, free: 14.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.6491, allocations: 12.03 kB / 0.5647 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.6492, allocations: 34.56 kB / 0.5648 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.6493, allocations: 11.86 kB / 0.5648 GB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.6495, allocations: 175 kB / 0.5649 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.6495, allocations: 11.92 kB / 0.5649 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6496, allocations: 0 / 0.5649 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.6497, allocations: 57.67 kB / 0.565 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6498, allocations: 0 / 0.565 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6498, allocations: 0 / 0.565 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6498, allocations: 0 / 0.565 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.6499, allocations: 27.98 kB / 0.565 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.6501, allocations: 169.5 kB / 0.5652 GB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.6502, allocations: 46.45 kB / 0.5652 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.6503, allocations: 40.88 kB / 0.5653 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.6503, allocations: 0 / 0.5653 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6504, allocations: 30.56 kB / 0.5653 GB, free: 13.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.6504, allocations: 0 / 0.5653 GB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003138/0.6507, allocations: 135.4 kB / 0.5654 GB, free: 13.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.6508, allocations: 81.11 kB / 0.5655 GB, free: 13.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6509, allocations: 113.9 kB / 0.5656 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6509, allocations: 25.7 kB / 0.5656 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.651, allocations: 158.6 kB / 0.5658 GB, free: 13.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.6511, allocations: 23.55 kB / 0.5658 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-06/0.6511, allocations: 4 kB / 0.5658 GB, free: 13.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6513, allocations: 322.7 kB / 0.5661 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.6513, allocations: 27.95 kB / 0.5661 GB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.6514, allocations: 20 kB / 0.5662 GB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.6515, allocations: 61.67 kB / 0.5662 GB, free: 12.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6515, allocations: 0 / 0.5662 GB, free: 12.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.6518, allocations: 111.4 kB / 0.5663 GB, free: 12.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.6519, allocations: 45.69 kB / 0.5664 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6519, allocations: 0 / 0.5664 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6519, allocations: 0 / 0.5664 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.6519, allocations: 4 kB / 0.5664 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.6519, allocations: 0 / 0.5664 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.652, allocations: 8.047 kB / 0.5664 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.652, allocations: 4 kB / 0.5664 GB, free: 12.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.6522, allocations: 146.6 kB / 0.5665 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.6522, allocations: 7.906 kB / 0.5665 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.6523, allocations: 8.625 kB / 0.5665 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6523, allocations: 0 / 0.5665 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6523, allocations: 0 / 0.5665 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6523, allocations: 4 kB / 0.5665 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.6525, allocations: 169.6 kB / 0.5667 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6525, allocations: 7.938 kB / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6525, allocations: 0 / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6525, allocations: 0 / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.6526, allocations: 4 kB / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6526, allocations: 0 / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6526, allocations: 0 / 0.5667 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.653, allocations: 223.5 kB / 0.5669 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.6531, allocations: 81.02 kB / 0.567 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.6531, allocations: 4 kB / 0.567 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.6532, allocations: 4.031 kB / 0.567 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.6532, allocations: 7.938 kB / 0.567 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.6533, allocations: 4 kB / 0.567 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.6534, allocations: 98.39 kB / 0.5671 GB, free: 11.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6534, allocations: 0 / 0.5671 GB, free: 11.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6548, allocations: 359.5 kB / 0.5675 GB, free: 11.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002455/0.6573, allocations: 1.053 MB / 0.5685 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004396/0.6578, allocations: 203.2 kB / 0.5687 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6578, allocations: 0 / 0.5687 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.658, allocations: 147.4 kB / 0.5688 GB, free: 9.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.6582, allocations: 4.156 kB / 0.5688 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.6594, allocations: 363.6 kB / 0.5692 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.6598, allocations: 0.6926 MB / 0.5699 GB, free: 8.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.6599, allocations: 19.42 kB / 0.5699 GB, free: 8.832 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6599, allocations: 4 kB / 0.5699 GB, free: 8.828 MB / 410.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:405:17: error: use of undeclared identifier 'daeExpBinary' y_.assign(daeExpBinary:ERR DIV_SCALAR_ARR not supported); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:497:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp63; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp113; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:24: error: use of undeclared identifier 'tmp113' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1021:38: error: use of undeclared identifier 'D_24tmpVar17_'; did you mean 'D_24tmpVar18_'? D_24tmpVar18_ = std::abs(D_24tmpVar17_); ^~~~~~~~~~~~~ D_24tmpVar18_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:985:16: note: 'D_24tmpVar18_' declared here double D_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 D_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:30: error: use of undeclared identifier 'D_24tmpVar25_' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1065:9: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? D_24tmpVar25_.setDims(tmp131); ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1086:35: error: use of undeclared identifier 'D_24tmpVar20_' $tmpVar21_loopVar = D_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1091:29: error: no matching member function for call to 'setDims' D_24tmpVar23_.setDims(tmp118); ~~~~~~~~~~~~~~^~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1713:16: note: candidate function not viable: no known conversion from 'int' to 'const std::vector' (aka 'const vector') for 1st argument virtual void setDims(const std::vector& dims) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1706:8: note: candidate function not viable: requires 2 arguments, but 1 was provided void setDims(size_t size1, size_t size2) ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1103:44: error: use of undeclared identifier 'D_24tmpVar21_'; did you mean 'D_24tmpVar22_'? D_24tmpVar22_ = std::abs(D_24tmpVar21_); ^~~~~~~~~~~~~ D_24tmpVar22_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1080:22: note: 'D_24tmpVar22_' declared here double D_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1104:19: error: no matching function for call to object of type 'DynArrayDim2' D_24tmpVar23_(tmp114++) = D_24tmpVar22_; ^~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1688:14: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1682:20: note: candidate function not viable: no known conversion from 'int' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1694:21: note: candidate function not viable: requires 2 arguments, but 1 was provided inline virtual T& operator()(size_t i, size_t j) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1700:27: note: candidate function not viable: requires 2 arguments, but 1 was provided inline virtual const T& operator()(size_t i, size_t j) const ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1121:74: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? fill_array_from_shape(make_pair(tmp119,tmp120),D_24tmpVar24_,D_24tmpVar25_); ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = D_24tmpVar25_; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1128:18: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? tmp113 = D_24tmpVar25_; ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1130:32: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp132 = min_max(tmp113).second; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:2301:43: error: use of undeclared identifier 'D_24tmpVar5_'; did you mean 'D_24tmpVar6_'? D_24tmpVar6_ = std::abs(D_24tmpVar5_); ^~~~~~~~~~~~ D_24tmpVar6_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:2276:22: note: 'D_24tmpVar6_' declared here double D_24tmpVar6_; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.o] Error 1