Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.001593/0.001593, allocations: 183 kB / 15.76 MB, free: 6.344 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.086/2.086, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001139/0.001138, allocations: 90.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2812/0.2812, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004963, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5183/0.6571, allocations: 92.61 MB / 0.5583 GB, free: 6.594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.6575, allocations: 77.89 kB / 0.5584 GB, free: 6.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06645/0.724, allocations: 11.96 MB / 0.5701 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.724, allocations: 0 / 0.5701 GB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.7241, allocations: 0 / 0.5701 GB, free: 12.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001172/0.7252, allocations: 0.5322 MB / 0.5706 GB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7253, allocations: 12.03 kB / 0.5706 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.7254, allocations: 30.56 kB / 0.5707 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.7254, allocations: 11.86 kB / 0.5707 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.7257, allocations: 186.1 kB / 0.5708 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.7257, allocations: 7.984 kB / 0.5709 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.7257, allocations: 0 / 0.5709 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.7259, allocations: 52.31 kB / 0.5709 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7259, allocations: 0 / 0.5709 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7259, allocations: 3.938 kB / 0.5709 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7259, allocations: 0 / 0.5709 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.726, allocations: 22.73 kB / 0.5709 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.7262, allocations: 171.9 kB / 0.5711 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.7263, allocations: 56.56 kB / 0.5711 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.7264, allocations: 0 / 0.5711 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.7264, allocations: 30.56 kB / 0.5712 GB, free: 10.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.7264, allocations: 0 / 0.5712 GB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004308/0.7268, allocations: 226 kB / 0.5714 GB, free: 10.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.7269, allocations: 89.05 kB / 0.5715 GB, free: 10.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.7271, allocations: 111.9 kB / 0.5716 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.7271, allocations: 25.7 kB / 0.5716 GB, free: 10.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.7272, allocations: 158.1 kB / 0.5718 GB, free: 10.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.7272, allocations: 35.19 kB / 0.5718 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.7273, allocations: 0 / 0.5718 GB, free: 10.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7274, allocations: 317.7 kB / 0.5721 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.7275, allocations: 19.98 kB / 0.5721 GB, free: 9.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.7276, allocations: 23.17 kB / 0.5721 GB, free: 9.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.7277, allocations: 57.25 kB / 0.5722 GB, free: 9.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7277, allocations: 0 / 0.5722 GB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002321/0.728, allocations: 126 kB / 0.5723 GB, free: 9.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.728, allocations: 45.06 kB / 0.5724 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7281, allocations: 4 kB / 0.5724 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7281, allocations: 0 / 0.5724 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-06/0.7281, allocations: 0 / 0.5724 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7281, allocations: 3.938 kB / 0.5724 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.7282, allocations: 0 / 0.5724 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.7282, allocations: 4 kB / 0.5724 GB, free: 9.566 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.0001605/0.7284, allocations: 162.7 kB / 0.5725 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.7284, allocations: 7.906 kB / 0.5725 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.7284, allocations: 12.38 kB / 0.5725 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7285, allocations: 0 / 0.5725 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7285, allocations: 0 / 0.5725 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7285, allocations: 3.984 kB / 0.5725 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.7287, allocations: 177.3 kB / 0.5727 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7287, allocations: 4 kB / 0.5727 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.7287, allocations: 7.938 kB / 0.5727 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7287, allocations: 0 / 0.5727 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7287, allocations: 0 / 0.5727 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7287, allocations: 0 / 0.5727 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7287, allocations: 4.859 kB / 0.5727 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.7291, allocations: 214.8 kB / 0.5729 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.7292, allocations: 84.97 kB / 0.573 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.7293, allocations: 4 kB / 0.573 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.7293, allocations: 3.938 kB / 0.573 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.7293, allocations: 4 kB / 0.573 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.7294, allocations: 4 kB / 0.573 GB, free: 8.809 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.7295, allocations: 95.02 kB / 0.5731 GB, free: 8.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7295, allocations: 4.031 kB / 0.5731 GB, free: 8.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001434/0.7309, allocations: 362.2 kB / 0.5735 GB, free: 8.371 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.002287/0.7332, allocations: 1.057 MB / 0.5745 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.7337, allocations: 198.6 kB / 0.5747 GB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7337, allocations: 3.938 kB / 0.5747 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.7339, allocations: 147 kB / 0.5748 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.7341, allocations: 15.56 kB / 0.5749 GB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.7361, allocations: 0.8725 MB / 0.5757 GB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.7366, allocations: 0.6965 MB / 0.5764 GB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.7366, allocations: 21.88 kB / 0.5764 GB, free: 5.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.7366, allocations: 0 / 0.5764 GB, free: 5.398 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_matrixTrDat0CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:497:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp63; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:22: error: expected '(' for function-style cast or type construction DynArrayDim4 tmp113; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:3: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:820:24: error: use of undeclared identifier 'tmp113' DynArrayDim4 tmp113; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:985:16: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:28: error: expected '(' for function-style cast or type construction DynArrayDim4 _omcQ_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1034:30: error: use of undeclared identifier '_omcQ_24tmpVar25_' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1086:35: error: use of undeclared identifier '_omcQ_24tmpVar20_' $tmpVar21_loopVar = _omcQ_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:1080:22: note: '_omcQ_24tmpVar22_' declared here double _omcQ_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:1128:9: error: use of undeclared identifier 'tmp113'; did you mean 'tmp103'? tmp113 = _omcQ_24tmpVar25_; ^~~~~~ tmp103 ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:1036:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.cpp:818:24: note: 'tmp103' declared here DynArrayDim1 tmp103; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0Functions.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_matrixTrDat0Functions.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_matrixTrDat0CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0CalcHelperMain.o] Error 1