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.001468/0.001468, allocations: 180.7 kB / 8.011 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001128, allocations: 78.72 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2563/0.2563, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.798e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.6075, allocations: 92.05 MB / 0.5452 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6078, allocations: 78.17 kB / 0.5453 GB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06341/0.6712, allocations: 12.03 MB / 0.5571 GB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6713, allocations: 0 / 0.5571 GB, free: 5.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.6713, allocations: 3.75 kB / 0.5571 GB, free: 5.91 MB / 362.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.0008939/0.6722, allocations: 0.5502 MB / 0.5576 GB, free: 5.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6723, allocations: 7.5 kB / 0.5576 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.6723, allocations: 11.44 kB / 0.5576 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.6725, allocations: 196.2 kB / 0.5578 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.6725, allocations: 4 kB / 0.5578 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.6726, allocations: 0 / 0.5578 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001049/0.6727, allocations: 36.58 kB / 0.5578 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6728, allocations: 74.81 kB / 0.5579 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6728, allocations: 0 / 0.5579 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6729, allocations: 0 / 0.5579 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6729, allocations: 0 / 0.5579 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.673, allocations: 159.5 kB / 0.5581 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.6731, allocations: 69 kB / 0.5581 GB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.6732, allocations: 57.48 kB / 0.5582 GB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-06/0.6733, allocations: 0 / 0.5582 GB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.6733, allocations: 34.41 kB / 0.5582 GB, free: 4.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.6733, allocations: 0.75 kB / 0.5582 GB, free: 4.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003739/0.6737, allocations: 131.4 kB / 0.5583 GB, free: 4.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.6737, allocations: 88.27 kB / 0.5584 GB, free: 4.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.977e-05/0.6738, allocations: 127.5 kB / 0.5586 GB, free: 4.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.6739, allocations: 29.7 kB / 0.5586 GB, free: 4.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.6739, allocations: 164.5 kB / 0.5587 GB, free: 4.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.674, allocations: 41.45 kB / 0.5588 GB, free: 4.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.674, allocations: 0 / 0.5588 GB, free: 4.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.6741, allocations: 329.3 kB / 0.5591 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.6741, allocations: 34.08 kB / 0.5591 GB, free: 4.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.6742, allocations: 34.11 kB / 0.5592 GB, free: 4.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.6744, allocations: 48.83 kB / 0.5592 GB, free: 4.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6744, allocations: 3.984 kB / 0.5592 GB, free: 4.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002853/0.6747, allocations: 119.5 kB / 0.5593 GB, free: 3.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.6748, allocations: 51.83 kB / 0.5594 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6748, allocations: 0 / 0.5594 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6748, allocations: 0 / 0.5594 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/0.6748, allocations: 0 / 0.5594 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.6749, allocations: 3.938 kB / 0.5594 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.6749, allocations: 11.69 kB / 0.5594 GB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.675, allocations: 3.656 kB / 0.5594 GB, free: 3.934 MB / 362.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.0001017/0.6751, allocations: 152.7 kB / 0.5595 GB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004041/0.6755, allocations: 204 kB / 0.5597 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.6756, allocations: 15.56 kB / 0.5597 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.6756, allocations: 16.08 kB / 0.5598 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6756, allocations: 0 / 0.5598 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6756, allocations: 0 / 0.5598 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.6756, allocations: 0 / 0.5598 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.6757, allocations: 168.7 kB / 0.5599 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6758, allocations: 0 / 0.5599 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.6758, allocations: 0 / 0.5599 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6758, allocations: 0 / 0.5599 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.6758, allocations: 3.344 kB / 0.5599 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6758, allocations: 4.031 kB / 0.5599 GB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6758, allocations: 0 / 0.5599 GB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.6763, allocations: 231 kB / 0.5601 GB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.6763, allocations: 96.58 kB / 0.5602 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.6764, allocations: 3.812 kB / 0.5602 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.353e-05/0.6764, allocations: 0 / 0.5602 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.6765, allocations: 6.906 kB / 0.5603 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.6765, allocations: 7.969 kB / 0.5603 GB, free: 3.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.6766, allocations: 113.6 kB / 0.5604 GB, free: 3.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6766, allocations: 0 / 0.5604 GB, free: 3.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001244/0.6778, allocations: 366.8 kB / 0.5607 GB, free: 2.863 MB / 362.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.002015/0.6799, allocations: 1.185 MB / 0.5619 GB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.6803, allocations: 318.1 kB / 0.5622 GB, free: 1.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6803, allocations: 3.938 kB / 0.5622 GB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.6806, allocations: 252.6 kB / 0.5624 GB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.6808, allocations: 11.38 kB / 0.5624 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.6818, allocations: 470.3 kB / 0.5629 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.682, allocations: 0.7119 MB / 0.5636 GB, free: 128 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.6821, allocations: 27.17 kB / 0.5636 GB, free: 120 kB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6821, allocations: 0 / 0.5636 GB, free: 120 kB / 362.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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:1005:28: error: expected '(' for function-style cast or type construction DynArrayDim4 $tmpVar25_; ~~~~~~^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:9: error: use of undeclared identifier 'DynArrayDim4' DynArrayDim4 $tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1005:30: error: use of undeclared identifier '$tmpVar25_' DynArrayDim4 $tmpVar25_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1036:9: error: use of undeclared identifier '$tmpVar25_'; did you mean '$tmpVar24_'? $tmpVar25_.setDims(tmp121); ^~~~~~~~~~ $tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '$tmpVar24_' declared here DynArrayDim2 $tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1062:26: error: no matching member function for call to 'setDims' $tmpVar23_.setDims(tmp108); ~~~~~~~~~~~^~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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:1075:19: error: no matching function for call to object of type 'DynArrayDim2' $tmpVar23_(tmp104++) = $tmpVar22_; ^~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/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/OMCompiler/build/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/OMCompiler/build/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:71: error: use of undeclared identifier '$tmpVar25_'; did you mean '$tmpVar24_'? fill_array_from_shape(make_pair(tmp109,tmp110),$tmpVar24_,$tmpVar25_); ^~~~~~~~~~ $tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '$tmpVar24_' declared here DynArrayDim2 $tmpVar24_; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1099:9: error: use of undeclared identifier 'tmp103'; did you mean 'tmp105'? tmp103 = $tmpVar25_; ^~~~~~ 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 '$tmpVar25_'; did you mean '$tmpVar24_'? tmp103 = $tmpVar25_; ^~~~~~~~~~ $tmpVar24_ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:1007:30: note: '$tmpVar24_' declared here DynArrayDim2 $tmpVar24_; ^ ./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:2511:3: error: unknown type name 'diagonalRetType' diagonalRetType /* undefined */ tmp350; ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatInitialize.cpp:243:98: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, /*t4*/tmp369, tmp372, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp373); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:472:192: note: passing argument to parameter 'x_' here void /*PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType & output ) ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatInitialize.cpp:257:98: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, /*t4*/tmp374, tmp377, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp378); ^~~~~~ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:472:192: note: passing argument to parameter 'x_' here void /*PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType & output ) ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat.cpp:244:98: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, /*t4*/tmp0, tmp3, _x_d_, _xsig_s_, _r_s_, _if0_, (3.141592653589793 + _alpha_if0_), _tol_, true, tmp4); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:472:192: note: passing argument to parameter 'x_' here void /*PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType & output ) ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat.cpp:258:98: error: no viable conversion from 'StatArrayDim1' to 'double' _functions->PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(2, /*t4*/tmp5, tmp8, _x_q_, _xsig_s_, _r_s_, 0.0, 0.0, 0.0, false, tmp9); ^~~~ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFunctions.cpp:472:192: note: passing argument to parameter 'x_' here void /*PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType */ Functions::PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuit(int n_, double x_, double xsig_s_, double r_s_, double if0_, double alpha_if0_, double tol_, bool field_, BaseArray& Tc_, BaseArray& To_,PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat_equiCircuitRetType & output ) ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDatFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 19 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