Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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.BLDCcharSpeed,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed",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.0008851/0.0008851, allocations: 171.9 kB / 16.07 MB, free: 5.727 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.281/1.281, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.0007487/0.0007491, allocations: 78.44 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1609/0.1609, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2646, allocations: 56.33 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.005775/0.2704, allocations: 6.426 MB / 486.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.2741, allocations: 2.779 MB / 488.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.2747, allocations: 44.84 kB / 489 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.2753, allocations: 218.2 kB / 489.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.2766, allocations: 0.5746 MB / 489.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.2774, allocations: 264.2 kB / 490 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.279, allocations: 1.337 MB / 491.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.2801, allocations: 0.833 MB / 492.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006057/0.2807, allocations: 394.8 kB / 492.6 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.2814, allocations: 0.4978 MB / 493.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.2815, allocations: 40.44 kB / 493.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.282, allocations: 265.9 kB / 493.4 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.2823, allocations: 286.8 kB / 493.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.2827, allocations: 405.9 kB / 494.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.2841, allocations: 1.054 MB / 495.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2841, allocations: 0 / 495.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2841, allocations: 0 / 495.1 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.2841, allocations: 5.375 kB / 495.1 MB, free: 500 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001881/0.286, allocations: 0.9971 MB / 496.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2861, allocations: 9.938 kB / 496.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.2863, allocations: 113 kB / 496.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.2869, allocations: 134 kB / 496.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.288, allocations: 0.6722 MB / 497 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2882, allocations: 82.47 kB / 497.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2883, allocations: 68.03 kB / 497.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.2899, allocations: 0.956 MB / 498.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.29, allocations: 6.094 kB / 498.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.2901, allocations: 26.16 kB / 498.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.2902, allocations: 59.41 kB / 498.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.2915, allocations: 0.7739 MB / 499 MB, free: 14.23 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.005218/0.2968, allocations: 3.883 MB / 0.4911 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.2976, allocations: 0.5137 MB / 0.4916 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.298, allocations: 251.9 kB / 0.4918 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.2981, allocations: 4 kB / 0.4919 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.2981, allocations: 45.53 kB / 0.4919 GB, free: 10.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.475e-06/0.2981, allocations: 0 / 0.4919 GB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=55): time 0.01066/0.3088, allocations: 3.782 MB / 0.4956 GB, free: 7.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.3089, allocations: 113.1 kB / 0.4957 GB, free: 7.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.3096, allocations: 0.5199 MB / 0.4962 GB, free: 7.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3097, allocations: 36.05 kB / 0.4962 GB, free: 7.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.31, allocations: 404.5 kB / 0.4966 GB, free: 7.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.3101, allocations: 185.2 kB / 0.4968 GB, free: 6.961 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3102, allocations: 14.62 kB / 0.4968 GB, free: 6.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3103, allocations: 370.6 kB / 0.4972 GB, free: 6.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.3108, allocations: 280.8 kB / 0.4974 GB, free: 6.453 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.3115, allocations: 0.5042 MB / 0.4979 GB, free: 6.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.3127, allocations: 0.8508 MB / 0.4988 GB, free: 5.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3127, allocations: 1.375 kB / 0.4988 GB, free: 5.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003195/0.3159, allocations: 1.456 MB / 0.5002 GB, free: 4.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.3159, allocations: 11.83 kB / 0.5002 GB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3159, allocations: 7 kB / 0.5002 GB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.3175, allocations: 451.4 kB / 0.5006 GB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.318, allocations: 115.4 kB / 0.5007 GB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/0.3276, allocations: 8.458 MB / 0.509 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.3283, allocations: 35.89 kB / 0.509 GB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.3284, allocations: 35.94 kB / 0.5091 GB, free: 11.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 57 * 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,(2,100.0%) 9,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005038/0.3289, allocations: 309.6 kB / 0.5094 GB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.329, allocations: 55.34 kB / 0.5094 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.3319, allocations: 1.318 MB / 0.5107 GB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.332, allocations: 4 kB / 0.5107 GB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.332, allocations: 4 kB / 0.5107 GB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.332, allocations: 4 kB / 0.5107 GB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.3363, allocations: 2.253 MB / 0.5129 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3363, allocations: 0 / 0.5129 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.3366, allocations: 59.91 kB / 0.513 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.338, allocations: 443.2 kB / 0.5134 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.338, allocations: 19.98 kB / 0.5134 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008786/0.3468, allocations: 8.184 MB / 0.5214 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3469, allocations: 3.938 kB / 0.5214 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.3505, allocations: 1.848 MB / 0.5232 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3509, allocations: 200.2 kB / 0.5234 GB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.351, allocations: 12 kB / 0.5234 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.3514, allocations: 19.98 kB / 0.5234 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3517, allocations: 64.48 kB / 0.5235 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.3517, allocations: 16 kB / 0.5235 GB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005403/0.3523, allocations: 362.8 kB / 0.5239 GB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3523, allocations: 0 / 0.5239 GB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00107/0.3534, allocations: 252 kB / 0.5241 GB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (31): * Single equations (assignments): 26 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 9,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.004024/0.3574, allocations: 2.431 MB / 0.5265 GB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.3596, allocations: 1.334 MB / 0.5278 GB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3596, allocations: 8.312 kB / 0.5278 GB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.361, allocations: 0.9666 MB / 0.5287 GB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3622, allocations: 174.9 kB / 0.5289 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/0.3718, allocations: 5.339 MB / 0.5341 GB, free: 480 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.3726, allocations: 1.052 MB / 0.5351 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.3729, allocations: 267.3 kB / 0.5354 GB, free: 15.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.373, allocations: 0 / 0.5354 GB, free: 15.12 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_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedFMU.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_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedFMU.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_AC1ph_DC_Drives_BLDCcharSpeed.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.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/AC1ph_DC" -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_AC1ph_DC_Drives_BLDCcharSpeedCalcHelperMain.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.AC1ph_DC.Drives.BLDCcharSpeed/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeedFunctions.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_AC1ph_DC_Drives_BLDCcharSpeed_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCcharSpeed.fmu] Error 1