Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.PowerAngle,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngle",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.0009314/0.0009314, allocations: 171.5 kB / 16.07 MB, free: 5.602 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.258/1.258, allocations: 205.4 MB / 222.2 MB, free: 9.012 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.0008175/0.0008176, allocations: 88.81 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1673/0.1673, allocations: 38.07 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2431, allocations: 56.33 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007573/0.2507, allocations: 7.808 MB / 487.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.2553, allocations: 3.202 MB / 490.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.256, allocations: 47.19 kB / 490.8 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.2566, allocations: 217 kB / 491 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.2583, allocations: 0.704 MB / 491.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.2593, allocations: 386.2 kB / 492.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.2613, allocations: 1.592 MB / 493.7 MB, free: 424 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.2628, allocations: 1.037 MB / 494.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.2636, allocations: 456.8 kB / 495.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009168/0.2645, allocations: 0.6026 MB / 495.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.2646, allocations: 36.38 kB / 495.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.2656, allocations: 447.4 kB / 496.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.2661, allocations: 422.4 kB / 496.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.2666, allocations: 460.6 kB / 497.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.268, allocations: 1.066 MB / 498.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.268, allocations: 4.594 kB / 498.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.268, allocations: 1 kB / 498.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.268, allocations: 0 / 498.2 MB, free: 14.75 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001994/0.27, allocations: 1.077 MB / 499.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2701, allocations: 8.938 kB / 499.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.2702, allocations: 140.4 kB / 499.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.2714, allocations: 213.7 kB / 499.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.2727, allocations: 0.6819 MB / 0.4886 GB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.2727, allocations: 66.3 kB / 0.4886 GB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.2729, allocations: 101.1 kB / 0.4887 GB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.2747, allocations: 1.115 MB / 0.4898 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.2747, allocations: 2.156 kB / 0.4898 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.2748, allocations: 35.55 kB / 0.4898 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.275, allocations: 65.91 kB / 0.4899 GB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.2764, allocations: 0.8879 MB / 0.4908 GB, free: 11.94 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005297/0.2817, allocations: 4.089 MB / 0.4948 GB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.2823, allocations: 430.4 kB / 0.4952 GB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.2827, allocations: 266.2 kB / 0.4954 GB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.2827, allocations: 3.75 kB / 0.4954 GB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2828, allocations: 49.33 kB / 0.4955 GB, free: 8.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.2828, allocations: 0 / 0.4955 GB, free: 8.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.004185/0.287, allocations: 1.986 MB / 0.4974 GB, free: 6.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.287, allocations: 86.33 kB / 0.4975 GB, free: 6.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.2877, allocations: 0.5653 MB / 0.4981 GB, free: 6.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2878, allocations: 32.45 kB / 0.4981 GB, free: 6.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.2881, allocations: 477.4 kB / 0.4985 GB, free: 6.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2883, allocations: 186 kB / 0.4987 GB, free: 5.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.2883, allocations: 14.75 kB / 0.4987 GB, free: 5.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2885, allocations: 384.6 kB / 0.4991 GB, free: 5.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.2889, allocations: 266 kB / 0.4993 GB, free: 5.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.2894, allocations: 0.5026 MB / 0.4998 GB, free: 4.969 MB / 330.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.293, allocations: 1.727 MB / 0.5015 GB, free: 3.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.293, allocations: 4 kB / 0.5015 GB, free: 3.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00246/0.2954, allocations: 1.166 MB / 0.5027 GB, free: 2.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2955, allocations: 8 kB / 0.5027 GB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001535/0.297, allocations: 0.8319 MB / 0.5035 GB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.2976, allocations: 215.2 kB / 0.5037 GB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.2982, allocations: 163.8 kB / 0.5039 GB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.3036, allocations: 6.25 MB / 0.51 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.3043, allocations: 43.88 kB / 0.51 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.3043, allocations: 32 kB / 0.51 GB, free: 10.44 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: infBus.V = 20000.0 * infBus.v0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * 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 initialization (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005732/0.3049, allocations: 317.4 kB / 0.5103 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.305, allocations: 63.39 kB / 0.5104 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009851/0.306, allocations: 0.6434 MB / 0.511 GB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.306, allocations: 4 kB / 0.511 GB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.306, allocations: 4 kB / 0.511 GB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.306, allocations: 3.984 kB / 0.511 GB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.3084, allocations: 1.526 MB / 0.5125 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3084, allocations: 0 / 0.5125 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.309, allocations: 128 kB / 0.5126 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.309, allocations: 8 kB / 0.5126 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3091, allocations: 15.98 kB / 0.5127 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.3091, allocations: 8 kB / 0.5127 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3091, allocations: 11.94 kB / 0.5127 GB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3103, allocations: 0.9357 MB / 0.5136 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.3105, allocations: 192.3 kB / 0.5138 GB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.3106, allocations: 11.98 kB / 0.5138 GB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.3109, allocations: 23.92 kB / 0.5138 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.311, allocations: 40.33 kB / 0.5139 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.311, allocations: 16 kB / 0.5139 GB, free: 6.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004388/0.3115, allocations: 407 kB / 0.5143 GB, free: 5.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3115, allocations: 0 / 0.5143 GB, free: 5.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008623/0.3124, allocations: 236 kB / 0.5145 GB, free: 5.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (55): * Single equations (assignments): 54 * 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.00159/0.314, allocations: 1.527 MB / 0.516 GB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.3156, allocations: 1.147 MB / 0.5171 GB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3157, allocations: 0 / 0.5171 GB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.316, allocations: 266.3 kB / 0.5173 GB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.3169, allocations: 136.8 kB / 0.5175 GB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/0.3248, allocations: 5.513 MB / 0.5229 GB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.3255, allocations: 1.082 MB / 0.5239 GB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.326, allocations: 327.3 kB / 0.5242 GB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.326, allocations: 4 kB / 0.5242 GB, free: 11.41 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_Generation_PowerAngleCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleFMU.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_PowerAngleCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleFMU.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_PowerAngle.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleCalcHelperMain.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_PowerAngleCalcHelperMain.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.PowerAngle/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngleFunctions.cpp:127: 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_PowerAngle_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu] Error 1