Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.HydroPlantTest2,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2",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.001618/0.001622, allocations: 184.1 kB / 15.77 MB, free: 6.375 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.01/2.01, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001138/0.001138, allocations: 94.8 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2566/0.2566, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004118, allocations: 15.98 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 56.33 MB / 479.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.008993/0.115, allocations: 5.345 MB / 484.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006224/0.1213, allocations: 2.628 MB / 487.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007601/0.1221, allocations: 31.81 kB / 487.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1226, allocations: 115.1 kB / 487.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.1242, allocations: 406.6 kB / 487.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.1257, allocations: 355.2 kB / 488 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.127, allocations: 0.5741 MB / 488.6 MB, free: 8.461 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.1284, allocations: 0.6438 MB / 489.2 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.129, allocations: 302.8 kB / 489.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.1296, allocations: 294.6 kB / 489.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.1297, allocations: 32 kB / 489.8 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.1306, allocations: 247.5 kB / 490.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.1308, allocations: 167.5 kB / 490.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1311, allocations: 145.3 kB / 490.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.1324, allocations: 0.7793 MB / 491.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1324, allocations: 0 / 491.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1324, allocations: 4 kB / 491.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1324, allocations: 0 / 491.2 MB, free: 5.832 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002819/0.1353, allocations: 1 MB / 492.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1353, allocations: 8.031 kB / 492.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.1355, allocations: 106.4 kB / 492.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/0.1382, allocations: 202.9 kB / 492.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.1396, allocations: 0.5238 MB / 493 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.1397, allocations: 41.31 kB / 493 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1398, allocations: 59.97 kB / 493.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.1421, allocations: 0.7981 MB / 493.9 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.1422, allocations: 7.906 kB / 493.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.1423, allocations: 27.95 kB / 493.9 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.692e-05/0.1424, allocations: 33.3 kB / 494 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.1449, allocations: 0.7545 MB / 494.7 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006586/0.1515, allocations: 2.943 MB / 497.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.1538, allocations: 0.6168 MB / 498.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/0.1539, allocations: 12.41 kB / 498.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/0.1552, allocations: 438.2 kB / 498.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 2.945e-06/0.1553, allocations: 0 / 498.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.007149/0.1624, allocations: 2.199 MB / 0.4892 GB, free: 11.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.1625, allocations: 111.4 kB / 0.4893 GB, free: 11.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1636, allocations: 489.9 kB / 0.4897 GB, free: 11.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/0.1637, allocations: 37.7 kB / 0.4898 GB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.164, allocations: 347 kB / 0.4901 GB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.1643, allocations: 201 kB / 0.4903 GB, free: 10.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1644, allocations: 12 kB / 0.4903 GB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1645, allocations: 334.8 kB / 0.4906 GB, free: 10.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.1656, allocations: 297.1 kB / 0.4909 GB, free: 9.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.1668, allocations: 418.1 kB / 0.4913 GB, free: 9.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.168, allocations: 367.7 kB / 0.4917 GB, free: 9.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.168, allocations: 0 / 0.4917 GB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003714/0.1718, allocations: 1.021 MB / 0.4927 GB, free: 8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005233/0.1723, allocations: 1.086 MB / 0.4937 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1723, allocations: 3.953 kB / 0.4937 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.1735, allocations: 205.6 kB / 0.4939 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.1745, allocations: 123.8 kB / 0.494 GB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006938/0.1814, allocations: 3.912 MB / 0.4979 GB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.1825, allocations: 63.94 kB / 0.4979 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.479e-05/0.1826, allocations: 23.98 kB / 0.4979 GB, free: 2.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1826, allocations: 4.062 kB / 0.4979 GB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002964/0.1856, allocations: 0.883 MB / 0.4988 GB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1856, allocations: 4.188 kB / 0.4988 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/0.1864, allocations: 157.6 kB / 0.499 GB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/0.1873, allocations: 123.8 kB / 0.4991 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.1911, allocations: 2.291 MB / 0.5013 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.1919, allocations: 43.95 kB / 0.5014 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.192, allocations: 20 kB / 0.5014 GB, free: 14.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition1,$PRE.secondary.T_start,secondary.T_start,$PRE.secondary.count,secondary.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 (59): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.000576/0.1926, allocations: 309 kB / 0.5017 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1927, allocations: 59.33 kB / 0.5017 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.1956, allocations: 0.8577 MB / 0.5026 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.1957, allocations: 8 kB / 0.5026 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1957, allocations: 0 / 0.5026 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.1957, allocations: 3.984 kB / 0.5026 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/0.2003, allocations: 1.698 MB / 0.5042 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2003, allocations: 4 kB / 0.5042 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.2015, allocations: 140 kB / 0.5044 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/0.2019, allocations: 73.56 kB / 0.5044 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.202, allocations: 12 kB / 0.5045 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.2049, allocations: 2.709 MB / 0.5071 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.205, allocations: 0 / 0.5071 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/0.2092, allocations: 1.419 MB / 0.5085 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.2097, allocations: 196.3 kB / 0.5087 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.2099, allocations: 12 kB / 0.5087 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008542/0.2107, allocations: 63.94 kB / 0.5087 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.211, allocations: 60.38 kB / 0.5088 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.211, allocations: 27.92 kB / 0.5088 GB, free: 6.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008314/0.2119, allocations: 338.8 kB / 0.5092 GB, free: 6.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2119, allocations: 0 / 0.5092 GB, free: 6.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001394/0.2133, allocations: 256 kB / 0.5094 GB, free: 5.855 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004713/0.218, allocations: 2.469 MB / 0.5118 GB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004795/0.2229, allocations: 1.746 MB / 0.5135 GB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.2229, allocations: 4 kB / 0.5135 GB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.2246, allocations: 0.6104 MB / 0.5141 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.2258, allocations: 121.9 kB / 0.5142 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3031/0.529, allocations: 6.3 MB / 0.5204 GB, free: 49.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.5297, allocations: 0.9609 MB / 0.5213 GB, free: 48.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/0.5303, allocations: 239.2 kB / 0.5215 GB, free: 48.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5304, allocations: 3.375 kB / 0.5216 GB, free: 48.35 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_HydroPlantTest2CalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2CalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2CalcHelperMain.cpp:32: ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2Jacobian.cpp:115:26: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac1jac_tmp(7) = ((__HOM_LAMBDA_ * tmp66) + ((1.0 - __HOM_LAMBDA_) * _NLSJac1jac_tmp(6))); ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2Jacobian.cpp:115:59: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac1jac_tmp(7) = ((__HOM_LAMBDA_ * tmp66) + ((1.0 - __HOM_LAMBDA_) * _NLSJac1jac_tmp(6))); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2CalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2FMU.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_HydroPlantTest2CalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_PowerWorld_Test_HydroPlantTest2CalcHelperMain.o] Error 1