Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",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.001548/0.001548, allocations: 187.1 kB / 15.77 MB, free: 5.984 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.996/1.996, 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.001111/0.00111, allocations: 90.88 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.2701/0.2701, allocations: 38.05 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.000445, allocations: 8 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, allocations: 56.34 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008458/0.116, allocations: 4.938 MB / 484.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.1207, allocations: 1.985 MB / 486.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.1213, allocations: 27.81 kB / 486.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.1219, allocations: 131.3 kB / 486.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1231, allocations: 342.8 kB / 486.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008068/0.1239, allocations: 187.6 kB / 486.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009851/0.1249, allocations: 423.1 kB / 487.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.1256, allocations: 317.2 kB / 487.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.1261, allocations: 239 kB / 487.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.1266, allocations: 211.1 kB / 487.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.1267, allocations: 24 kB / 487.9 MB, free: 9.121 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.1269, allocations: 47.98 kB / 488 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.1271, allocations: 119.6 kB / 488.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1273, allocations: 121.5 kB / 488.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.1281, allocations: 498.6 kB / 488.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1281, allocations: 0 / 488.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1281, allocations: 0 / 488.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1281, allocations: 0 / 488.7 MB, free: 8.344 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002075/0.1302, allocations: 0.761 MB / 489.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.1303, allocations: 8.031 kB / 489.5 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.1304, allocations: 78.53 kB / 489.5 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1306, allocations: 55.34 kB / 489.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.1317, allocations: 457.7 kB / 490 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1318, allocations: 29 kB / 490.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.132, allocations: 39.98 kB / 490.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.133, allocations: 449.1 kB / 490.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.1331, allocations: 0 / 490.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.1331, allocations: 23.94 kB / 490.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1332, allocations: 12 kB / 490.6 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.1339, allocations: 274.3 kB / 490.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003244/0.1372, allocations: 1.859 MB / 492.7 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.138, allocations: 252.2 kB / 492.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.138, allocations: 8.406 kB / 493 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.1385, allocations: 178.2 kB / 493.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 6.933e-06/0.1385, allocations: 0 / 493.1 MB, free: 3.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.002562/0.141, allocations: 0.9174 MB / 494 MB, free: 2.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.1412, allocations: 132.5 kB / 494.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.1419, allocations: 397.9 kB / 494.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.1419, allocations: 29.7 kB / 494.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.1422, allocations: 302.1 kB / 494.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1423, allocations: 98.62 kB / 495 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1423, allocations: 8 kB / 495 MB, free: 1.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1425, allocations: 330.8 kB / 495.3 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1428, allocations: 79.95 kB / 495.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.1432, allocations: 216.2 kB / 495.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.1435, allocations: 112 kB / 495.7 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1435, allocations: 0 / 495.7 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001366/0.1449, allocations: 393.8 kB / 496.1 MB, free: 452 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.1449, allocations: 11.98 kB / 496.1 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.145, allocations: 7.938 kB / 496.1 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.1457, allocations: 93.28 kB / 496.2 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.1461, allocations: 63.91 kB / 496.3 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.1496, allocations: 1.843 MB / 498.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.1501, allocations: 19.98 kB / 498.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.1501, allocations: 16 kB / 498.2 MB, free: 14.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.1505, allocations: 201.6 kB / 498.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1506, allocations: 43.44 kB / 498.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009317/0.1515, allocations: 298.3 kB / 498.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.1516, allocations: 7.953 kB / 498.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1516, allocations: 0 / 498.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1516, allocations: 0 / 498.7 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.1533, allocations: 0.7685 MB / 499.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1533, allocations: 4 kB / 499.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.1538, allocations: 47.91 kB / 499.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.1542, allocations: 48.81 kB / 499.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.1542, allocations: 7.938 kB / 499.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.1561, allocations: 1.452 MB / 0.4893 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1561, allocations: 0 / 0.4893 GB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.1574, allocations: 0.5214 MB / 0.4898 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.1577, allocations: 136.6 kB / 0.4899 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.1577, allocations: 4 kB / 0.4899 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.1581, allocations: 15.98 kB / 0.4899 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1583, allocations: 27.97 kB / 0.49 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.1583, allocations: 7.984 kB / 0.49 GB, free: 10.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005026/0.1588, allocations: 279.2 kB / 0.4902 GB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1588, allocations: 0 / 0.4902 GB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.1596, allocations: 104 kB / 0.4903 GB, free: 10.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002753/0.1624, allocations: 1.476 MB / 0.4918 GB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.1637, allocations: 403.1 kB / 0.4922 GB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.1638, allocations: 0 / 0.4922 GB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006374/0.1644, allocations: 246.5 kB / 0.4924 GB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.1654, allocations: 117.6 kB / 0.4925 GB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007867/0.1733, allocations: 5.46 MB / 0.4978 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.1739, allocations: 0.862 MB / 0.4987 GB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.1743, allocations: 163.4 kB / 0.4988 GB, free: 1.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1743, allocations: 0 / 0.4988 GB, free: 1.145 MB / 346.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_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:29: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitializeParameter.cpp:113:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp56; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitializeParameter.cpp:114:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp56); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:31: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:103:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:104:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Resources/Tables/", tmp8); ~~~~~~~~~~ ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:737:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp13; ^ ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serInitialize.cpp:738:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp13); ~~~~~~~~~~ ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:34: ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser.cpp:1044:27: error: use of undeclared identifier 'tmp2' _tabLoad_P_fileName_ = (tmp2 + "hNormProfile.tab"); ^ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serFMU.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 7 errors generated. : recipe for target 'OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.o' failed make: *** [OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_serCalcHelperMain.o] Error 1