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/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/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 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(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/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.00122/0.001221, allocations: 104.3 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6056/0.6056, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004003, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2059, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.18/7.386, allocations: 2.946 GB / 3.433 GB, free: 94.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/7.386, allocations: 84.52 kB / 3.433 GB, free: 94.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.331/8.717, allocations: 382.1 MB / 3.806 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/8.717, allocations: 0 / 3.806 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.599e-05/8.717, allocations: 21.72 kB / 3.806 GB, free: 55.07 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.00835/8.726, allocations: 1.779 MB / 3.808 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/8.726, allocations: 15.11 kB / 3.808 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.274e-05/8.726, allocations: 73.19 kB / 3.808 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/8.726, allocations: 96.39 kB / 3.808 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/8.727, allocations: 362.1 kB / 3.808 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/8.727, allocations: 29.06 kB / 3.809 GB, free: 53.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/8.727, allocations: 47.48 kB / 3.809 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/8.728, allocations: 0.5939 MB / 3.809 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/8.728, allocations: 7.344 kB / 3.809 GB, free: 53.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/8.728, allocations: 15.41 kB / 3.809 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/8.728, allocations: 10.06 kB / 3.809 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/8.729, allocations: 496.7 kB / 3.81 GB, free: 53.23 MB / 0.5105 GB 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.002402/8.732, allocations: 2.404 MB / 3.812 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/8.733, allocations: 486.6 kB / 3.812 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1011/8.834, allocations: 63.82 MB / 3.875 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/8.834, allocations: 38.47 kB / 3.875 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 5.169e-06/8.834, allocations: 0 / 3.875 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.004618/8.839, allocations: 1.14 MB / 3.876 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/8.839, allocations: 55.25 kB / 3.876 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/8.839, allocations: 336.6 kB / 3.876 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/8.839, allocations: 29.7 kB / 3.876 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/8.84, allocations: 234.4 kB / 3.877 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/8.84, allocations: 102.8 kB / 3.877 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/8.84, allocations: 8 kB / 3.877 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001461/8.84, allocations: 355.6 kB / 3.877 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/8.84, allocations: 185.5 kB / 3.877 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/8.841, allocations: 290.6 kB / 3.877 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/8.841, allocations: 187.7 kB / 3.878 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/8.841, allocations: 4 kB / 3.878 GB, free: 24.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001258/8.842, allocations: 0.5836 MB / 3.878 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006139/8.843, allocations: 1.576 MB / 3.88 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/8.843, allocations: 3.5 kB / 3.88 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/8.845, allocations: 213.5 kB / 3.88 GB, free: 22.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/8.845, allocations: 101.3 kB / 3.88 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007414/8.846, allocations: 0.6891 MB / 3.881 GB, free: 21.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/8.846, allocations: 92.64 kB / 3.881 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/8.846, allocations: 18.53 kB / 3.881 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/8.846, allocations: 3.094 kB / 3.881 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/8.848, allocations: 0.5779 MB / 3.881 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/8.848, allocations: 7.719 kB / 3.881 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/8.849, allocations: 149.1 kB / 3.882 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/8.85, allocations: 113.2 kB / 3.882 GB, free: 21.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/8.85, allocations: 0.5743 MB / 3.882 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/8.851, allocations: 83.31 kB / 3.882 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/8.851, allocations: 22.2 kB / 3.882 GB, free: 20.96 MB / 0.5261 GB 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.0003496/8.851, allocations: 233.3 kB / 3.883 GB, free: 20.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/8.851, allocations: 47.78 kB / 3.883 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/8.853, allocations: 1.097 MB / 3.884 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/8.853, allocations: 11.81 kB / 3.884 GB, free: 20.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/8.853, allocations: 7.734 kB / 3.884 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/8.853, allocations: 3.844 kB / 3.884 GB, free: 20.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/8.854, allocations: 0.584 MB / 3.884 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/8.854, allocations: 0 / 3.884 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/8.854, allocations: 80.94 kB / 3.884 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/8.855, allocations: 462.8 kB / 3.885 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/8.855, allocations: 4 kB / 3.885 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/8.856, allocations: 0.9037 MB / 3.886 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/8.856, allocations: 0 / 3.886 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/8.858, allocations: 1.302 MB / 3.887 GB, free: 18.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/8.858, allocations: 155.4 kB / 3.887 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/8.858, allocations: 4 kB / 3.887 GB, free: 18.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/8.859, allocations: 63.09 kB / 3.887 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/8.859, allocations: 26.2 kB / 3.887 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/8.859, allocations: 7.344 kB / 3.887 GB, free: 18.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003213/8.859, allocations: 317.1 kB / 3.887 GB, free: 18.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.859, allocations: 4.031 kB / 3.887 GB, free: 18.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008629/8.868, allocations: 1.419 MB / 3.889 GB, free: 17.87 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 () * 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.01524/8.883, allocations: 3.304 MB / 3.892 GB, free: 16.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001971/8.885, allocations: 0.724 MB / 3.893 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/8.885, allocations: 0 / 3.893 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/8.886, allocations: 294.1 kB / 3.893 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/8.887, allocations: 179.4 kB / 3.893 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007749/8.895, allocations: 4.75 MB / 3.898 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/8.895, allocations: 0.8694 MB / 3.899 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004827/8.895, allocations: 176.3 kB / 3.899 GB, free: 27.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/8.896, allocations: 185.1 kB / 3.899 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.944e-06/8.896, allocations: 0 / 3.899 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3698/9.266, allocations: 45.34 MB / 3.943 GB, free: 89.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/9.266, allocations: 222 kB / 3.944 GB, free: 89.48 MB / 0.5417 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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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