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.001348/0.001348, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009365/0.0009364, allocations: 82.84 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.469/0.469, allocations: 48.78 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.157e-05, allocations: 7.984 kB / 425.4 MB, free: 8.133 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 60.25 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.408/8.53, allocations: 2.945 GB / 3.419 GB, free: 60.37 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/8.53, allocations: 78.95 kB / 3.419 GB, free: 60.33 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.665/10.19, allocations: 376.9 MB / 3.787 GB, free: 61.42 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.443e-06/10.19, allocations: 0 / 3.787 GB, free: 61.42 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.079e-05/10.19, allocations: 7.938 kB / 3.787 GB, free: 61.42 MB / 0.5108 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.008118/10.2, allocations: 1.73 MB / 3.789 GB, free: 60.41 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/10.2, allocations: 6.875 kB / 3.789 GB, free: 60.41 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/10.2, allocations: 95.16 kB / 3.789 GB, free: 60.38 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/10.2, allocations: 362 kB / 3.79 GB, free: 60.09 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/10.2, allocations: 17.38 kB / 3.79 GB, free: 60.09 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/10.2, allocations: 24.83 kB / 3.79 GB, free: 60.09 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004911/10.2, allocations: 269.3 kB / 3.79 GB, free: 59.99 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/10.21, allocations: 419.5 kB / 3.79 GB, free: 59.71 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/10.21, allocations: 10.75 kB / 3.79 GB, free: 59.71 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/10.21, allocations: 0 / 3.79 GB, free: 59.71 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/10.21, allocations: 11.59 kB / 3.79 GB, free: 59.71 MB / 0.5108 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.05821/10.26, allocations: 34.28 MB / 3.824 GB, free: 37.32 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/10.26, allocations: 315.2 kB / 3.824 GB, free: 37.21 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/10.26, allocations: 92.36 kB / 3.824 GB, free: 37.16 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5359/10.8, allocations: 64.05 MB / 3.887 GB, free: 77.66 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/10.8, allocations: 36.98 kB / 3.887 GB, free: 77.62 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=26): time 2.835e-06/10.8, allocations: 1.156 kB / 3.887 GB, free: 77.62 MB / 0.5265 GB Notification: Performance of matching and sorting (n=26): time 0.002433/10.8, allocations: 457.4 kB / 3.887 GB, free: 77.59 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/10.8, allocations: 54.81 kB / 3.887 GB, free: 77.52 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/10.8, allocations: 268.5 kB / 3.887 GB, free: 77.43 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/10.8, allocations: 26.55 kB / 3.887 GB, free: 77.4 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/10.8, allocations: 252.9 kB / 3.888 GB, free: 77.29 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/10.8, allocations: 90.7 kB / 3.888 GB, free: 77.24 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/10.8, allocations: 3.125 kB / 3.888 GB, free: 77.24 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/10.8, allocations: 350.1 kB / 3.888 GB, free: 76.93 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/10.8, allocations: 95.06 kB / 3.888 GB, free: 76.91 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/10.8, allocations: 200.1 kB / 3.888 GB, free: 76.77 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/10.8, allocations: 128.4 kB / 3.889 GB, free: 76.77 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/10.8, allocations: 1 kB / 3.889 GB, free: 76.77 MB / 0.5265 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001078/10.81, allocations: 414.4 kB / 3.889 GB, free: 76.7 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003851/10.81, allocations: 1.569 MB / 3.89 GB, free: 75.07 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/10.81, allocations: 3.344 kB / 3.89 GB, free: 75.07 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008605/10.81, allocations: 135.4 kB / 3.891 GB, free: 75.07 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/10.81, allocations: 102.3 kB / 3.891 GB, free: 75.07 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007268/10.81, allocations: 0.6741 MB / 3.891 GB, free: 74.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/10.81, allocations: 74.92 kB / 3.891 GB, free: 74.54 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/10.81, allocations: 19.22 kB / 3.891 GB, free: 74.54 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/10.81, allocations: 4.25 kB / 3.891 GB, free: 74.54 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001611/10.81, allocations: 390.1 kB / 3.892 GB, free: 74.52 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/10.81, allocations: 9.188 kB / 3.892 GB, free: 74.52 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003875/10.81, allocations: 78.66 kB / 3.892 GB, free: 74.51 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/10.81, allocations: 119.4 kB / 3.892 GB, free: 74.51 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003649/10.81, allocations: 0.597 MB / 3.893 GB, free: 73.99 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/10.81, allocations: 63.27 kB / 3.893 GB, free: 73.99 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/10.81, allocations: 17.53 kB / 3.893 GB, free: 73.99 MB / 0.5265 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.0001819/10.81, allocations: 123.4 kB / 3.893 GB, free: 73.88 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001486/10.81, allocations: 363.3 kB / 3.893 GB, free: 73.82 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/10.81, allocations: 37.78 kB / 3.893 GB, free: 73.8 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/10.82, allocations: 0.9002 MB / 3.894 GB, free: 73.71 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/10.82, allocations: 12.33 kB / 3.894 GB, free: 73.71 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/10.82, allocations: 1.812 kB / 3.894 GB, free: 73.71 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/10.82, allocations: 5.484 kB / 3.894 GB, free: 73.71 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/10.82, allocations: 491.2 kB / 3.895 GB, free: 73.54 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/10.82, allocations: 0 / 3.895 GB, free: 73.54 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/10.82, allocations: 73.95 kB / 3.895 GB, free: 73.54 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008839/10.82, allocations: 475.8 kB / 3.895 GB, free: 73.52 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/10.82, allocations: 6.547 kB / 3.895 GB, free: 73.52 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007044/10.82, allocations: 0.89 MB / 3.896 GB, free: 72.99 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/10.82, allocations: 10.86 kB / 3.896 GB, free: 72.99 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/10.82, allocations: 1.098 MB / 3.897 GB, free: 72.78 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/10.82, allocations: 122.8 kB / 3.897 GB, free: 72.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/10.82, allocations: 0 / 3.897 GB, free: 72.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/10.82, allocations: 56.03 kB / 3.897 GB, free: 72.66 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/10.82, allocations: 22.91 kB / 3.897 GB, free: 72.66 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/10.82, allocations: 11.36 kB / 3.897 GB, free: 72.66 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0002009/10.82, allocations: 208 kB / 3.897 GB, free: 72.57 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.4e-07/10.82, allocations: 0 / 3.897 GB, free: 72.57 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.006863/10.83, allocations: 1.39 MB / 3.899 GB, free: 72.56 MB / 0.5265 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 (21): * Single equations (assignments): 19 * 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.01272/10.84, allocations: 3.098 MB / 3.902 GB, free: 71.84 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001419/10.84, allocations: 464 kB / 3.902 GB, free: 71.84 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/10.84, allocations: 3.938 kB / 3.902 GB, free: 71.84 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/10.84, allocations: 199.6 kB / 3.902 GB, free: 71.83 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/10.84, allocations: 103.9 kB / 3.903 GB, free: 71.82 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/10.85, allocations: 1.227 MB / 3.904 GB, free: 71.54 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/10.85, allocations: 0.8591 MB / 3.905 GB, free: 70.84 MB / 0.5265 GB Notification: Performance of simCode: alias equations: time 0.0004793/10.85, allocations: 201.7 kB / 3.905 GB, free: 70.84 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/10.85, allocations: 165.9 kB / 3.905 GB, free: 70.83 MB / 0.5265 GB Notification: Performance of SimCode: time 7.11e-07/10.85, allocations: 1.5 kB / 3.905 GB, free: 70.83 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08971/10.94, allocations: 39.92 MB / 3.944 GB, free: 69.78 MB / 0.5265 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/10.94, allocations: 162.4 kB / 3.944 GB, free: 69.59 MB / 0.5265 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_FMU.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_FMU.c In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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:233:59: error: use of undeclared identifier '$PsteamTurbineVarEta$PpartialArc' }res[0] = (data->simulationInfo->realParameter[28]) * (($PsteamTurbineVarEta$PpartialArc) * ((sqrt(tmp0)) * (data->localData[0]->realVars[2] /* $cse1 variable */))) - data->localData[0]->realVars[65] /* valveHP.w variable */; ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:326:109: error: use of undeclared identifier '$PsteamTurbineVarEta$PpartialArc' data->localData[0]->realVars[65] /* valveHP.w variable */ = (data->simulationInfo->realParameter[28]) * (($PsteamTurbineVarEta$PpartialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:466:109: error: use of undeclared identifier '$PsteamTurbineVarEta$PpartialArc' data->localData[0]->realVars[65] /* valveHP.w variable */ = (data->simulationInfo->realParameter[28]) * (($PsteamTurbineVarEta$PpartialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))); ^ 2 warnings and 3 errors generated. make: *** [: ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1