Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008291, allocations: 89.39 kB / 16.32 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008278/0.0008279, allocations: 176.2 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 223.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3976/0.3976, allocations: 48.76 MB / 320.4 MB, free: 3.824 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004827, allocations: 16 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.113, allocations: 60.26 MB / 451.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.2185/0.3315, allocations: 32.91 MB / 484.4 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.3472, allocations: 16.44 MB / 0.4891 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005778/0.3478, allocations: 10.03 kB / 0.4892 GB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.3484, allocations: 141.7 kB / 0.4893 GB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.3489, allocations: 246.6 kB / 0.4895 GB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01732/0.3662, allocations: 5.339 MB / 0.4947 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008665/0.3671, allocations: 0.7867 MB / 0.4955 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3674, allocations: 221.3 kB / 0.4957 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.3723, allocations: 3.083 MB / 0.4987 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/0.3878, allocations: 11.11 MB / 0.5096 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.388, allocations: 19.94 kB / 0.5096 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/0.4023, allocations: 8.732 MB / 0.5181 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4025, allocations: 71.69 kB / 0.5182 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.4027, allocations: 113.5 kB / 0.5183 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.4084, allocations: 3.594 MB / 0.5218 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4085, allocations: 0 / 0.5218 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4085, allocations: 0 / 0.5218 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.4085, allocations: 0 / 0.5218 GB, free: 10.48 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002878/0.4114, allocations: 1.364 MB / 0.5231 GB, free: 9.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4114, allocations: 12.02 kB / 0.5231 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.4115, allocations: 74.52 kB / 0.5232 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.4118, allocations: 87.31 kB / 0.5233 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4123, allocations: 354.5 kB / 0.5236 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4123, allocations: 25 kB / 0.5237 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.4123, allocations: 40.94 kB / 0.5237 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.4137, allocations: 0.5564 MB / 0.5242 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4138, allocations: 4 kB / 0.5242 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.4139, allocations: 20 kB / 0.5243 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.4139, allocations: 8 kB / 0.5243 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.4157, allocations: 498.1 kB / 0.5248 GB, free: 7.32 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.419, allocations: 2.419 MB / 0.5271 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4208, allocations: 474.6 kB / 0.5276 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.4214, allocations: 192.7 kB / 0.5278 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1133/0.5347, allocations: 64.68 MB / 0.5909 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.5348, allocations: 38.56 kB / 0.591 GB, free: 11.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.5348, allocations: 0 / 0.591 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.004052/0.5389, allocations: 1.135 MB / 0.5921 GB, free: 10.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5389, allocations: 55.41 kB / 0.5921 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.5394, allocations: 381.9 kB / 0.5925 GB, free: 10.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.5394, allocations: 33.7 kB / 0.5925 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.5396, allocations: 236.1 kB / 0.5927 GB, free: 9.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.5397, allocations: 106.5 kB / 0.5928 GB, free: 9.691 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.5397, allocations: 8 kB / 0.5928 GB, free: 9.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5399, allocations: 350.8 kB / 0.5932 GB, free: 9.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.5403, allocations: 189 kB / 0.5934 GB, free: 9.145 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.5408, allocations: 288.6 kB / 0.5936 GB, free: 8.809 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.5412, allocations: 197.2 kB / 0.5938 GB, free: 8.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5412, allocations: 0 / 0.5938 GB, free: 8.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001319/0.5425, allocations: 0.596 MB / 0.5944 GB, free: 8.012 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.5427, allocations: 207.9 kB / 0.5946 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5427, allocations: 4 kB / 0.5946 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.5441, allocations: 220.6 kB / 0.5948 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.5444, allocations: 111.8 kB / 0.5949 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007084/0.5452, allocations: 0.685 MB / 0.5956 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.5456, allocations: 95.41 kB / 0.5957 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.5456, allocations: 27.92 kB / 0.5957 GB, free: 6.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.5456, allocations: 4 kB / 0.5957 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/0.5474, allocations: 0.5668 MB / 0.5963 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5474, allocations: 4 kB / 0.5963 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/0.5484, allocations: 145 kB / 0.5964 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5488, allocations: 119.8 kB / 0.5965 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003896/0.5492, allocations: 0.5803 MB / 0.5971 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.5496, allocations: 83.59 kB / 0.5972 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.5496, allocations: 20 kB / 0.5972 GB, free: 5.043 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 3 (steamTurbineVarEta.steamState_in.phase,valveHP.fluidState.phase,steamTurbineVarEta.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.5499, allocations: 241.9 kB / 0.5974 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.5499, allocations: 43.44 kB / 0.5975 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.5517, allocations: 1.108 MB / 0.5985 GB, free: 3.637 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.5517, allocations: 12 kB / 0.5986 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5518, allocations: 4 kB / 0.5986 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5518, allocations: 3.984 kB / 0.5986 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.5524, allocations: 0.5803 MB / 0.5991 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.5524, allocations: 0 / 0.5991 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.5527, allocations: 67.95 kB / 0.5992 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.554, allocations: 477.3 kB / 0.5997 GB, free: 2.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.554, allocations: 8 kB / 0.5997 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/0.5548, allocations: 0.897 MB / 0.6005 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5548, allocations: 0 / 0.6005 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.5568, allocations: 1.309 MB / 0.6018 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.557, allocations: 156.2 kB / 0.602 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.557, allocations: 4 kB / 0.602 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.5574, allocations: 60.02 kB / 0.602 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.5575, allocations: 23.95 kB / 0.602 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.5575, allocations: 9.438 kB / 0.6021 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003178/0.5578, allocations: 314.9 kB / 0.6024 GB, free: 15.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5578, allocations: 0 / 0.6024 GB, free: 15.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003368/0.5612, allocations: 1.397 MB / 0.6037 GB, free: 14.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007081/0.5683, allocations: 2.957 MB / 0.6066 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.57, allocations: 0.7157 MB / 0.6073 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.57, allocations: 3.938 kB / 0.6073 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.5706, allocations: 294.8 kB / 0.6076 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.5716, allocations: 181.7 kB / 0.6078 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.5772, allocations: 3.437 MB / 0.6111 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5775, allocations: 0.8562 MB / 0.612 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.5779, allocations: 171.1 kB / 0.6121 GB, free: 5.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.5781, allocations: 187.4 kB / 0.6123 GB, free: 5.289 MB / 494.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5781, allocations: 0 / 0.6123 GB, free: 5.289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3999/0.978, allocations: 58.32 MB / 0.6693 GB, free: 147 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.9782, allocations: 245.1 kB / 0.6695 GB, free: 146.8 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:185: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:316: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:597: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 */; ^ 2 warnings and 3 errors generated. make: *** [: ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1