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.002249/0.002249, 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 1.998/1.998, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001132/0.001132, allocations: 88.5 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2826/0.2826, allocations: 37.96 MB / 353.1 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.433e-05/5.454e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 56.32 MB / 473.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4794/0.5869, allocations: 92.43 MB / 0.5524 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004516/0.5875, allocations: 79.95 kB / 0.5525 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09214/0.6796, allocations: 11.96 MB / 0.5641 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6797, allocations: 3.938 kB / 0.5641 GB, free: 15.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.6798, allocations: 4 kB / 0.5641 GB, free: 15.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001515/0.6813, allocations: 0.5346 MB / 0.5647 GB, free: 14.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/0.6814, allocations: 12.03 kB / 0.5647 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.6815, allocations: 34.56 kB / 0.5647 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.6815, allocations: 15.84 kB / 0.5647 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.6819, allocations: 186.8 kB / 0.5649 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.682, allocations: 0 / 0.5649 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.682, allocations: 0 / 0.5649 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.6823, allocations: 69.67 kB / 0.565 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6823, allocations: 4 kB / 0.565 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.6824, allocations: 0 / 0.565 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.6824, allocations: 0 / 0.565 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.6825, allocations: 27.98 kB / 0.565 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002358/0.6827, allocations: 173.6 kB / 0.5652 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.6829, allocations: 66.44 kB / 0.5652 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.683, allocations: 40.88 kB / 0.5653 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.683, allocations: 8 kB / 0.5653 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.6831, allocations: 34.78 kB / 0.5653 GB, free: 13.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 4.749e-06/0.6831, allocations: 0 / 0.5653 GB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003854/0.6835, allocations: 147.2 kB / 0.5655 GB, free: 13.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.6836, allocations: 85.11 kB / 0.5655 GB, free: 13.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6837, allocations: 125.1 kB / 0.5657 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.6838, allocations: 25.7 kB / 0.5657 GB, free: 13.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.6839, allocations: 158.6 kB / 0.5658 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.684, allocations: 43.39 kB / 0.5659 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.684, allocations: 4 kB / 0.5659 GB, free: 13.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6841, allocations: 314.8 kB / 0.5662 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.6842, allocations: 31.98 kB / 0.5662 GB, free: 12.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.6843, allocations: 27.98 kB / 0.5662 GB, free: 12.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.6845, allocations: 80.52 kB / 0.5663 GB, free: 12.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6845, allocations: 0 / 0.5663 GB, free: 12.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003146/0.6848, allocations: 143.3 kB / 0.5664 GB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/0.6849, allocations: 49.67 kB / 0.5665 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6849, allocations: 64 / 0.5665 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.685, allocations: 4 kB / 0.5665 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.685, allocations: 0 / 0.5665 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.685, allocations: 0 / 0.5665 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.569e-05/0.6851, allocations: 11.84 kB / 0.5665 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.6851, allocations: 8 kB / 0.5665 GB, free: 12.51 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.0001613/0.6853, allocations: 158.5 kB / 0.5667 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.6854, allocations: 7.906 kB / 0.5667 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.6854, allocations: 12.62 kB / 0.5667 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6854, allocations: 0 / 0.5667 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6854, allocations: 4 kB / 0.5667 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6854, allocations: 0 / 0.5667 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.6856, allocations: 177.6 kB / 0.5669 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6857, allocations: 0 / 0.5669 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.6857, allocations: 4 kB / 0.5669 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6857, allocations: 3.984 kB / 0.5669 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6857, allocations: 4 kB / 0.5669 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6857, allocations: 0 / 0.5669 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.6858, allocations: 0 / 0.5669 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.6863, allocations: 278.5 kB / 0.5671 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.6864, allocations: 96.84 kB / 0.5672 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.6865, allocations: 4 kB / 0.5672 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.6865, allocations: 0 / 0.5672 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.6866, allocations: 7.938 kB / 0.5672 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.6866, allocations: 11.92 kB / 0.5672 GB, free: 11.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.6867, allocations: 107.8 kB / 0.5674 GB, free: 11.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6868, allocations: 0 / 0.5674 GB, free: 11.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001445/0.6882, allocations: 359.6 kB / 0.5677 GB, free: 11.19 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.002629/0.6909, allocations: 1.122 MB / 0.5688 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.6915, allocations: 291.3 kB / 0.5691 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6915, allocations: 4.094 kB / 0.5691 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.6919, allocations: 219.3 kB / 0.5693 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.6921, allocations: 12.05 kB / 0.5693 GB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.6935, allocations: 416 kB / 0.5697 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.6939, allocations: 0.7082 MB / 0.5704 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.694, allocations: 23.44 kB / 0.5704 GB, free: 8.297 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.694, allocations: 3.938 kB / 0.5704 GB, free: 8.293 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_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: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_matrixTrDat1Functions.cpp:985:16: note: 'D_24tmpVar18_' declared here double D_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 D_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1034:30: error: use of undeclared identifier 'D_24tmpVar25_' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1086:35: error: use of undeclared identifier 'D_24tmpVar20_' $tmpVar21_loopVar = D_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1080:22: note: 'D_24tmpVar22_' declared here double D_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.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_matrixTrDat1Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = D_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 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? tmp113 = D_24tmpVar25_; ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1Functions.cpp:1036:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_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: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_matrixTrDat1Functions.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_matrixTrDat1CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1CalcHelperMain.o] Error 1