Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.PowerWorld.Test.HydroPlantTest1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1",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.001665/0.001669, allocations: 188 kB / 15.77 MB, free: 5.988 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.971/1.971, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001149/0.001149, allocations: 98.8 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2587/0.2587, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.008293/0.1155, allocations: 4.767 MB / 483.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.1209, allocations: 2.153 MB / 486 MB, free: 11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006469/0.1216, allocations: 23.88 kB / 486.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.1221, allocations: 91.25 kB / 486.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001299/0.1234, allocations: 318.9 kB / 486.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1247, allocations: 314.3 kB / 486.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1258, allocations: 0.5079 MB / 487.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.127, allocations: 0.5468 MB / 487.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.1277, allocations: 262.9 kB / 488.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.1281, allocations: 246.8 kB / 488.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.1282, allocations: 24 kB / 488.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.1288, allocations: 159.7 kB / 488.5 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.129, allocations: 127.5 kB / 488.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1292, allocations: 133.4 kB / 488.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1303, allocations: 0.6702 MB / 489.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1303, allocations: 0 / 489.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1304, allocations: 7.875 kB / 489.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.1304, allocations: 0 / 489.4 MB, free: 7.555 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002712/0.1331, allocations: 0.9332 MB / 490.4 MB, free: 6.562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1331, allocations: 8.031 kB / 490.4 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.1333, allocations: 94.47 kB / 490.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.1346, allocations: 163 kB / 490.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.136, allocations: 0.5005 MB / 491.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.136, allocations: 37 kB / 491.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1362, allocations: 52 kB / 491.2 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1381, allocations: 0.6865 MB / 491.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.1382, allocations: 3.938 kB / 491.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.1383, allocations: 16 kB / 491.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.1384, allocations: 32.95 kB / 492 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.1406, allocations: 0.6284 MB / 492.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00551/0.1461, allocations: 2.7 MB / 495.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.1487, allocations: 0.6679 MB / 496 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.1488, allocations: 4.328 kB / 496 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/0.1498, allocations: 319.2 kB / 496.3 MB, free: 392 kB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 3.396e-06/0.1498, allocations: 0 / 496.3 MB, free: 392 kB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.003046/0.1529, allocations: 0.7926 MB / 497.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.153, allocations: 140.5 kB / 497.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1541, allocations: 0.4942 MB / 497.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.1541, allocations: 33.7 kB / 497.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.1545, allocations: 342.5 kB / 498.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.1547, allocations: 138 kB / 498.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1547, allocations: 4 kB / 498.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1549, allocations: 330.8 kB / 498.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008286/0.1557, allocations: 208.9 kB / 498.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.1567, allocations: 323.2 kB / 499 MB, free: 13.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009146/0.1576, allocations: 265.5 kB / 499.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1576, allocations: 7.938 kB / 499.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003032/0.1607, allocations: 0.7843 MB / 0.4884 GB, free: 12.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006327/0.1613, allocations: 1.341 MB / 0.4897 GB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1614, allocations: 0 / 0.4897 GB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009097/0.1623, allocations: 169.1 kB / 0.4898 GB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.163, allocations: 95.88 kB / 0.4899 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.1683, allocations: 2.514 MB / 0.4924 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.1692, allocations: 91.48 kB / 0.4925 GB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.1693, allocations: 20 kB / 0.4925 GB, free: 7.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1693, allocations: 4 kB / 0.4925 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002286/0.1716, allocations: 0.6385 MB / 0.4931 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1716, allocations: 11.95 kB / 0.4931 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.1722, allocations: 120.8 kB / 0.4933 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.1729, allocations: 100.1 kB / 0.4934 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.1766, allocations: 2.237 MB / 0.4955 GB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.1772, allocations: 55.58 kB / 0.4956 GB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.1773, allocations: 28.05 kB / 0.4956 GB, free: 4.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004923/0.1778, allocations: 292.8 kB / 0.4959 GB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.1779, allocations: 51.34 kB / 0.4959 GB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.1799, allocations: 0.5421 MB / 0.4965 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.18, allocations: 7.984 kB / 0.4965 GB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.18, allocations: 4 kB / 0.4965 GB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.18, allocations: 3.953 kB / 0.4965 GB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.1831, allocations: 1.19 MB / 0.4977 GB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.1831, allocations: 11.83 kB / 0.4977 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.184, allocations: 91.94 kB / 0.4977 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.1842, allocations: 32.78 kB / 0.4978 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.1843, allocations: 19.98 kB / 0.4978 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.1856, allocations: 1.359 MB / 0.4991 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/0.1857, allocations: 4.031 kB / 0.4991 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.1886, allocations: 0.911 MB / 0.5 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.1889, allocations: 172.3 kB / 0.5002 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.189, allocations: 8 kB / 0.5002 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.1898, allocations: 55.94 kB / 0.5002 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1899, allocations: 35.91 kB / 0.5003 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.19, allocations: 19.98 kB / 0.5003 GB, free: 15.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008695/0.1909, allocations: 358.8 kB / 0.5006 GB, free: 15.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1909, allocations: 0 / 0.5006 GB, free: 15.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001264/0.1922, allocations: 239.4 kB / 0.5009 GB, free: 14.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003343/0.1955, allocations: 1.601 MB / 0.5024 GB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.199, allocations: 1.18 MB / 0.5036 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1991, allocations: 3.938 kB / 0.5036 GB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.2001, allocations: 354.9 kB / 0.5039 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.2011, allocations: 106.6 kB / 0.504 GB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.2134, allocations: 6.05 MB / 0.5099 GB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.2141, allocations: 0.9137 MB / 0.5108 GB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/0.2147, allocations: 195.4 kB / 0.511 GB, free: 4.285 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2147, allocations: 0 / 0.511 GB, free: 4.285 MB / 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=5 -DSUNDIALS_MINOR_VERSION=4 -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_PowerWorld_Test_HydroPlantTest1CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1CalcHelperMain.cpp:32: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1Jacobian.cpp:84:26: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac0jac_tmp(6) = ((__HOM_LAMBDA_ * tmp51) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(5))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1Jacobian.cpp:84:59: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac0jac_tmp(6) = ((__HOM_LAMBDA_ * tmp51) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(5))); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1CalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 2 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest1CalcHelperMain.o] Error 1