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.0007915/0.0007916, allocations: 92.42 kB / 16.65 MB, free: 6.59 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.0008722/0.0008723, allocations: 180.4 kB / 17.56 MB, free: 6.203 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.132/1.132, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2297/0.2297, allocations: 48.79 MB / 320.8 MB, free: 11.1 MB / 270.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.0004571/0.0004571, allocations: 16.42 kB / 391.9 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.07411, allocations: 60.26 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.03048/0.1046, allocations: 35.46 MB / 487.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.124, allocations: 18.81 MB / 0.4946 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.1244, allocations: 11.88 kB / 0.4946 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.125, allocations: 159 kB / 0.4947 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.1255, allocations: 226.5 kB / 0.495 GB, free: 2.227 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:13459:9-13461:26:writable] Warning: Conditional component ‘partialArc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.01358/0.1391, allocations: 5.56 MB / 0.5004 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.1401, allocations: 0.9032 MB / 0.5013 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.1405, allocations: 229.3 kB / 0.5015 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.1439, allocations: 1.897 MB / 0.5033 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.1546, allocations: 6.369 MB / 0.5096 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.1547, allocations: 20 kB / 0.5096 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/0.1683, allocations: 9.013 MB / 0.5184 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.1684, allocations: 71.62 kB / 0.5185 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.1687, allocations: 256.4 kB / 0.5187 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.178, allocations: 5.387 MB / 0.524 GB, free: 4.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.178, allocations: 3.938 kB / 0.524 GB, free: 4.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1781, allocations: 4 kB / 0.524 GB, free: 4.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1781, allocations: 0 / 0.524 GB, free: 4.383 MB / 414.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.003812/0.1819, allocations: 1.353 MB / 0.5253 GB, free: 2.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.182, allocations: 8.031 kB / 0.5253 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.1821, allocations: 74.72 kB / 0.5254 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000378/0.1825, allocations: 96.23 kB / 0.5255 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1829, allocations: 355.7 kB / 0.5258 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1829, allocations: 33.31 kB / 0.5258 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.183, allocations: 43.92 kB / 0.5259 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1842, allocations: 0.5565 MB / 0.5264 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1842, allocations: 0 / 0.5264 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.1842, allocations: 20 kB / 0.5264 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1843, allocations: 8 kB / 0.5264 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.1855, allocations: 498.1 kB / 0.5269 GB, free: 1.215 MB / 414.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.153/0.3386, allocations: 2.411 MB / 0.5293 GB, free: 82.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.34, allocations: 478.2 kB / 0.5297 GB, free: 82.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.3405, allocations: 185.9 kB / 0.5299 GB, free: 82.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/0.4458, allocations: 64.68 MB / 0.5931 GB, free: 27.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4459, allocations: 38.56 kB / 0.5931 GB, free: 27.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.786e-06/0.4459, allocations: 0 / 0.5931 GB, free: 27.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.00412/0.45, allocations: 1.144 MB / 0.5942 GB, free: 26.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.4501, allocations: 55.41 kB / 0.5943 GB, free: 26.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.4504, allocations: 393.7 kB / 0.5947 GB, free: 26.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4504, allocations: 37.55 kB / 0.5947 GB, free: 26.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4506, allocations: 232.5 kB / 0.5949 GB, free: 25.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.4506, allocations: 97.47 kB / 0.595 GB, free: 25.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.4507, allocations: 41.69 kB / 0.595 GB, free: 25.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.4507, allocations: 346.8 kB / 0.5954 GB, free: 25.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.4512, allocations: 200.2 kB / 0.5956 GB, free: 25.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.4516, allocations: 290.7 kB / 0.5958 GB, free: 24.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.4525, allocations: 488 kB / 0.5963 GB, free: 24.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4525, allocations: 0 / 0.5963 GB, free: 24.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001259/0.4538, allocations: 0.5999 MB / 0.5969 GB, free: 23.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.4539, allocations: 204 kB / 0.5971 GB, free: 23.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4539, allocations: 12 kB / 0.5971 GB, free: 23.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.4556, allocations: 250.5 kB / 0.5973 GB, free: 23.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4559, allocations: 99.88 kB / 0.5974 GB, free: 23.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000668/0.4566, allocations: 0.6889 MB / 0.5981 GB, free: 22.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.457, allocations: 88.64 kB / 0.5982 GB, free: 22.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.4571, allocations: 23.98 kB / 0.5982 GB, free: 22.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.4571, allocations: 4 kB / 0.5982 GB, free: 22.25 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001801/0.4589, allocations: 0.5654 MB / 0.5988 GB, free: 21.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4589, allocations: 4 kB / 0.5988 GB, free: 21.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.46, allocations: 141.1 kB / 0.5989 GB, free: 21.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.4604, allocations: 123.1 kB / 0.599 GB, free: 21.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002783/0.4607, allocations: 0.5831 MB / 0.5996 GB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.4611, allocations: 79.61 kB / 0.5997 GB, free: 20.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.4611, allocations: 23.98 kB / 0.5997 GB, free: 20.72 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.4613, allocations: 245.3 kB / 0.5999 GB, free: 20.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.4614, allocations: 43.47 kB / 0.6 GB, free: 20.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.463, allocations: 1.101 MB / 0.601 GB, free: 19.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4631, allocations: 11.98 kB / 0.6011 GB, free: 19.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4631, allocations: 0 / 0.6011 GB, free: 19.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4631, allocations: 6.469 kB / 0.6011 GB, free: 19.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.4636, allocations: 0.5947 MB / 0.6016 GB, free: 18.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4636, allocations: 1.375 kB / 0.6016 GB, free: 18.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.4638, allocations: 67.95 kB / 0.6017 GB, free: 18.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.4652, allocations: 469.3 kB / 0.6022 GB, free: 18.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4652, allocations: 7.984 kB / 0.6022 GB, free: 18.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000624/0.4658, allocations: 0.9016 MB / 0.603 GB, free: 17.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4658, allocations: 0 / 0.603 GB, free: 17.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.4677, allocations: 1.313 MB / 0.6043 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.4678, allocations: 152.3 kB / 0.6045 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.4679, allocations: 8 kB / 0.6045 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.4682, allocations: 63.86 kB / 0.6045 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.4683, allocations: 23.95 kB / 0.6046 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4683, allocations: 11.56 kB / 0.6046 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.4685, allocations: 322.9 kB / 0.6049 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4685, allocations: 4 kB / 0.6049 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002761/0.4713, allocations: 1.388 MB / 0.6062 GB, free: 14 MB / 414.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006969/0.4783, allocations: 2.956 MB / 0.6091 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.48, allocations: 0.7296 MB / 0.6098 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.48, allocations: 0 / 0.6098 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005347/0.4806, allocations: 294.8 kB / 0.6101 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.4815, allocations: 189.5 kB / 0.6103 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.4885, allocations: 5.307 MB / 0.6155 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4887, allocations: 0.8562 MB / 0.6163 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.4891, allocations: 168.3 kB / 0.6165 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4892, allocations: 187.4 kB / 0.6167 GB, free: 3.273 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4892, allocations: 0 / 0.6167 GB, free: 3.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07488/0.5641, allocations: 57.42 MB / 0.6727 GB, free: 9.781 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.5643, allocations: 259.1 kB / 0.673 GB, free: 9.52 MB / 478.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -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:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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. -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:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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. -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:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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. -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:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227: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. -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:155: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:57:147: error: use of undeclared identifier 'steamTurbineVarEta' (data->localData[0]->realVars[65]/* valveHP.w variable */) = ((data->simulationInfo->realParameter[54]/* steamTurbineVarEta.Kt PARAM */) ) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:331:94: error: use of undeclared identifier 'steamTurbineVarEta' res[0] = ((data->simulationInfo->realParameter[54]/* steamTurbineVarEta.Kt PARAM */) ) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * (omc_ThermoPower_Functions_sqrtReg(threadData, 1.0 - ((tmp1 * tmp1)), 0.01)))) - (data->localData[0]->realVars[65]/* valveHP.w variable */) ; ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:622:95: error: use of undeclared identifier 'steamTurbineVarEta' }res[0] = ((data->simulationInfo->realParameter[54]/* steamTurbineVarEta.Kt PARAM */) ) * ((steamTurbineVarEta._partialArc) * ((sqrt(tmp0)) * ((data->localData[0]->realVars[2]/* $cse1 variable */) ))) - (data->localData[0]->realVars[65]/* valveHP.w variable */) ; ^ 2 warnings and 3 errors generated. make: *** [: ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1