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.002276/0.002276, allocations: 181.8 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.23/2.23, allocations: 205.4 MB / 221.9 MB, free: 13.69 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.001152/0.001151, allocations: 90.86 kB / 270.2 MB, free: 13.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2877/0.2877, allocations: 38.05 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004867, allocations: 12 kB / 422.8 MB, free: 26.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 56.33 MB / 479.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.629, allocations: 92.81 MB / 0.5585 GB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.6293, allocations: 79.89 kB / 0.5586 GB, free: 6.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06784/0.6972, allocations: 12.11 MB / 0.5704 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6972, allocations: 4 kB / 0.5704 GB, free: 12.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.6973, allocations: 0 / 0.5704 GB, free: 12.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001245/0.6985, allocations: 0.5689 MB / 0.571 GB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6986, allocations: 8.031 kB / 0.571 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.6987, allocations: 64.56 kB / 0.5711 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.6988, allocations: 23.77 kB / 0.5711 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.699, allocations: 198.4 kB / 0.5713 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.6991, allocations: 7.984 kB / 0.5713 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.6991, allocations: 11.12 kB / 0.5713 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.6994, allocations: 116.4 kB / 0.5714 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6995, allocations: 0 / 0.5714 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6995, allocations: 3.812 kB / 0.5714 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6995, allocations: 7.938 kB / 0.5714 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.6997, allocations: 63.25 kB / 0.5715 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.7003, allocations: 369.8 kB / 0.5718 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.7004, allocations: 79.55 kB / 0.5719 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.7005, allocations: 0 / 0.5719 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.7005, allocations: 34.56 kB / 0.5719 GB, free: 10.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.7005, allocations: 0 / 0.5719 GB, free: 10.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000588/0.7011, allocations: 294.1 kB / 0.5722 GB, free: 10.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.7012, allocations: 93.03 kB / 0.5723 GB, free: 10.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.7014, allocations: 139.7 kB / 0.5724 GB, free: 9.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.7014, allocations: 25.7 kB / 0.5725 GB, free: 9.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.7015, allocations: 173.3 kB / 0.5726 GB, free: 9.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.7015, allocations: 42.42 kB / 0.5727 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.7016, allocations: 4.031 kB / 0.5727 GB, free: 9.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7017, allocations: 322.5 kB / 0.573 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.7018, allocations: 39.23 kB / 0.573 GB, free: 9.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.7019, allocations: 35.84 kB / 0.5731 GB, free: 9.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.7021, allocations: 80.67 kB / 0.5731 GB, free: 9.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7021, allocations: 0 / 0.5731 GB, free: 9.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000326/0.7024, allocations: 173 kB / 0.5733 GB, free: 9.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.7025, allocations: 49.06 kB / 0.5733 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7025, allocations: 0 / 0.5733 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7025, allocations: 64 / 0.5733 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.7025, allocations: 4 kB / 0.5734 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.7026, allocations: 0 / 0.5734 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7027, allocations: 11.84 kB / 0.5734 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.7027, allocations: 4 kB / 0.5734 GB, free: 8.965 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.0001994/0.7029, allocations: 178.9 kB / 0.5735 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.703, allocations: 11.86 kB / 0.5736 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.703, allocations: 12.59 kB / 0.5736 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.703, allocations: 0 / 0.5736 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7031, allocations: 15.94 kB / 0.5736 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7031, allocations: 0 / 0.5736 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7034, allocations: 207.6 kB / 0.5738 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7034, allocations: 0 / 0.5738 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-06/0.7034, allocations: 4 kB / 0.5738 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.7034, allocations: 7.891 kB / 0.5738 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7034, allocations: 7.984 kB / 0.5738 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7034, allocations: 0 / 0.5738 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7035, allocations: 0 / 0.5738 GB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.704, allocations: 359.6 kB / 0.5741 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.7041, allocations: 92.86 kB / 0.5742 GB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.7042, allocations: 7.953 kB / 0.5742 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.7043, allocations: 0 / 0.5742 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.7043, allocations: 4 kB / 0.5742 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.7044, allocations: 7.984 kB / 0.5742 GB, free: 8.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.7045, allocations: 113.8 kB / 0.5744 GB, free: 7.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7045, allocations: 0 / 0.5744 GB, free: 7.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001509/0.706, allocations: 366.5 kB / 0.5747 GB, free: 7.566 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.002748/0.7088, allocations: 1.317 MB / 0.576 GB, free: 6.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.7094, allocations: 327.2 kB / 0.5763 GB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7095, allocations: 4.094 kB / 0.5763 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.7098, allocations: 250.4 kB / 0.5765 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.7101, allocations: 24.06 kB / 0.5766 GB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.7131, allocations: 1.326 MB / 0.5779 GB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7135, allocations: 0.7394 MB / 0.5786 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.7136, allocations: 36.17 kB / 0.5786 GB, free: 3.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.7136, allocations: 0 / 0.5786 GB, free: 3.832 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_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: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_EqCircFromTransDatFunctions.cpp:956:16: note: '_omcQ_24tmpVar18_' declared here double _omcQ_24tmpVar18_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:28: error: expected '(' for function-style cast or type construction DynArrayDim4 _omcQ_24tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:30: error: use of undeclared identifier '_omcQ_24tmpVar25_' DynArrayDim4 _omcQ_24tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1036:9: error: use of undeclared identifier '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? _omcQ_24tmpVar25_.setDims(tmp121); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1057:35: error: use of undeclared identifier '_omcQ_24tmpVar20_' $tmpVar21_loopVar = _omcQ_24tmpVar20_/*testloopvar2*/; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1062:33: error: no matching member function for call to 'setDims' _omcQ_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: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_EqCircFromTransDatFunctions.cpp:1051:22: note: '_omcQ_24tmpVar22_' declared here double _omcQ_24tmpVar22_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1075:19: error: no matching function for call to object of type 'DynArrayDim2' _omcQ_24tmpVar23_(tmp104++) = _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_EqCircFromTransDatCalcHelperMain.cpp:28: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1092:78: error: use of undeclared identifier '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? fill_array_from_shape(make_pair(tmp109,tmp110),_omcQ_24tmpVar24_,_omcQ_24tmpVar25_); ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_24tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1099:9: error: use of undeclared identifier 'tmp103'; did you mean 'tmp105'? tmp103 = _omcQ_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 '_omcQ_24tmpVar25_'; did you mean '_omcQ_24tmpVar24_'? tmp103 = _omcQ_24tmpVar25_; ^~~~~~~~~~~~~~~~~ _omcQ_24tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '_omcQ_24tmpVar24_' declared here DynArrayDim2 _omcQ_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: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_EqCircFromTransDatFunctions.cpp:2247:22: note: '_omcQ_24tmpVar6_' declared here double _omcQ_24tmpVar6_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:2309:47: error: use of undeclared identifier '_omcQ_24tmpVar8_'; did you mean '_omcQ_24tmpVar9_'? _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_); ^~~~~~~~~~~~~~~~ _omcQ_24tmpVar9_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:2286:22: note: '_omcQ_24tmpVar9_' declared here double _omcQ_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