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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 179.2 kB / 8.133 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9853/0.9853, allocations: 205.2 MB / 213.7 MB, free: 13.76 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.0008492/0.0008491, allocations: 91.55 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2735/0.2735, allocations: 48.76 MB / 358.5 MB, free: 53.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.087/0.3606, allocations: 66.37 MB / 424.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.4455, allocations: 60.25 MB / 485.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.94/4.385, allocations: 2.945 GB / 3.419 GB, free: 114 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/4.386, allocations: 71.88 kB / 3.419 GB, free: 113.9 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 1.068/5.454, allocations: 375.1 MB / 3.785 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/5.454, allocations: 10.28 kB / 3.785 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/5.455, allocations: 95.67 kB / 3.785 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/5.455, allocations: 356.8 kB / 3.785 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/5.455, allocations: 11.69 kB / 3.785 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/5.455, allocations: 23.16 kB / 3.785 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004871/5.456, allocations: 273.5 kB / 3.786 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/5.456, allocations: 428.2 kB / 3.786 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/5.456, allocations: 0.6562 kB / 3.786 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/5.456, allocations: 3.469 kB / 3.786 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/5.456, allocations: 7.094 kB / 3.786 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/5.515, allocations: 34.34 MB / 3.82 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/5.516, allocations: 212 kB / 3.82 GB, free: 38.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/5.516, allocations: 98.83 kB / 3.82 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1155/5.632, allocations: 64.13 MB / 3.883 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/5.632, allocations: 35.31 kB / 3.883 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/5.632, allocations: 0 / 3.883 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.002203/5.634, allocations: 472.1 kB / 3.883 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/5.634, allocations: 54.09 kB / 3.883 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/5.634, allocations: 275.5 kB / 3.883 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/5.634, allocations: 29.55 kB / 3.883 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.898e-05/5.634, allocations: 214.9 kB / 3.884 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/5.634, allocations: 82.41 kB / 3.884 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/5.634, allocations: 0 / 3.884 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001226/5.635, allocations: 352 kB / 3.884 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/5.635, allocations: 103.8 kB / 3.884 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/5.635, allocations: 204 kB / 3.884 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/5.635, allocations: 128.7 kB / 3.885 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/5.635, allocations: 3.594 kB / 3.885 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001381/5.637, allocations: 0.4991 MB / 3.885 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000559/5.637, allocations: 1.566 MB / 3.887 GB, free: 42.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/5.637, allocations: 6.125 kB / 3.887 GB, free: 42.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009111/5.638, allocations: 144.1 kB / 3.887 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/5.639, allocations: 108.5 kB / 3.887 GB, free: 42.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/5.64, allocations: 0.699 MB / 3.887 GB, free: 42.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/5.64, allocations: 85.64 kB / 3.888 GB, free: 42.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/5.64, allocations: 22.25 kB / 3.888 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/5.64, allocations: 5.531 kB / 3.888 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001744/5.642, allocations: 409.8 kB / 3.888 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/5.642, allocations: 2.562 kB / 3.888 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/5.642, allocations: 80.69 kB / 3.888 GB, free: 42.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/5.643, allocations: 125.5 kB / 3.888 GB, free: 42.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000526/5.643, allocations: 0.6155 MB / 3.889 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/5.644, allocations: 72.78 kB / 3.889 GB, free: 41.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/5.644, allocations: 20.84 kB / 3.889 GB, free: 41.48 MB / 0.5573 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.000173/5.644, allocations: 116 kB / 3.889 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/5.644, allocations: 112.7 kB / 3.889 GB, free: 41.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/5.646, allocations: 0.9131 MB / 3.89 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/5.646, allocations: 13.02 kB / 3.89 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/5.646, allocations: 0 / 3.89 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/5.646, allocations: 0 / 3.89 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/5.646, allocations: 495.9 kB / 3.89 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/5.646, allocations: 0 / 3.89 GB, free: 41.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/5.647, allocations: 84.27 kB / 3.891 GB, free: 41.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008144/5.647, allocations: 385 kB / 3.891 GB, free: 41.06 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/5.647, allocations: 9.344 kB / 3.891 GB, free: 41.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008004/5.648, allocations: 0.8896 MB / 3.892 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.648, allocations: 0 / 3.892 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001383/5.65, allocations: 1.001 MB / 3.893 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001893/5.652, allocations: 1.664 MB / 3.894 GB, free: 39.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/5.652, allocations: 120.1 kB / 3.894 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/5.652, allocations: 8.062 kB / 3.894 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/5.652, allocations: 57.59 kB / 3.895 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/5.652, allocations: 26.38 kB / 3.895 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/5.652, allocations: 7.688 kB / 3.895 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0001698/5.652, allocations: 217.5 kB / 3.895 GB, free: 39.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00677/5.659, allocations: 1.697 MB / 3.896 GB, free: 39.31 MB / 0.5573 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 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.009511/5.669, allocations: 2.012 MB / 3.898 GB, free: 38.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001228/5.67, allocations: 0.593 MB / 3.899 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.67, allocations: 0 / 3.899 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004199/5.67, allocations: 338.8 kB / 3.899 GB, free: 38.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/5.671, allocations: 96.62 kB / 3.899 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/5.673, allocations: 0.789 MB / 3.9 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/5.673, allocations: 0.9009 MB / 3.901 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/5.673, allocations: 0 / 3.901 GB, free: 37.86 MB / 0.5573 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources' clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:2: In file included from ./ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_model.h:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -fPIC -falign-functions -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -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:4: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.c:52:110: error: use of undeclared identifier '$PsteamTurbineVarEta$PpartialArc' data->localData[0]->realVars[66] /* 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:268:110: error: use of undeclared identifier '$PsteamTurbineVarEta$PpartialArc' data->localData[0]->realVars[66] /* 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:570: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[66] /* valveHP._w variable */; ^ 2 warnings and 3 errors generated. make: *** [: ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency/ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.def ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.a ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.so ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_FMU.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_functions.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_records.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_01exo.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_02nls.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_03lsy.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_04set.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_05evt.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_06inz.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_07dly.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_08bnd.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_09alg.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_10asr.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_11mix.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_12jac.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_13opt.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_14lnz.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_15syn.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_16dae.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_17inl.o ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestTurbineHPefficiency_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o