Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.002318/0.002318, allocations: 184.4 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.001168/0.001168, allocations: 86.86 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.269/0.269, allocations: 38.06 MB / 356.6 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 56.34 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.636, allocations: 92.52 MB / 0.5583 GB, free: 6.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.6364, allocations: 83.33 kB / 0.5583 GB, free: 6.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06834/0.7047, allocations: 11.98 MB / 0.57 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7048, allocations: 7.938 kB / 0.57 GB, free: 12.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.7048, allocations: 0 / 0.57 GB, free: 12.15 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001216/0.7061, allocations: 0.5404 MB / 0.5706 GB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.7061, allocations: 12.03 kB / 0.5706 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.7062, allocations: 37.86 kB / 0.5706 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.7063, allocations: 11.86 kB / 0.5706 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.7065, allocations: 186.9 kB / 0.5708 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7065, allocations: 0 / 0.5708 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.7066, allocations: 4 kB / 0.5708 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.7067, allocations: 68.73 kB / 0.5709 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.7068, allocations: 0 / 0.5709 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7068, allocations: 7.938 kB / 0.5709 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.7068, allocations: 0 / 0.5709 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.12e-05/0.7069, allocations: 26.8 kB / 0.5709 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.7071, allocations: 182.2 kB / 0.5711 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.7072, allocations: 57.61 kB / 0.5711 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.7073, allocations: 4 kB / 0.5711 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7073, allocations: 34.55 kB / 0.5712 GB, free: 10.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.7073, allocations: 0 / 0.5712 GB, free: 10.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005073/0.7078, allocations: 281 kB / 0.5714 GB, free: 10.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.7079, allocations: 89.05 kB / 0.5715 GB, free: 10.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.7081, allocations: 121.2 kB / 0.5716 GB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7081, allocations: 25.7 kB / 0.5717 GB, free: 10.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.7082, allocations: 158.1 kB / 0.5718 GB, free: 10.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.7083, allocations: 42.39 kB / 0.5719 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/0.7083, allocations: 3.938 kB / 0.5719 GB, free: 10.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7084, allocations: 314.8 kB / 0.5722 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.7085, allocations: 31.67 kB / 0.5722 GB, free: 9.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.7086, allocations: 30.48 kB / 0.5722 GB, free: 9.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.7087, allocations: 72.92 kB / 0.5723 GB, free: 9.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7088, allocations: 0 / 0.5723 GB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003105/0.7091, allocations: 146.3 kB / 0.5724 GB, free: 9.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.214e-05/0.7092, allocations: 57.67 kB / 0.5725 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7092, allocations: 0 / 0.5725 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7092, allocations: 0 / 0.5725 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.7092, allocations: 0 / 0.5725 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7092, allocations: 0 / 0.5725 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.7093, allocations: 7.906 kB / 0.5725 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.7094, allocations: 4 kB / 0.5725 GB, free: 9.465 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.0001917/0.7096, allocations: 171.4 kB / 0.5727 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.7096, allocations: 11.91 kB / 0.5727 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.7096, allocations: 12.66 kB / 0.5727 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7096, allocations: 0 / 0.5727 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7097, allocations: 0 / 0.5727 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.7097, allocations: 4 kB / 0.5727 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.7099, allocations: 184.2 kB / 0.5729 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7099, allocations: 4 kB / 0.5729 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-06/0.7099, allocations: 3.984 kB / 0.5729 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7099, allocations: 0 / 0.5729 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.7099, allocations: 4 kB / 0.5729 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7099, allocations: 0 / 0.5729 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7099, allocations: 0 / 0.5729 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.7105, allocations: 287.8 kB / 0.5732 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.7106, allocations: 84.97 kB / 0.5732 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.7106, allocations: 4 kB / 0.5732 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.7107, allocations: 0 / 0.5732 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.7107, allocations: 7.5 kB / 0.5732 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.7107, allocations: 4 kB / 0.5732 GB, free: 8.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.7108, allocations: 101.5 kB / 0.5733 GB, free: 8.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7108, allocations: 4 kB / 0.5733 GB, free: 8.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001414/0.7123, allocations: 365.3 kB / 0.5737 GB, free: 8.191 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.002484/0.7148, allocations: 1.126 MB / 0.5748 GB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005515/0.7154, allocations: 296.1 kB / 0.5751 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7154, allocations: 0 / 0.5751 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.7157, allocations: 222.2 kB / 0.5753 GB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.7159, allocations: 7.812 kB / 0.5753 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.7184, allocations: 1.035 MB / 0.5763 GB, free: 5.676 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.7188, allocations: 0.7082 MB / 0.577 GB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.7188, allocations: 26.11 kB / 0.577 GB, free: 4.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7188, allocations: 0 / 0.577 GB, free: 4.926 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_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:497:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp63; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:820:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp113; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:820:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:820:24: error: use of undeclared identifier 'tmp113' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:985:16: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 _omcQ_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:30: error: use of undeclared identifier '_omcQ_24tmpVar25_' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1086:35: error: use of undeclared identifier '_omcQ_24tmpVar20_' $tmpVar21_loopVar = _omcQ_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1080:22: note: '_omcQ_24tmpVar22_' declared here double _omcQ_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = _omcQ_24tmpVar25_; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1CalcHelperMain.o] Error 1