Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.00148/0.00148, allocations: 186.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.942/1.942, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001089/0.001089, allocations: 90.59 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2798/0.2798, allocations: 37.96 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.564e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 56.32 MB / 473.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5884, allocations: 92.73 MB / 0.5527 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/0.5888, allocations: 79.95 kB / 0.5527 GB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07106/0.6599, allocations: 12.08 MB / 0.5645 GB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.66, allocations: 3.938 kB / 0.5645 GB, free: 14.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.66, allocations: 4 kB / 0.5646 GB, free: 14.82 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001182/0.6612, allocations: 0.5463 MB / 0.5651 GB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6612, allocations: 8.031 kB / 0.5651 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.6614, allocations: 70.17 kB / 0.5652 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.6614, allocations: 19.77 kB / 0.5652 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.6617, allocations: 199.7 kB / 0.5654 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6618, allocations: 11.94 kB / 0.5654 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.6618, allocations: 8 kB / 0.5654 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.6621, allocations: 115.9 kB / 0.5655 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6621, allocations: 4 kB / 0.5655 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.6622, allocations: 4 kB / 0.5655 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6622, allocations: 3.938 kB / 0.5655 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.6624, allocations: 68.19 kB / 0.5656 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.663, allocations: 364.9 kB / 0.5659 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.6632, allocations: 70.55 kB / 0.566 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.6633, allocations: 52.88 kB / 0.566 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.6633, allocations: 0 / 0.566 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.6634, allocations: 38.56 kB / 0.5661 GB, free: 13.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.6634, allocations: 7.938 kB / 0.5661 GB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004214/0.6638, allocations: 171.6 kB / 0.5662 GB, free: 12.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.6639, allocations: 85.11 kB / 0.5663 GB, free: 12.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.6641, allocations: 137.3 kB / 0.5665 GB, free: 12.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.6641, allocations: 25.7 kB / 0.5665 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6642, allocations: 178.4 kB / 0.5667 GB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.6643, allocations: 51.2 kB / 0.5667 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.6643, allocations: 0 / 0.5667 GB, free: 12.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6645, allocations: 318.8 kB / 0.567 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.6646, allocations: 35.98 kB / 0.567 GB, free: 12.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.6647, allocations: 47.22 kB / 0.5671 GB, free: 11.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.6649, allocations: 77.67 kB / 0.5672 GB, free: 11.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6649, allocations: 3.953 kB / 0.5672 GB, free: 11.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003418/0.6652, allocations: 163.3 kB / 0.5673 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.6653, allocations: 45.69 kB / 0.5674 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.6653, allocations: 0 / 0.5674 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6654, allocations: 0 / 0.5674 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-06/0.6654, allocations: 4 kB / 0.5674 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6654, allocations: 4.062 kB / 0.5674 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.6655, allocations: 7.906 kB / 0.5674 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.6655, allocations: 7.984 kB / 0.5674 GB, free: 11.66 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.0001605/0.6657, allocations: 146.7 kB / 0.5675 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.6658, allocations: 11.86 kB / 0.5675 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.6658, allocations: 16.73 kB / 0.5676 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6658, allocations: 0 / 0.5676 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6658, allocations: 0 / 0.5676 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6659, allocations: 4 kB / 0.5676 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.6662, allocations: 213.5 kB / 0.5678 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6662, allocations: 0 / 0.5678 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.6662, allocations: 3.953 kB / 0.5678 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.6662, allocations: 4 kB / 0.5678 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.6662, allocations: 4 kB / 0.5678 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6662, allocations: 0 / 0.5678 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6663, allocations: 0 / 0.5678 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.6669, allocations: 349 kB / 0.5681 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.6669, allocations: 96.94 kB / 0.5682 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.667, allocations: 7.953 kB / 0.5682 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6671, allocations: 4 kB / 0.5682 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.6672, allocations: 4 kB / 0.5682 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.6672, allocations: 12 kB / 0.5682 GB, free: 10.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.6673, allocations: 108.1 kB / 0.5683 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6673, allocations: 0 / 0.5683 GB, free: 10.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001508/0.6689, allocations: 379.4 kB / 0.5687 GB, free: 10.22 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.002763/0.6716, allocations: 1.31 MB / 0.57 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006248/0.6723, allocations: 319.3 kB / 0.5703 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6723, allocations: 0 / 0.5703 GB, free: 8.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.6727, allocations: 267.4 kB / 0.5705 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.673, allocations: 19.84 kB / 0.5705 GB, free: 8.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.6746, allocations: 0.4999 MB / 0.571 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6751, allocations: 0.7355 MB / 0.5718 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.6751, allocations: 35.44 kB / 0.5718 GB, free: 6.926 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6752, allocations: 0 / 0.5718 GB, free: 6.926 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_EqCircFromTransDatCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:404:17: error: use of undeclared identifier 'daeExpBinary' y_.assign(daeExpBinary:ERR DIV_SCALAR_ARR not supported); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:791:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp103; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:791:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:791:24: error: use of undeclared identifier 'tmp103'; did you mean 'tmp101'? DynArrayDim4 tmp103; ^~~~~~ tmp101 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:790:10: note: 'tmp101' declared here double tmp101; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:992: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_EqCircFromTransDatFunctions.cpp:956:16: note: 'D_24tmpVar18_' declared here double D_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:28: error: expected '(' for function-style cast or type construction DynArrayDim4 D_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:30: error: use of undeclared identifier 'D_24tmpVar25_' DynArrayDim4 D_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1036:9: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? D_24tmpVar25_.setDims(tmp121); ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1057:35: error: use of undeclared identifier 'D_24tmpVar20_' $tmpVar21_loopVar = D_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1062:29: error: no matching member function for call to 'setDims' D_24tmpVar23_.setDims(tmp108); ~~~~~~~~~~~~~~^~~~~~~ /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_EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1074: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_EqCircFromTransDatFunctions.cpp:1051:22: note: 'D_24tmpVar22_' declared here double D_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1075:19: error: no matching function for call to object of type 'DynArrayDim2' D_24tmpVar23_(tmp104++) = 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_EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1092:74: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? fill_array_from_shape(make_pair(tmp109,tmp110),D_24tmpVar24_,D_24tmpVar25_); ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1099:9: error: use of undeclared identifier 'tmp103'; did you mean 'tmp105'? tmp103 = D_24tmpVar25_; ^~~~~~ tmp105 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1006:30: note: 'tmp105' declared here DynArrayDim2 tmp105; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1099:18: error: use of undeclared identifier 'D_24tmpVar25_'; did you mean 'D_24tmpVar24_'? tmp103 = D_24tmpVar25_; ^~~~~~~~~~~~~ D_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: 'D_24tmpVar24_' declared here DynArrayDim2 D_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1101:32: error: use of undeclared identifier 'tmp103' tmp122 = min_max(tmp103).second; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:2272: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_EqCircFromTransDatFunctions.cpp:2247:22: note: 'D_24tmpVar6_' declared here double D_24tmpVar6_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:2309:43: error: use of undeclared identifier 'D_24tmpVar8_'; did you mean 'D_24tmpVar9_'? D_24tmpVar9_ = std::abs(D_24tmpVar8_); ^~~~~~~~~~~~ D_24tmpVar9_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:2286:22: note: 'D_24tmpVar9_' declared here double D_24tmpVar9_; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.o] Error 1