Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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.BLDC,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDC",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.0009166/0.0009165, allocations: 171.7 kB / 16.07 MB, free: 5.695 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.215/1.215, allocations: 205.4 MB / 222.2 MB, free: 9.023 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.0006967/0.0006969, allocations: 89.12 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1584/0.1584, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2547, allocations: 56.32 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006479/0.2612, allocations: 7.301 MB / 487 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.2659, allocations: 3.026 MB / 490.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2669, allocations: 47.47 kB / 490.1 MB, free: 2.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000915/0.2678, allocations: 221.1 kB / 490.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.2702, allocations: 0.7598 MB / 491.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.2712, allocations: 277.8 kB / 491.4 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002432/0.2737, allocations: 1.75 MB / 493.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.2756, allocations: 1.254 MB / 494.4 MB, free: 200 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2768, allocations: 0.5029 MB / 494.9 MB, free: 4 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.2782, allocations: 0.6761 MB / 495.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003564/0.2786, allocations: 57.28 kB / 495.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.2804, allocations: 0.6144 MB / 496.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009854/0.2814, allocations: 423.9 kB / 496.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.2829, allocations: 0.5558 MB / 497.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.2855, allocations: 1.652 MB / 498.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2855, allocations: 0 / 498.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2855, allocations: 1.344 kB / 498.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.869e-05/0.2856, allocations: 0 / 498.8 MB, free: 14.42 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003858/0.2895, allocations: 1.339 MB / 0.4884 GB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.2895, allocations: 9.344 kB / 0.4885 GB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004899/0.29, allocations: 169.3 kB / 0.4886 GB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009408/0.291, allocations: 168.5 kB / 0.4888 GB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.2927, allocations: 0.8072 MB / 0.4896 GB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.2929, allocations: 210.3 kB / 0.4898 GB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/0.2931, allocations: 103.3 kB / 0.4899 GB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.296, allocations: 1.463 MB / 0.4913 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.2961, allocations: 10.89 kB / 0.4913 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.2962, allocations: 40.98 kB / 0.4913 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.2963, allocations: 79.12 kB / 0.4914 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.2988, allocations: 1.263 MB / 0.4926 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008055/0.3068, allocations: 5.235 MB / 0.4978 GB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.3085, allocations: 1.029 MB / 0.4988 GB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007942/0.3093, allocations: 0.4975 MB / 0.4993 GB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.3094, allocations: 15.8 kB / 0.4993 GB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3094, allocations: 46.3 kB / 0.4993 GB, free: 5.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 3.276e-06/0.3094, allocations: 5.656 kB / 0.4993 GB, free: 5.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=78): time 0.00663/0.3161, allocations: 3.116 MB / 0.5024 GB, free: 3.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.3162, allocations: 115.4 kB / 0.5025 GB, free: 2.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009479/0.3171, allocations: 0.6797 MB / 0.5031 GB, free: 2.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.3172, allocations: 37.7 kB / 0.5032 GB, free: 2.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.3175, allocations: 486.7 kB / 0.5036 GB, free: 1.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.3178, allocations: 268.2 kB / 0.5039 GB, free: 1.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.3179, allocations: 19.94 kB / 0.5039 GB, free: 1.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.318, allocations: 394.7 kB / 0.5043 GB, free: 1.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007613/0.3188, allocations: 441.8 kB / 0.5047 GB, free: 0.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008743/0.3197, allocations: 0.7165 MB / 0.5054 GB, free: 15.83 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bldcm.rotor.w = bldcm.rotor.w_start (loadInertia.w_start = bldcm.rotor.w_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005471/0.3252, allocations: 2.583 MB / 0.5079 GB, free: 13.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3252, allocations: 4 kB / 0.5079 GB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002207/0.3274, allocations: 1.304 MB / 0.5092 GB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3274, allocations: 11.94 kB / 0.5092 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3275, allocations: 8 kB / 0.5092 GB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.3277, allocations: 94.05 kB / 0.5093 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.3286, allocations: 223.7 kB / 0.5095 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.3297, allocations: 1.343 MB / 0.5108 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.3305, allocations: 87.77 kB / 0.5109 GB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.3306, allocations: 44.05 kB / 0.511 GB, free: 9.84 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: bldcm.rotor.w = bldcm.rotor.w_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006933/0.3313, allocations: 425.2 kB / 0.5114 GB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.3315, allocations: 79.06 kB / 0.5114 GB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.3333, allocations: 0.9823 MB / 0.5124 GB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.3333, allocations: 16 kB / 0.5124 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3333, allocations: 4 kB / 0.5124 GB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3333, allocations: 3.984 kB / 0.5124 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/0.3371, allocations: 2.296 MB / 0.5147 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3371, allocations: 0 / 0.5147 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.3378, allocations: 139.8 kB / 0.5148 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.965e-05/0.3379, allocations: 24.84 kB / 0.5148 GB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.666e-05/0.338, allocations: 16 kB / 0.5148 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009235/0.3389, allocations: 1.292 MB / 0.5161 GB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.3389, allocations: 8.125 kB / 0.5161 GB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.3413, allocations: 1.653 MB / 0.5177 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.3417, allocations: 248 kB / 0.518 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.3419, allocations: 23.94 kB / 0.518 GB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.3424, allocations: 51.94 kB / 0.518 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3426, allocations: 60.48 kB / 0.5181 GB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.3427, allocations: 19.98 kB / 0.5181 GB, free: 2.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.3433, allocations: 483 kB / 0.5186 GB, free: 1.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3433, allocations: 0 / 0.5186 GB, free: 1.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001146/0.3445, allocations: 252 kB / 0.5188 GB, free: 1.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (efficiency.pav,efficiency.qav,bldcm.motor.i_s[1],bldcm.motor.i_s[2],bldcm.motor.i_s[3],loadInertia.w,frictTorq.phi) * Number of discrete variables: 7 (system.initime,bldcm.inverter.modulator.gates[1],bldcm.inverter.modulator.gates[2],bldcm.inverter.modulator.gates[3],bldcm.inverter.modulator.gates[4],bldcm.inverter.modulator.gates[5],bldcm.inverter.modulator.gates[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 1 * 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.002892/0.3474, allocations: 2.268 MB / 0.521 GB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.3493, allocations: 1.238 MB / 0.5222 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3493, allocations: 0 / 0.5222 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008413/0.3502, allocations: 0.6154 MB / 0.5228 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3514, allocations: 201 kB / 0.523 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3621, allocations: 6.95 MB / 0.5298 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/0.3629, allocations: 1.161 MB / 0.531 GB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.3634, allocations: 347.3 kB / 0.5313 GB, free: 4.461 MB / 362.7 MB Notification: Performance of SimCode: time 4.9e-07/0.3634, allocations: 0 / 0.5313 GB, free: 4.461 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_AC1ph_DC_Drives_BLDCCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCFMU.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_BLDCCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCFMU.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_BLDC.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCCalcHelperMain.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_BLDCCalcHelperMain.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.BLDC/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDCFunctions.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_AC1ph_DC_Drives_BLDC_FMU.makefile:95: PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Drives_BLDC.fmu] Error 1