Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.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.Drives.SM_ctrlAv,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAv",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAv",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.001091/0.001091, allocations: 170 kB / 16.07 MB, free: 5.605 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.399/1.399, allocations: 205.4 MB / 222.2 MB, free: 13.75 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.00078/0.00078, allocations: 102.2 kB / 270.6 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1563/0.1563, allocations: 38.08 MB / 356.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 12 kB / 423.4 MB, free: 26.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09208, allocations: 56.34 MB / 479.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.007509/0.09962, allocations: 7.356 MB / 487.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.1048, allocations: 3.185 MB / 490.3 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.1056, allocations: 55.62 kB / 490.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.1063, allocations: 258.3 kB / 490.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1077, allocations: 0.618 MB / 491.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.1086, allocations: 386.7 kB / 491.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1101, allocations: 1.586 MB / 493.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.1113, allocations: 1.09 MB / 494.3 MB, free: 3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005142/0.1119, allocations: 458 kB / 494.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.1126, allocations: 0.5798 MB / 495.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.1127, allocations: 44 kB / 495.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.1132, allocations: 275.5 kB / 495.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.1135, allocations: 323 kB / 495.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.1139, allocations: 0.4914 MB / 496.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1149, allocations: 1.282 MB / 497.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.115, allocations: 3.938 kB / 497.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.115, allocations: 0 / 497.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.115, allocations: 0 / 497.7 MB, free: 15.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002123/0.1171, allocations: 1.234 MB / 498.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1171, allocations: 8.031 kB / 498.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.1173, allocations: 143.8 kB / 499.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.1179, allocations: 167.5 kB / 499.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.1191, allocations: 0.8049 MB / 0.4883 GB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.1192, allocations: 58 kB / 0.4884 GB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.1194, allocations: 91.98 kB / 0.4885 GB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.121, allocations: 1.157 MB / 0.4896 GB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.121, allocations: 3.906 kB / 0.4896 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.1211, allocations: 36 kB / 0.4896 GB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-05/0.1212, allocations: 61.97 kB / 0.4897 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1227, allocations: 0.9562 MB / 0.4906 GB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.1284, allocations: 4.648 MB / 0.4952 GB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.1294, allocations: 0.687 MB / 0.4958 GB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.13, allocations: 348.4 kB / 0.4962 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.696e-05/0.13, allocations: 16.48 kB / 0.4962 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1301, allocations: 47.11 kB / 0.4962 GB, free: 4.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.545e-06/0.1301, allocations: 0 / 0.4962 GB, free: 4.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=62): time 0.00449/0.1346, allocations: 2.362 MB / 0.4985 GB, free: 2.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.1347, allocations: 145.1 kB / 0.4987 GB, free: 2.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.1354, allocations: 0.6762 MB / 0.4993 GB, free: 1.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.1355, allocations: 41.7 kB / 0.4994 GB, free: 1.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.1358, allocations: 486.9 kB / 0.4998 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.136, allocations: 216.8 kB / 0.5 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.136, allocations: 16 kB / 0.5001 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1362, allocations: 394.7 kB / 0.5004 GB, free: 200 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.1366, allocations: 273.9 kB / 0.5007 GB, free: 15.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.1372, allocations: 0.5159 MB / 0.5012 GB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/0.1407, allocations: 1.548 MB / 0.5027 GB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1407, allocations: 3.938 kB / 0.5027 GB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002903/0.1436, allocations: 1.406 MB / 0.5041 GB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1439, allocations: 319.6 kB / 0.5044 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.1439, allocations: 11.94 kB / 0.5044 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.1455, allocations: 466.2 kB / 0.5048 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.146, allocations: 147.7 kB / 0.505 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/0.1544, allocations: 6.221 MB / 0.5111 GB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.1551, allocations: 39.98 kB / 0.5111 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.1551, allocations: 39.98 kB / 0.5111 GB, free: 4.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.1552, allocations: 4 kB / 0.5111 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002418/0.1576, allocations: 1.198 MB / 0.5123 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.1576, allocations: 8 kB / 0.5123 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.159, allocations: 425.6 kB / 0.5127 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.1596, allocations: 151.8 kB / 0.5129 GB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1844/0.3439, allocations: 5.909 MB / 0.5186 GB, free: 49.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.3446, allocations: 36.83 kB / 0.5187 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.3447, allocations: 31.56 kB / 0.5187 GB, free: 49.05 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * 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: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.000528/0.3452, allocations: 397.2 kB / 0.5191 GB, free: 48.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3454, allocations: 87.81 kB / 0.5192 GB, free: 48.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.3467, allocations: 0.7357 MB / 0.5199 GB, free: 48.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3467, allocations: 12.2 kB / 0.5199 GB, free: 48.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3467, allocations: 1.875 kB / 0.5199 GB, free: 48.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.3467, allocations: 6.703 kB / 0.5199 GB, free: 48.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.3494, allocations: 1.778 MB / 0.5216 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3495, allocations: 0 / 0.5216 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.3502, allocations: 143.2 kB / 0.5218 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-05/0.3503, allocations: 24.53 kB / 0.5218 GB, free: 47.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.3503, allocations: 17.38 kB / 0.5218 GB, free: 47.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006426/0.351, allocations: 1.289 MB / 0.5231 GB, free: 46.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.351, allocations: 1.281 kB / 0.5231 GB, free: 46.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.3528, allocations: 1.224 MB / 0.5243 GB, free: 45.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.3531, allocations: 209.3 kB / 0.5245 GB, free: 45.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.3532, allocations: 19.03 kB / 0.5245 GB, free: 45.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.3537, allocations: 32.3 kB / 0.5245 GB, free: 45.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.3538, allocations: 39.64 kB / 0.5246 GB, free: 45.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3539, allocations: 17.91 kB / 0.5246 GB, free: 45.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006602/0.3546, allocations: 476.2 kB / 0.525 GB, free: 45.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3546, allocations: 0 / 0.525 GB, free: 45.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001637/0.3562, allocations: 409.1 kB / 0.5254 GB, free: 45.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/0.3583, allocations: 1.809 MB / 0.5272 GB, free: 44.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003696/0.362, allocations: 1.998 MB / 0.5291 GB, free: 43.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.362, allocations: 0 / 0.5291 GB, free: 43.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000643/0.3627, allocations: 454.5 kB / 0.5296 GB, free: 42.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.364, allocations: 208.8 kB / 0.5298 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.3749, allocations: 6.381 MB / 0.536 GB, free: 39.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.3756, allocations: 1.118 MB / 0.5371 GB, free: 38.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.3761, allocations: 346.7 kB / 0.5374 GB, free: 38.49 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.3761, allocations: 0 / 0.5374 GB, free: 38.49 MB / 362.7 MB Error: Error building simulator. Build log: clang++ -std=c++14 -Winvalid-pch -O2 -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/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvFMU.cpp:11: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:37: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.h:44: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2GlobalSettings.h:65:56: warning: returning reference to local temporary object [-Wreturn-stack-address] virtual const string& getVariableFilter() { return "";} ^~ In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvFMU.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) { ^ 2 warnings generated. clang++ -std=c++14 -shared -o PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAv.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/AC3ph" -lOMCppSystem_static -lOMCppMath_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -lOMCppModelicaUtilities_static -lOMCppDgesv_static -static-libstdc++ -static-libgcc /usr/bin/ld: OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvCalcHelperMain.o: in function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray const&, BaseArray const&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAvFunctions.cpp:124: undefined reference to `dgetri_' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAv_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Drives_SM_ctrlAv.fmu] Error 1