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.001714/0.001714, allocations: 182.3 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.117/2.117, 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: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3043/0.3043, allocations: 38.05 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/0.6262, allocations: 92.52 MB / 0.5583 GB, free: 6.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.6266, allocations: 85.09 kB / 0.5583 GB, free: 6.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0999/0.7265, allocations: 12.3 MB / 0.5704 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7266, allocations: 0 / 0.5704 GB, free: 11.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.7266, allocations: 4 kB / 0.5704 GB, free: 11.83 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001694/0.7283, allocations: 0.6416 MB / 0.571 GB, free: 11.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/0.7284, allocations: 8.031 kB / 0.571 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.148e-05/0.7285, allocations: 49.8 kB / 0.571 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.68e-05/0.7286, allocations: 15.77 kB / 0.5711 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.729, allocations: 205.9 kB / 0.5713 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.729, allocations: 0 / 0.5713 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.7291, allocations: 4 kB / 0.5713 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.7295, allocations: 130.2 kB / 0.5714 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.7295, allocations: 3.984 kB / 0.5714 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.7296, allocations: 7.938 kB / 0.5714 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.7296, allocations: 0 / 0.5714 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.7299, allocations: 88.86 kB / 0.5715 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.7302, allocations: 216.1 kB / 0.5717 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.7306, allocations: 158.8 kB / 0.5718 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.7306, allocations: 0 / 0.5718 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.7307, allocations: 34.59 kB / 0.5719 GB, free: 10.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.7307, allocations: 4 kB / 0.5719 GB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001437/0.7321, allocations: 0.5652 MB / 0.5724 GB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.7323, allocations: 108.8 kB / 0.5725 GB, free: 9.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.7326, allocations: 153 kB / 0.5727 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.7326, allocations: 29.64 kB / 0.5727 GB, free: 9.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7328, allocations: 164.5 kB / 0.5729 GB, free: 9.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.733, allocations: 128.5 kB / 0.573 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.733, allocations: 0 / 0.573 GB, free: 9.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.7332, allocations: 334.6 kB / 0.5733 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.7335, allocations: 96.95 kB / 0.5734 GB, free: 8.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.7338, allocations: 93.45 kB / 0.5735 GB, free: 8.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.7342, allocations: 183.6 kB / 0.5737 GB, free: 8.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7343, allocations: 0 / 0.5737 GB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008928/0.7352, allocations: 317.6 kB / 0.574 GB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.7354, allocations: 88 kB / 0.574 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7354, allocations: 0 / 0.574 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7354, allocations: 0 / 0.574 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-06/0.7355, allocations: 4 kB / 0.574 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.7355, allocations: 4.062 kB / 0.5741 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.7357, allocations: 23.69 kB / 0.5741 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.7358, allocations: 12 kB / 0.5741 GB, free: 8.121 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.0004345/0.7362, allocations: 238.3 kB / 0.5743 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/0.7363, allocations: 27.66 kB / 0.5743 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.7364, allocations: 17.33 kB / 0.5744 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.7364, allocations: 0 / 0.5744 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7365, allocations: 0 / 0.5744 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7365, allocations: 0 / 0.5744 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.7369, allocations: 241 kB / 0.5746 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7369, allocations: 0 / 0.5746 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-06/0.7369, allocations: 4 kB / 0.5746 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7369, allocations: 0 / 0.5746 GB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.737, allocations: 8 kB / 0.5746 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.737, allocations: 0 / 0.5746 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.737, allocations: 0 / 0.5746 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.7394, allocations: 0.8951 MB / 0.5755 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.7395, allocations: 108.7 kB / 0.5756 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.7396, allocations: 8.031 kB / 0.5756 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.7398, allocations: 8 kB / 0.5756 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.7399, allocations: 7.125 kB / 0.5756 GB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.7399, allocations: 11.98 kB / 0.5756 GB, free: 6.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.7402, allocations: 129.4 kB / 0.5757 GB, free: 6.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.7402, allocations: 0 / 0.5757 GB, free: 6.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002145/0.7424, allocations: 394.6 kB / 0.5761 GB, free: 6.129 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.005081/0.7475, allocations: 1.761 MB / 0.5778 GB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.7505, allocations: 1.587 MB / 0.5794 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7506, allocations: 0 / 0.5794 GB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.7529, allocations: 1.374 MB / 0.5807 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.7533, allocations: 15.69 kB / 0.5807 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.7581, allocations: 2.093 MB / 0.5828 GB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.7586, allocations: 0.7637 MB / 0.5835 GB, free: 316 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.7587, allocations: 45.73 kB / 0.5836 GB, free: 304 kB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7587, allocations: 0 / 0.5836 GB, free: 304 kB / 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_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: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_matrixTrDat3Functions.cpp:985:16: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 _omcQ_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1034:30: error: use of undeclared identifier '_omcQ_24tmpVar25_' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1086:35: error: use of undeclared identifier '_omcQ_24tmpVar20_' $tmpVar21_loopVar = _omcQ_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1080:22: note: '_omcQ_24tmpVar22_' declared here double _omcQ_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.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_matrixTrDat3Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = _omcQ_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 '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? tmp113 = _omcQ_24tmpVar25_; ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_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: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_matrixTrDat3Functions.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_matrixTrDat3CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3CalcHelperMain.o] Error 1