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.001804/0.001804, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008303/0.0008304, allocations: 82.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2913/0.2913, allocations: 48.78 MB / 364.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.971e-05, allocations: 7.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.507/7.637, allocations: 2.946 GB / 3.427 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/7.637, allocations: 79.84 kB / 3.427 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/9.327, allocations: 381.1 MB / 3.799 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.316e-06/9.327, allocations: 0 / 3.799 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.585e-05/9.327, allocations: 22.8 kB / 3.799 GB, free: 68.01 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.009274/9.336, allocations: 1.72 MB / 3.801 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/9.336, allocations: 11.88 kB / 3.801 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/9.336, allocations: 73.78 kB / 3.801 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/9.337, allocations: 93.11 kB / 3.801 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/9.338, allocations: 355.8 kB / 3.801 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/9.338, allocations: 36.48 kB / 3.802 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/9.338, allocations: 39.06 kB / 3.802 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/9.339, allocations: 0.5223 MB / 3.802 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/9.339, allocations: 15.52 kB / 3.802 GB, free: 66.26 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/9.339, allocations: 11.91 kB / 3.802 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/9.339, allocations: 11.19 kB / 3.802 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/9.339, allocations: 343 kB / 3.802 GB, free: 66.14 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.002747/9.342, allocations: 2.415 MB / 3.805 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/9.343, allocations: 401 kB / 3.805 GB, free: 64.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/9.343, allocations: 100.3 kB / 3.805 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1169/9.46, allocations: 64.08 MB / 3.868 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/9.46, allocations: 34.56 kB / 3.868 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 4.138e-06/9.46, allocations: 0 / 3.868 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.002906/9.463, allocations: 0.5666 MB / 3.868 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/9.463, allocations: 55.06 kB / 3.868 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/9.464, allocations: 337.1 kB / 3.869 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/9.464, allocations: 33.64 kB / 3.869 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/9.464, allocations: 236.3 kB / 3.869 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/9.464, allocations: 100.1 kB / 3.869 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/9.464, allocations: 8 kB / 3.869 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000152/9.465, allocations: 350 kB / 3.87 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/9.465, allocations: 104.9 kB / 3.87 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/9.465, allocations: 202.9 kB / 3.87 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/9.465, allocations: 111.8 kB / 3.87 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/9.465, allocations: 4 kB / 3.87 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009638/9.466, allocations: 415 kB / 3.87 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006255/9.467, allocations: 1.576 MB / 3.872 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/9.467, allocations: 4 kB / 3.872 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/9.469, allocations: 193.1 kB / 3.872 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/9.469, allocations: 106.7 kB / 3.872 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006629/9.47, allocations: 0.6409 MB / 3.873 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/9.47, allocations: 94.45 kB / 3.873 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/9.47, allocations: 19.8 kB / 3.873 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/9.47, allocations: 4 kB / 3.873 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001444/9.472, allocations: 430.8 kB / 3.873 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/9.472, allocations: 4 kB / 3.873 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/9.473, allocations: 144.2 kB / 3.873 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/9.473, allocations: 123.8 kB / 3.874 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/9.474, allocations: 0.5757 MB / 3.874 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/9.474, allocations: 79.61 kB / 3.874 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/9.474, allocations: 20 kB / 3.874 GB, free: 5.555 MB / 0.5105 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.0001895/9.475, allocations: 132.8 kB / 3.874 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/9.475, allocations: 43.53 kB / 3.874 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/9.476, allocations: 0.9223 MB / 3.875 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/9.476, allocations: 11.94 kB / 3.875 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/9.476, allocations: 0 / 3.875 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/9.476, allocations: 4 kB / 3.875 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/9.477, allocations: 0.5886 MB / 3.876 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/9.477, allocations: 0 / 3.876 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/9.477, allocations: 71.94 kB / 3.876 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/9.478, allocations: 0.4917 MB / 3.876 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/9.478, allocations: 15.98 kB / 3.876 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005905/9.479, allocations: 0.8532 MB / 3.877 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/9.479, allocations: 0 / 3.877 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/9.48, allocations: 1.049 MB / 3.878 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/9.48, allocations: 160.2 kB / 3.878 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/9.48, allocations: 8 kB / 3.878 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/9.481, allocations: 55.72 kB / 3.879 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/9.481, allocations: 28.23 kB / 3.879 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/9.481, allocations: 8 kB / 3.879 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002989/9.481, allocations: 313.6 kB / 3.879 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/9.481, allocations: 0 / 3.879 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00711/9.488, allocations: 1.415 MB / 3.88 GB, free: 15.27 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.01456/9.503, allocations: 3.054 MB / 3.883 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00189/9.505, allocations: 0.4913 MB / 3.884 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/9.505, allocations: 4.562 kB / 3.884 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/9.506, allocations: 214.8 kB / 3.884 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/9.507, allocations: 182.2 kB / 3.884 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007274/9.514, allocations: 1.288 MB / 3.885 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/9.515, allocations: 0.8683 MB / 3.886 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006207/9.516, allocations: 191.4 kB / 3.886 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/9.516, allocations: 183.4 kB / 3.887 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/9.516, allocations: 0 / 3.887 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5046/10.02, allocations: 48.45 MB / 3.934 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/10.02, allocations: 213.2 kB / 3.934 GB, free: 82.17 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/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 '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:344: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:571: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