Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.001633/0.001633, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.197/2.197, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001202/0.001202, allocations: 94.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3393/0.3393, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 16 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 56.33 MB / 479.1 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6387, allocations: 92.53 MB / 0.5583 GB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.639, allocations: 83.77 kB / 0.5583 GB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07009/0.7091, allocations: 12.14 MB / 0.5702 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7092, allocations: 0 / 0.5702 GB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.7092, allocations: 4 kB / 0.5702 GB, free: 12.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001259/0.7105, allocations: 0.5885 MB / 0.5708 GB, free: 11.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.7106, allocations: 8.031 kB / 0.5708 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.7106, allocations: 42.3 kB / 0.5708 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.7107, allocations: 15.77 kB / 0.5708 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.7109, allocations: 186.8 kB / 0.571 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.711, allocations: 4 kB / 0.571 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.711, allocations: 0 / 0.571 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.7112, allocations: 104.1 kB / 0.5711 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7113, allocations: 0 / 0.5711 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7113, allocations: 3.938 kB / 0.5711 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7113, allocations: 0 / 0.5711 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.7114, allocations: 58.72 kB / 0.5712 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.7116, allocations: 203.4 kB / 0.5714 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.7118, allocations: 102.4 kB / 0.5715 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.7119, allocations: 0 / 0.5715 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.7119, allocations: 34.56 kB / 0.5715 GB, free: 10.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.7119, allocations: 0 / 0.5715 GB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.000706/0.7126, allocations: 390 kB / 0.5719 GB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.7127, allocations: 104.5 kB / 0.572 GB, free: 10.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.7129, allocations: 135.8 kB / 0.5721 GB, free: 10.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.7129, allocations: 25.7 kB / 0.5721 GB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.713, allocations: 164.9 kB / 0.5723 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.7131, allocations: 78.06 kB / 0.5724 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.7132, allocations: 4.031 kB / 0.5724 GB, free: 10.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7133, allocations: 326.7 kB / 0.5727 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7134, allocations: 57.72 kB / 0.5727 GB, free: 9.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.7135, allocations: 59.22 kB / 0.5728 GB, free: 9.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.7138, allocations: 120 kB / 0.5729 GB, free: 9.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7138, allocations: 0 / 0.5729 GB, free: 9.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004286/0.7142, allocations: 222.2 kB / 0.5731 GB, free: 9.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.914e-05/0.7143, allocations: 65.09 kB / 0.5732 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7143, allocations: 3.984 kB / 0.5732 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7144, allocations: 0 / 0.5732 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.7144, allocations: 4.062 kB / 0.5732 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.7144, allocations: 0 / 0.5732 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.7145, allocations: 19.78 kB / 0.5732 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.7146, allocations: 4 kB / 0.5732 GB, free: 9.203 MB / 378.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 () * Number of clocked 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.0002388/0.7148, allocations: 198 kB / 0.5734 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.7149, allocations: 15.91 kB / 0.5734 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.7149, allocations: 16.3 kB / 0.5734 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7149, allocations: 4 kB / 0.5734 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7149, allocations: 0 / 0.5734 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7149, allocations: 4 kB / 0.5734 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.7152, allocations: 209.2 kB / 0.5736 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7152, allocations: 0 / 0.5736 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.7152, allocations: 3.938 kB / 0.5736 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.7152, allocations: 4 kB / 0.5736 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.7152, allocations: 7.984 kB / 0.5737 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.7152, allocations: 0 / 0.5737 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7152, allocations: 0 / 0.5737 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.7162, allocations: 0.5043 MB / 0.5741 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.7163, allocations: 92.88 kB / 0.5742 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.7163, allocations: 4 kB / 0.5742 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.7164, allocations: 4 kB / 0.5742 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.7165, allocations: 11.36 kB / 0.5743 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.7165, allocations: 8 kB / 0.5743 GB, free: 8.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.7167, allocations: 113 kB / 0.5744 GB, free: 8.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7167, allocations: 0 / 0.5744 GB, free: 8.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001481/0.7182, allocations: 377.5 kB / 0.5747 GB, free: 7.652 MB / 378.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 () * Number of clocked 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.002994/0.7212, allocations: 1.354 MB / 0.576 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.7223, allocations: 0.7052 MB / 0.5767 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.7224, allocations: 4.094 kB / 0.5767 GB, free: 5.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006728/0.723, allocations: 0.5743 MB / 0.5773 GB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.7233, allocations: 7.984 kB / 0.5773 GB, free: 5.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.7267, allocations: 1.504 MB / 0.5788 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7271, allocations: 0.7319 MB / 0.5795 GB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.7272, allocations: 32.48 kB / 0.5795 GB, free: 3.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7272, allocations: 4 kB / 0.5795 GB, free: 3.391 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/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_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.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_matrixTrDat2Functions.cpp:497:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp63; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:820:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp113; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:820:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:820:24: error: use of undeclared identifier 'tmp113' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1021:42: error: use of undeclared identifier '_omcQ_24tmpVar17_'; did you mean '_omcQ_24tmpVar18_'? _omcQ_24tmpVar18_ = std::abs(_omcQ_24tmpVar17_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar18_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:985:16: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 _omcQ_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1034:30: error: use of undeclared identifier '_omcQ_24tmpVar25_' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1065:9: error: use of undeclared identifier '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? _omcQ_24tmpVar25_.setDims(tmp131); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1086:35: error: use of undeclared identifier '_omcQ_24tmpVar20_' $tmpVar21_loopVar = _omcQ_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1091:33: error: no matching member function for call to 'setDims' _omcQ_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_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1103:48: error: use of undeclared identifier '_omcQ_24tmpVar21_'; did you mean '_omcQ_24tmpVar22_'? _omcQ_24tmpVar22_ = std::abs(_omcQ_24tmpVar21_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar22_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1080:22: note: '_omcQ_24tmpVar22_' declared here double _omcQ_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1104:19: error: no matching function for call to object of type 'DynArrayDim2' _omcQ_24tmpVar23_(tmp114++) = _omcQ_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_matrixTrDat2CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1121:78: error: use of undeclared identifier '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? fill_array_from_shape(make_pair(tmp119,tmp120),_omcQ_24tmpVar24_,_omcQ_24tmpVar25_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = _omcQ_24tmpVar25_; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1128:18: error: use of undeclared identifier '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? tmp113 = _omcQ_24tmpVar25_; ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.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_matrixTrDat2Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:2301:47: error: use of undeclared identifier '_omcQ_24tmpVar5_'; did you mean '_omcQ_24tmpVar6_'? _omcQ_24tmpVar6_ = std::abs(_omcQ_24tmpVar5_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar6_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2Functions.cpp:2276:22: note: '_omcQ_24tmpVar6_' declared here double _omcQ_24tmpVar6_; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2CalcHelperMain.o] Error 1