Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.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.TurboGroupGenerator,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator",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.001559/0.001562, allocations: 185.9 kB / 15.77 MB, free: 5.988 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.953/1.953, allocations: 205.4 MB / 221.9 MB, free: 13.79 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.001129/0.001129, allocations: 90.86 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2595/0.2595, allocations: 38.05 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.000485, allocations: 16 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 56.33 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01872/0.1291, allocations: 11.22 MB / 490.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.1462, allocations: 7.172 MB / 497.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.1486, allocations: 99.38 kB / 497.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04203/0.1907, allocations: 14.94 MB / 0.5006 GB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.1946, allocations: 0.8022 MB / 0.5013 GB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.1978, allocations: 0.6587 MB / 0.502 GB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.2013, allocations: 1.37 MB / 0.5033 GB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.2054, allocations: 1.744 MB / 0.505 GB, free: 11.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.2075, allocations: 0.7357 MB / 0.5057 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.2095, allocations: 0.794 MB / 0.5065 GB, free: 10.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.21, allocations: 92 kB / 0.5066 GB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.2113, allocations: 351.6 kB / 0.5069 GB, free: 9.836 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.2124, allocations: 0.6429 MB / 0.5076 GB, free: 9.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.2132, allocations: 400.7 kB / 0.5079 GB, free: 8.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004467/0.2177, allocations: 2.462 MB / 0.5104 GB, free: 6.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2177, allocations: 0 / 0.5104 GB, free: 6.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.687e-05/0.2177, allocations: 3.984 kB / 0.5104 GB, free: 6.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.2179, allocations: 0 / 0.5104 GB, free: 6.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.007338/0.2252, allocations: 1.981 MB / 0.5123 GB, free: 4.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.2253, allocations: 8.031 kB / 0.5123 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007684/0.2261, allocations: 227.5 kB / 0.5125 GB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.2278, allocations: 257.5 kB / 0.5128 GB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/0.2335, allocations: 1.582 MB / 0.5143 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.2338, allocations: 118.8 kB / 0.5144 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008086/0.2346, allocations: 187.9 kB / 0.5146 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3022/0.5368, allocations: 1.865 MB / 0.5164 GB, free: 53.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.537, allocations: 9.062 kB / 0.5164 GB, free: 53.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.5373, allocations: 61.42 kB / 0.5165 GB, free: 53.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004795/0.5378, allocations: 98.16 kB / 0.5166 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00592/0.5438, allocations: 1.605 MB / 0.5181 GB, free: 52.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/0.5613, allocations: 6.583 MB / 0.5246 GB, free: 49.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003495/0.5648, allocations: 1.476 MB / 0.526 GB, free: 48.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.565, allocations: 13.55 kB / 0.526 GB, free: 48.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.5673, allocations: 0.8035 MB / 0.5268 GB, free: 47.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.578e-06/0.5673, allocations: 0 / 0.5268 GB, free: 47.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.01928/0.5866, allocations: 5.578 MB / 0.5323 GB, free: 45.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5868, allocations: 256.3 kB / 0.5325 GB, free: 44.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.5892, allocations: 1.129 MB / 0.5336 GB, free: 44.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003288/0.5896, allocations: 52.58 kB / 0.5337 GB, free: 44.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/0.5903, allocations: 0.729 MB / 0.5344 GB, free: 43.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/0.5909, allocations: 468.1 kB / 0.5348 GB, free: 43.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.591, allocations: 30.88 kB / 0.5348 GB, free: 43.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5912, allocations: 380.6 kB / 0.5352 GB, free: 42.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.5931, allocations: 0.6623 MB / 0.5359 GB, free: 42.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.5953, allocations: 1.033 MB / 0.5369 GB, free: 41.68 MB / 362.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.01882/0.6142, allocations: 5.707 MB / 0.5424 GB, free: 38.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.6142, allocations: 4 kB / 0.5424 GB, free: 38.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007437/0.6217, allocations: 2.68 MB / 0.5451 GB, free: 35.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008021/0.6225, allocations: 3.862 MB / 0.5488 GB, free: 31.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006355/0.6289, allocations: 2.244 MB / 0.551 GB, free: 28.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.6325, allocations: 0.6415 MB / 0.5516 GB, free: 28.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/0.6372, allocations: 0.6726 MB / 0.5523 GB, free: 27.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/0.6583, allocations: 17.1 MB / 0.569 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.6603, allocations: 96.3 kB / 0.5691 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.6605, allocations: 64.09 kB / 0.5692 GB, free: 9.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6606, allocations: 8 kB / 0.5692 GB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00677/0.6673, allocations: 2.544 MB / 0.5716 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005969/0.6734, allocations: 2.177 MB / 0.5738 GB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.6765, allocations: 0.6144 MB / 0.5744 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.6795, allocations: 411.4 kB / 0.5748 GB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01992/0.6995, allocations: 13.97 MB / 0.5884 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.7009, allocations: 75.91 kB / 0.5885 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.7011, allocations: 67.98 kB / 0.5885 GB, free: 3.922 MB / 378.7 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization sytem: $DER.turboGrpGen.turboGroup.genRotor.w = 0.0 $DER.turboGrpGen.turboGroup.aux1.w = 0.0 turboGrpGen.turboGroup.turbine1.a = turboGrpGen.turboGroup.turbine2.a $DER.turboGrpGen.turboGroup.aux2.w = 0.0 $DER.turboGrpGen.turboGroup.turbine3.w = 0.0 $DER.turboGrpGen.turboGroup.turbine2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayGrd.cnt,relayGrd.cnt,$whenCondition2,switchGrd.control[1],$PRE.switchGrd.t0,switchGrd.t0,$PRE.switchGrd.open,switchGrd.open,$PRE.switchGrd.closed,switchGrd.closed,$PRE.relayGrd.y[1],relayGrd.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 175 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 5,(1,100.0%) 2,(2,100.0%) 1,(2,100.0%) 1,(1,100.0%) 7,(1,100.0%) 3} * Non-linear torn systems: 1 {2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.7028, allocations: 0.6639 MB / 0.5892 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.7032, allocations: 142.2 kB / 0.5893 GB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.7082, allocations: 1.826 MB / 0.5911 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-05/0.7083, allocations: 12 kB / 0.5911 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7083, allocations: 4 kB / 0.5911 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7084, allocations: 3.984 kB / 0.5911 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7184, allocations: 3.804 MB / 0.5948 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.7184, allocations: 96 / 0.5948 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003965/0.7224, allocations: 395.6 kB / 0.5952 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.7232, allocations: 141.4 kB / 0.5954 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.7235, allocations: 47.97 kB / 0.5954 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/0.7278, allocations: 3.153 MB / 0.5985 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7278, allocations: 0 / 0.5985 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007175/0.735, allocations: 2.724 MB / 0.6011 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.7362, allocations: 343.1 kB / 0.6015 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.7366, allocations: 47.98 kB / 0.6015 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.738, allocations: 67.94 kB / 0.6016 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.7385, allocations: 88.81 kB / 0.6017 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.7386, allocations: 39.98 kB / 0.6017 GB, free: 5.867 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002003/0.7406, allocations: 0.776 MB / 0.6025 GB, free: 5.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7407, allocations: 0 / 0.6025 GB, free: 5.086 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003956/0.7446, allocations: 0.7466 MB / 0.6032 GB, free: 4.344 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 25 (turboGrpGen.generator.phi_el,turboGrpGen.generator.i_s[1],turboGrpGen.generator.i_s[2],turboGrpGen.generator.i_s[3],turboGrpGen.generator.i_rd[1],turboGrpGen.generator.i_rd[2],turboGrpGen.generator.i_rq[1],turboGrpGen.generator.i_rq[2],turboGrpGen.exciter.voltageReg.x_scaled[1],turboGrpGen.turboGroup.genRotor.w,turboGrpGen.turboGroup.aux1.phi,turboGrpGen.turboGroup.aux1.w,turboGrpGen.turboGroup.turbine1.phi,turboGrpGen.turboGroup.turbine1.w,turboGrpGen.turboGroup.turbine2.phi,turboGrpGen.turboGroup.turbine2.w,turboGrpGen.turboGroup.turbine3.phi,turboGrpGen.turboGroup.turbine3.w,turboGrpGen.turboGroup.turbine4.phi,turboGrpGen.turboGroup.turbine4.w,turboGrpGen.turboGroup.aux2.phi,turboGrpGen.turboGroup.aux2.w,line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 9 (switchGrd.control[1],$whenCondition2,$whenCondition1,switchGrd.t0,switchGrd.open,switchGrd.closed,relayGrd.y[1],relayGrd.cnt,system.initime) * Number of discrete states: 5 (relayGrd.y[1],relayGrd.cnt,$whenCondition1,switchGrd.open,switchGrd.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008034/0.7527, allocations: 3.831 MB / 0.6069 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01548/0.7683, allocations: 5.258 MB / 0.6121 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.7683, allocations: 1.875 kB / 0.6121 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003316/0.7716, allocations: 1.078 MB / 0.6131 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.7741, allocations: 307.6 kB / 0.6134 GB, free: 9.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/0.7937, allocations: 13.3 MB / 0.6264 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/0.7957, allocations: 1.539 MB / 0.6279 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.7975, allocations: 0.675 MB / 0.6286 GB, free: 9.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7975, allocations: 0 / 0.6286 GB, free: 9.703 MB / 426.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -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/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.o OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.cpp In file included from OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.cpp:35: In file included from ./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorFMU.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) { ^ 1 warning generated. clang++ -shared -o PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator.so OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.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 OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgetri(BaseArray&, BaseArray&, Modelica_Math_Matrices_LAPACK_dgetriType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator/./OMCppPowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGeneratorFunctions.cpp:142: undefined reference to `dgetri_' clang: error: linker command failed with exit code 1 (use -v to see invocation) PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator_FMU.makefile:93: recipe for target 'PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator.fmu' failed make: *** [PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_TurboGroupGenerator.fmu] Error 1