Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.282/2.282, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.962e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3935, allocations: 60.23 MB / 391.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.553/8.946, allocations: 2.959 GB / 3.341 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/8.947, allocations: 79.77 kB / 3.341 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.139/11.09, allocations: 383.1 MB / 3.716 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.357e-06/11.09, allocations: 0 / 3.716 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.952e-05/11.09, allocations: 16.78 kB / 3.716 GB, free: 65.34 MB / 0.5105 GB 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.008718/11.09, allocations: 1.743 MB / 3.717 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/11.09, allocations: 8.031 kB / 3.717 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/11.09, allocations: 73.78 kB / 3.717 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/11.1, allocations: 94.27 kB / 3.717 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/11.1, allocations: 374 kB / 3.718 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/11.1, allocations: 32.73 kB / 3.718 GB, free: 63.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/11.1, allocations: 39.94 kB / 3.718 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/11.1, allocations: 0.5245 MB / 3.718 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/11.1, allocations: 0 / 3.718 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/11.1, allocations: 16 kB / 3.718 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/11.1, allocations: 12 kB / 3.718 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/11.1, allocations: 331.8 kB / 3.719 GB, free: 62.29 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.003923/11.1, allocations: 2.422 MB / 3.721 GB, free: 60 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/11.1, allocations: 394.5 kB / 3.722 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/11.1, allocations: 104.6 kB / 3.722 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2014/11.31, allocations: 64.05 MB / 3.784 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/11.31, allocations: 34.56 kB / 3.784 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.938e-06/11.31, allocations: 15.88 kB / 3.784 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003838/11.31, allocations: 0.561 MB / 3.785 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/11.31, allocations: 51.41 kB / 3.785 GB, free: 5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/11.31, allocations: 335.1 kB / 3.785 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/11.31, allocations: 33.7 kB / 3.785 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/11.31, allocations: 234.4 kB / 3.785 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/11.31, allocations: 100.5 kB / 3.785 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/11.31, allocations: 12 kB / 3.785 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001713/11.31, allocations: 350.8 kB / 3.786 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/11.31, allocations: 101.2 kB / 3.786 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/11.31, allocations: 204.5 kB / 3.786 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/11.31, allocations: 116.1 kB / 3.786 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/11.31, allocations: 0 / 3.786 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001506/11.31, allocations: 405.9 kB / 3.787 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000694/11.31, allocations: 1.568 MB / 3.788 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/11.31, allocations: 4 kB / 3.788 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/11.32, allocations: 196.6 kB / 3.788 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/11.32, allocations: 103.9 kB / 3.788 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/11.32, allocations: 0.646 MB / 3.789 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000934/11.32, allocations: 91.45 kB / 3.789 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/11.32, allocations: 19.98 kB / 3.789 GB, free: 300 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/11.32, allocations: 7.938 kB / 3.789 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3919/11.71, allocations: 408.3 kB / 3.79 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/11.71, allocations: 3.625 kB / 3.79 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/11.72, allocations: 150.6 kB / 3.79 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/11.72, allocations: 118.4 kB / 3.79 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000927/11.72, allocations: 0.572 MB / 3.79 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/11.72, allocations: 83.97 kB / 3.79 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/11.72, allocations: 16.62 kB / 3.79 GB, free: 95.25 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "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 () * 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.0003424/11.72, allocations: 135.4 kB / 3.791 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/11.72, allocations: 43.19 kB / 3.791 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/11.72, allocations: 0.9239 MB / 3.792 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/11.72, allocations: 10.12 kB / 3.792 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/11.72, allocations: 3.375 kB / 3.792 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/11.72, allocations: 0 / 3.792 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/11.73, allocations: 0.5966 MB / 3.792 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/11.73, allocations: 0.5938 kB / 3.792 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/11.73, allocations: 80.39 kB / 3.792 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003555/11.73, allocations: 498 kB / 3.793 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/11.73, allocations: 8.75 kB / 3.793 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/11.73, allocations: 0.8512 MB / 3.794 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/11.73, allocations: 0 / 3.794 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/11.74, allocations: 1.05 MB / 3.795 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/11.74, allocations: 157.1 kB / 3.795 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/11.74, allocations: 8.703 kB / 3.795 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/11.74, allocations: 53.5 kB / 3.795 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/11.74, allocations: 33.75 kB / 3.795 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/11.74, allocations: 11.03 kB / 3.795 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007483/11.74, allocations: 314.5 kB / 3.795 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/11.74, allocations: 0 / 3.795 GB, free: 93.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009453/11.75, allocations: 1.412 MB / 3.796 GB, free: 93.89 MB / 0.5261 GB 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 () * 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.02024/11.77, allocations: 3.066 MB / 3.799 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002425/11.77, allocations: 485.9 kB / 3.8 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/11.77, allocations: 0 / 3.8 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/11.77, allocations: 209.6 kB / 3.8 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/11.77, allocations: 189 kB / 3.8 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/11.78, allocations: 1.276 MB / 3.802 GB, free: 92.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/11.78, allocations: 0.8739 MB / 3.802 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001262/11.79, allocations: 194.2 kB / 3.803 GB, free: 92.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/11.79, allocations: 181.4 kB / 3.803 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/11.79, allocations: 0 / 3.803 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/11.9, allocations: 48.46 MB / 3.85 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/11.9, allocations: 195.9 kB / 3.85 GB, free: 90.77 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1022:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1022: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:1022: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:1062:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 2))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1062: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:1062: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:1102:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1102: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:1102: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:1132:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1132: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:1132: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:1218:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 5))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1218: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:1218: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:1435:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 1))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1435: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:1435: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:1475:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 2))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1475: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:1475: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:1515:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 3))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1515: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:1515: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:1545:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 4))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1545: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:1545: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:1631:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_aux._region == ((modelica_integer) 5))) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:1631: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:1631: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:6397:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 2))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:6397: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:6397:16: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 2))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:6415:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:6415: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:6415:24: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:6446:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_phase == ((modelica_integer) 1))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.c:6446: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:6446:26: note: use '=' to turn this equality comparison into an assignment if((_phase == ((modelica_integer) 1))) ^~ = 15 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:218:93: error: use of undeclared identifier '_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263' }res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263) * ((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:344:92: error: use of undeclared identifier '_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263' res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263) * ((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:571:92: error: use of undeclared identifier '_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263' res[0] = (data->simulationInfo->realParameter[40] /* steamTurbineVarEta.Kt PARAM */) * ((_omcQuot_737465616D54757262696E655661724574612E7061727469616C417263) * ((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. : recipe for target 'ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o' failed make: *** [ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1