Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002174/0.002173, allocations: 185.1 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.086/2.086, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001091/0.001091, allocations: 103.8 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2674/0.2674, allocations: 37.95 MB / 353.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.91e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 56.32 MB / 473.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.5669, allocations: 92.43 MB / 0.5524 GB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5673, allocations: 79.95 kB / 0.5525 GB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07245/0.6397, allocations: 12.28 MB / 0.5645 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6398, allocations: 0 / 0.5645 GB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.6398, allocations: 3.938 kB / 0.5645 GB, free: 14.85 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00123/0.6411, allocations: 0.6086 MB / 0.5651 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6411, allocations: 16.03 kB / 0.5651 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.6412, allocations: 46.55 kB / 0.5651 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.6413, allocations: 23.67 kB / 0.5651 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.6416, allocations: 194.8 kB / 0.5653 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.6416, allocations: 0 / 0.5653 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.6417, allocations: 4 kB / 0.5653 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.642, allocations: 134.6 kB / 0.5655 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.642, allocations: 0 / 0.5655 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.642, allocations: 3.984 kB / 0.5655 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6421, allocations: 0 / 0.5655 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.6423, allocations: 100.3 kB / 0.5656 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.6426, allocations: 209.9 kB / 0.5658 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.6428, allocations: 154.9 kB / 0.5659 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.6431, allocations: 141.1 kB / 0.566 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.6431, allocations: 0 / 0.566 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6431, allocations: 38.5 kB / 0.5661 GB, free: 13.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.676e-06/0.6431, allocations: 0 / 0.5661 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007077/0.6439, allocations: 340.8 kB / 0.5664 GB, free: 12.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.644, allocations: 109.1 kB / 0.5665 GB, free: 12.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.6442, allocations: 151 kB / 0.5667 GB, free: 12.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.6443, allocations: 25.7 kB / 0.5667 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6444, allocations: 163.3 kB / 0.5668 GB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6445, allocations: 126.1 kB / 0.567 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.6446, allocations: 4 kB / 0.567 GB, free: 12.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6448, allocations: 330.8 kB / 0.5673 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.6451, allocations: 95.98 kB / 0.5674 GB, free: 11.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.6455, allocations: 95.91 kB / 0.5675 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.646, allocations: 189.8 kB / 0.5676 GB, free: 11.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.646, allocations: 0 / 0.5676 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008365/0.6469, allocations: 319 kB / 0.5679 GB, free: 11.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.6471, allocations: 85.62 kB / 0.568 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6471, allocations: 0 / 0.568 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6471, allocations: 0 / 0.568 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-06/0.6471, allocations: 4 kB / 0.568 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6471, allocations: 0 / 0.568 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.6473, allocations: 23.84 kB / 0.568 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6473, allocations: 8 kB / 0.5681 GB, free: 10.91 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.0002597/0.6476, allocations: 198.6 kB / 0.5682 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.6477, allocations: 27.72 kB / 0.5683 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.6477, allocations: 14.78 kB / 0.5683 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6477, allocations: 0 / 0.5683 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6478, allocations: 0 / 0.5683 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6478, allocations: 0 / 0.5683 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.6481, allocations: 241.3 kB / 0.5685 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6481, allocations: 0 / 0.5685 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.6481, allocations: 4 kB / 0.5685 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.6481, allocations: 3.984 kB / 0.5685 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.6482, allocations: 11.94 kB / 0.5685 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6482, allocations: 0 / 0.5685 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6482, allocations: 0 / 0.5685 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.6499, allocations: 0.9042 MB / 0.5694 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.65, allocations: 92.86 kB / 0.5695 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.6501, allocations: 8 kB / 0.5695 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.6502, allocations: 11.97 kB / 0.5695 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.6502, allocations: 8 kB / 0.5695 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.6503, allocations: 12 kB / 0.5695 GB, free: 9.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.6505, allocations: 124.2 kB / 0.5697 GB, free: 9.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6505, allocations: 3.938 kB / 0.5697 GB, free: 9.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001467/0.652, allocations: 395.6 kB / 0.57 GB, free: 8.773 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.003723/0.6557, allocations: 1.745 MB / 0.5717 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.6581, allocations: 1.593 MB / 0.5733 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6581, allocations: 0 / 0.5733 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.66, allocations: 1.362 MB / 0.5746 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.6603, allocations: 8 kB / 0.5746 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.6624, allocations: 0.7667 MB / 0.5754 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.6629, allocations: 0.7636 MB / 0.5761 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.663, allocations: 47.42 kB / 0.5762 GB, free: 2.359 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.663, allocations: 0 / 0.5762 GB, free: 2.359 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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:497:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp63; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:820:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp113; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:820:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:820:24: error: use of undeclared identifier 'tmp113' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:985:16: note: 'D_24tmpVar18_' declared here double D_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 D_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:30: error: use of undeclared identifier 'D_24tmpVar25_' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1086:35: error: use of undeclared identifier 'D_24tmpVar20_' $tmpVar21_loopVar = D_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1080:22: note: 'D_24tmpVar22_' declared here double D_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = D_24tmpVar25_; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3CalcHelperMain.o] Error 1