Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 93.52 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 181.3 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.4 MB / 223.3 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4656/0.4656, allocations: 48.77 MB / 320.4 MB, free: 3.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008886/0.0008887, allocations: 12 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1619, allocations: 60.26 MB / 451.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.3208/0.4828, allocations: 29.88 MB / 481.4 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.511, allocations: 15.19 MB / 496.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008296/0.5118, allocations: 13.12 kB / 496.6 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009078/0.5128, allocations: 146.5 kB / 496.7 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.5138, allocations: 246.5 kB / 497 MB, free: 21.3 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:13459:9-13461:26:writable] Warning: Conditional component ‘partialArc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.02981/0.5437, allocations: 5.407 MB / 0.4906 GB, free: 18.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.5451, allocations: 488.6 kB / 0.4911 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/0.5456, allocations: 213.5 kB / 0.4913 GB, free: 18.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008375/0.554, allocations: 3.038 MB / 0.4942 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02751/0.5816, allocations: 10.9 MB / 0.5049 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.5818, allocations: 24 kB / 0.5049 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02687/0.6087, allocations: 8.931 MB / 0.5136 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.6089, allocations: 71.69 kB / 0.5137 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002676/0.6092, allocations: 113.5 kB / 0.5138 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.62, allocations: 3.585 MB / 0.5173 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6201, allocations: 0 / 0.5173 GB, free: 15.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6201, allocations: 0 / 0.5173 GB, free: 15.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.6202, allocations: 0 / 0.5173 GB, free: 15.13 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.006102/0.6263, allocations: 1.361 MB / 0.5186 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.6264, allocations: 16.02 kB / 0.5186 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.6265, allocations: 83.08 kB / 0.5187 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.6272, allocations: 87.31 kB / 0.5188 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007537/0.628, allocations: 350.5 kB / 0.5191 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.6281, allocations: 29 kB / 0.5192 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.6282, allocations: 36 kB / 0.5192 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.6304, allocations: 0.5564 MB / 0.5197 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.6304, allocations: 1.25 kB / 0.5197 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.6305, allocations: 16 kB / 0.5198 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.6305, allocations: 12 kB / 0.5198 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.6329, allocations: 0.4903 MB / 0.5202 GB, free: 11.96 MB / 398.1 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.004256/0.6372, allocations: 2.41 MB / 0.5226 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.6397, allocations: 482.6 kB / 0.5231 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2342/0.8739, allocations: 64.68 MB / 0.5862 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.8741, allocations: 34.56 kB / 0.5863 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 6.823e-06/0.8741, allocations: 3.938 kB / 0.5863 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.008105/0.8822, allocations: 1.137 MB / 0.5874 GB, free: 15.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.8823, allocations: 55.41 kB / 0.5874 GB, free: 15.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.8831, allocations: 382 kB / 0.5878 GB, free: 14.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.8831, allocations: 33.7 kB / 0.5878 GB, free: 14.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.8834, allocations: 236.1 kB / 0.588 GB, free: 14.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.8836, allocations: 106.5 kB / 0.5881 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.8836, allocations: 8 kB / 0.5882 GB, free: 14.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.8838, allocations: 350.8 kB / 0.5885 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008822/0.8847, allocations: 189 kB / 0.5887 GB, free: 13.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.8857, allocations: 288.6 kB / 0.5889 GB, free: 13.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.8867, allocations: 193.2 kB / 0.5891 GB, free: 13.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.8867, allocations: 0 / 0.5891 GB, free: 13.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002741/0.8894, allocations: 0.596 MB / 0.5897 GB, free: 12.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008064/0.8903, allocations: 1.58 MB / 0.5913 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.8903, allocations: 4 kB / 0.5913 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.8931, allocations: 224.6 kB / 0.5915 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.8938, allocations: 99.81 kB / 0.5916 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.8951, allocations: 0.6927 MB / 0.5922 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.896, allocations: 87.55 kB / 0.5923 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.896, allocations: 23.95 kB / 0.5923 GB, free: 9.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.8961, allocations: 4 kB / 0.5924 GB, free: 9.992 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003703/0.8998, allocations: 0.5787 MB / 0.5929 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.8998, allocations: 4 kB / 0.5929 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.9019, allocations: 136.8 kB / 0.5931 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.9027, allocations: 115.8 kB / 0.5932 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006999/0.9035, allocations: 0.5758 MB / 0.5937 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.9043, allocations: 87.61 kB / 0.5938 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.9044, allocations: 18 kB / 0.5938 GB, free: 8.453 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (steamTurbineVarEta.steamState_in.phase,valveHP.fluidState.phase,steamTurbineVarEta.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.9049, allocations: 240.9 kB / 0.5941 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.905, allocations: 47.44 kB / 0.5941 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/0.9085, allocations: 1.104 MB / 0.5952 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.9086, allocations: 7.984 kB / 0.5952 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.9086, allocations: 0 / 0.5952 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.9086, allocations: 0 / 0.5952 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.9098, allocations: 0.592 MB / 0.5958 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.9098, allocations: 4 kB / 0.5958 GB, free: 6.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.9104, allocations: 71.94 kB / 0.5958 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/0.9131, allocations: 465.3 kB / 0.5963 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.9131, allocations: 15.94 kB / 0.5963 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.9147, allocations: 0.8931 MB / 0.5972 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.9147, allocations: 0 / 0.5972 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/0.9187, allocations: 1.306 MB / 0.5984 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.919, allocations: 152.2 kB / 0.5986 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9192, allocations: 18.11 kB / 0.5986 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.9199, allocations: 51.95 kB / 0.5987 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.92, allocations: 27.95 kB / 0.5987 GB, free: 3.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.92, allocations: 8 kB / 0.5987 GB, free: 3.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005733/0.9206, allocations: 319 kB / 0.599 GB, free: 3.027 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9207, allocations: 3.938 kB / 0.599 GB, free: 3.023 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005877/0.9265, allocations: 1.397 MB / 0.6004 GB, free: 1.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01426/0.9409, allocations: 2.934 MB / 0.6032 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.9445, allocations: 0.7196 MB / 0.6039 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9445, allocations: 3.938 kB / 0.6039 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.9457, allocations: 290.8 kB / 0.6042 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.9476, allocations: 176.4 kB / 0.6044 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/0.9555, allocations: 4.674 MB / 0.6089 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.9561, allocations: 0.8679 MB / 0.6098 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007687/0.9569, allocations: 172.6 kB / 0.61 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.9573, allocations: 191.4 kB / 0.6101 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.9573, allocations: 0 / 0.6101 GB, free: 7.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4334/1.391, allocations: 58.17 MB / 0.6669 GB, free: 145.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.391, allocations: 228 kB / 0.6672 GB, free: 145.4 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.c:7: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:2: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:924:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:924:20: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 1))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:924:20: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 1))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:969:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 2))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:969:22: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 2))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:969:22: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 2))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1014:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1014:24: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 3))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1014:24: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 3))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1041:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1041:26: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 4))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1041:26: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 4))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1130:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 5))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1130:28: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 5))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1130:28: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 5))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1340:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1340:20: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 1))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1340:20: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 1))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1385:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 2))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1385:22: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 2))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1385:22: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 2))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1430:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1430:24: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 3))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1430:24: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 3))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1457:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1457:26: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 4))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1457:26: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 4))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1546:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 5))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1546:28: note: remove extraneous parentheses around the comparison to silence this warning if((_aux._region == ((modelica_integer) 5))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1546:28: note: use '=' to turn this equality comparison into an assignment if((_aux._region == ((modelica_integer) 5))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33583:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 2))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33583:16: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 2))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33583:16: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 2))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33601:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33601:24: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 1))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33601:24: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33632:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33632:26: note: remove extraneous parentheses around the comparison to silence this warning if((_phase == ((modelica_integer) 1))) ~ ^ ~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:33632:26: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = 15 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_records.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_records.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.c:2: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:2: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:234:93: error: use of undeclared identifier 'steamTurbineVarEta' }res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (data->localData[0]->realVars[2] /* $cse1 variable */))) - data->localData[0]->realVars[79] /* valveHP.w variable */; ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:360:92: error: use of undeclared identifier 'steamTurbineVarEta' res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))) - data->localData[0]->realVars[79] /* valveHP.w variable */; ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:587:92: error: use of undeclared identifier 'steamTurbineVarEta' res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))) - data->localData[0]->realVars[79] /* valveHP.w variable */; ^ 2 warnings and 3 errors generated. make: *** [: ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1