Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.Generation.LocalGeneration,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGeneration",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.0008899/0.0008898, allocations: 174.3 kB / 16.07 MB, free: 5.723 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.326/1.326, allocations: 205.4 MB / 222.2 MB, free: 9.043 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.0008614/0.0008613, allocations: 90.19 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.187/0.187, allocations: 38.08 MB / 356.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2563, allocations: 56.33 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.009681/0.2661, allocations: 9.437 MB / 489.2 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.2728, allocations: 3.476 MB / 492.6 MB, free: 292 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.2745, allocations: 61.91 kB / 492.7 MB, free: 268 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2756, allocations: 294.8 kB / 493 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2786, allocations: 0.7613 MB / 493.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.2801, allocations: 424 kB / 494.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003381/0.2835, allocations: 2.025 MB / 496.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.2853, allocations: 1.011 MB / 497.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.2866, allocations: 0.5945 MB / 497.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.2879, allocations: 0.7288 MB / 498.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.2881, allocations: 55.81 kB / 498.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/0.2889, allocations: 279.9 kB / 498.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006225/0.2896, allocations: 410.5 kB / 499.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007938/0.2904, allocations: 0.5906 MB / 499.9 MB, free: 13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.2922, allocations: 1.515 MB / 0.4896 GB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2922, allocations: 1.156 kB / 0.4896 GB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2922, allocations: 0 / 0.4896 GB, free: 12.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.2923, allocations: 0 / 0.4896 GB, free: 12.24 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003083/0.2954, allocations: 1.412 MB / 0.491 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2954, allocations: 13.19 kB / 0.491 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002278/0.2957, allocations: 164.7 kB / 0.4912 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.2964, allocations: 191.3 kB / 0.4913 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.2981, allocations: 0.9211 MB / 0.4922 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.2981, allocations: 76 kB / 0.4923 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.2984, allocations: 120 kB / 0.4924 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.3007, allocations: 1.336 MB / 0.4937 GB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3008, allocations: 6.562 kB / 0.4937 GB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3009, allocations: 50.27 kB / 0.4938 GB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.301, allocations: 70.47 kB / 0.4939 GB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.3029, allocations: 1.068 MB / 0.4949 GB, free: 8.715 MB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007527/0.3104, allocations: 5.155 MB / 0.4999 GB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.3117, allocations: 0.7719 MB / 0.5007 GB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.3123, allocations: 342.5 kB / 0.501 GB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.3123, allocations: 7 kB / 0.501 GB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3124, allocations: 43.12 kB / 0.5011 GB, free: 3.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=64): time 2.755e-06/0.3124, allocations: 4 kB / 0.5011 GB, free: 3.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.00602/0.3184, allocations: 2.714 MB / 0.5037 GB, free: 1.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.3185, allocations: 137.1 kB / 0.5038 GB, free: 1.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.3195, allocations: 0.7433 MB / 0.5046 GB, free: 0.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3195, allocations: 37.7 kB / 0.5046 GB, free: 0.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.3199, allocations: 0.5727 MB / 0.5052 GB, free: 128 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.3201, allocations: 244.4 kB / 0.5054 GB, free: 15.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3202, allocations: 20 kB / 0.5054 GB, free: 15.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3203, allocations: 350 kB / 0.5058 GB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.3208, allocations: 289.8 kB / 0.506 GB, free: 15.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.3215, allocations: 0.5451 MB / 0.5066 GB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.3227, allocations: 0.9013 MB / 0.5074 GB, free: 13.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3228, allocations: 0 / 0.5074 GB, free: 13.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002795/0.3256, allocations: 1.367 MB / 0.5088 GB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.3258, allocations: 329.7 kB / 0.5091 GB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3258, allocations: 8 kB / 0.5091 GB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.3273, allocations: 436.4 kB / 0.5095 GB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.3279, allocations: 163.7 kB / 0.5097 GB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008107/0.336, allocations: 4.935 MB / 0.5145 GB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.3368, allocations: 39.98 kB / 0.5145 GB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.337, allocations: 43.98 kB / 0.5146 GB, free: 5.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.337, allocations: 6.969 kB / 0.5146 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002401/0.3394, allocations: 1.14 MB / 0.5157 GB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3394, allocations: 12 kB / 0.5157 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.3407, allocations: 400.8 kB / 0.5161 GB, free: 4.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.3413, allocations: 167.7 kB / 0.5162 GB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.3479, allocations: 4.63 MB / 0.5208 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.3486, allocations: 39.92 kB / 0.5208 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.3487, allocations: 43.98 kB / 0.5208 GB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006674/0.3493, allocations: 433.1 kB / 0.5213 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.3496, allocations: 94.81 kB / 0.5214 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.351, allocations: 0.8754 MB / 0.5222 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.351, allocations: 8 kB / 0.5222 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.351, allocations: 11.94 kB / 0.5222 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3511, allocations: 3.984 kB / 0.5222 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.3541, allocations: 1.876 MB / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3541, allocations: 0 / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.3549, allocations: 163.8 kB / 0.5242 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.3549, allocations: 4 kB / 0.5242 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.355, allocations: 20 kB / 0.5242 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.355, allocations: 4 kB / 0.5242 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.355, allocations: 0 / 0.5242 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3567, allocations: 1.282 MB / 0.5255 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.3571, allocations: 227.9 kB / 0.5257 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3572, allocations: 16 kB / 0.5257 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.3577, allocations: 27.98 kB / 0.5258 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3579, allocations: 40.59 kB / 0.5258 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.3579, allocations: 20 kB / 0.5258 GB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006521/0.3586, allocations: 0.5068 MB / 0.5263 GB, free: 9.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3586, allocations: 4 kB / 0.5263 GB, free: 9.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001565/0.3601, allocations: 473.3 kB / 0.5268 GB, free: 9.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.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 (77): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/0.3624, allocations: 1.866 MB / 0.5286 GB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.366, allocations: 1.9 MB / 0.5304 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.366, allocations: 448 / 0.5304 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.3666, allocations: 359.5 kB / 0.5308 GB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.368, allocations: 239.6 kB / 0.531 GB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.3807, allocations: 7.178 MB / 0.538 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.3816, allocations: 1.197 MB / 0.5392 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.3823, allocations: 443.3 kB / 0.5396 GB, free: 11.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3823, allocations: 0 / 0.5396 GB, free: 11.67 MB / 378.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_Generation_LocalGenerationCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationFMU.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_Generation_LocalGenerationCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationFMU.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_Generation_LocalGeneration.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationCalcHelperMain.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_Generation_LocalGenerationCalcHelperMain.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.Generation.LocalGeneration/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGenerationFunctions.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_Generation_LocalGeneration_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_LocalGeneration.fmu] Error 1