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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 108.6 kB / 21.08 MB, free: 0.8438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 187.8 kB / 24.34 MB, free: 4.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 207.6 MB / 235.1 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2719/0.2719, allocations: 49.57 MB / 336.9 MB, free: 4.223 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.491e-05, allocations: 2.281 kB / 477.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.03818/0.03819, allocations: 35.55 MB / 0.5007 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02152/0.05972, allocations: 17.62 MB / 0.5179 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.06004, allocations: 7.938 kB / 0.5179 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.06069, allocations: 194.6 kB / 0.5181 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.06123, allocations: 242.2 kB / 0.5183 GB, free: 6.852 MB / 398.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.01824/0.07948, allocations: 7.01 MB / 0.5252 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.08064, allocations: 0.8798 MB / 0.526 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.08102, allocations: 256.7 kB / 0.5263 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.08485, allocations: 2.014 MB / 0.5282 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.09717, allocations: 6.306 MB / 0.5344 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.09733, allocations: 36 kB / 0.5344 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2011/0.2985, allocations: 8.087 MB / 0.5423 GB, free: 28.23 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0008019/0.2993, allocations: 0.9743 MB / 0.5433 GB, free: 27.96 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002738/0.2995, allocations: 0.6163 MB / 0.5439 GB, free: 27.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2997, allocations: 91.17 kB / 0.544 GB, free: 27.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001522/0.2998, allocations: 14.66 kB / 0.544 GB, free: 27.68 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 (79) * Number of variables: 91 (91) Notification: Performance of Bindings: time 0.001843/0.3017, allocations: 2.357 MB / 0.5463 GB, free: 26.58 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.000285/0.302, allocations: 251.1 kB / 0.5465 GB, free: 26.54 MB / 414.1 MB Notification: Performance of Early Inline: time 0.001398/0.3034, allocations: 1.419 MB / 0.5479 GB, free: 26.46 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0002839/0.3036, allocations: 243.6 kB / 0.5481 GB, free: 26.34 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.002224/0.3059, allocations: 1.91 MB / 0.55 GB, free: 25.77 MB / 414.1 MB Notification: Performance of Simplify 2: time 0.0001947/0.3061, allocations: 176.3 kB / 0.5502 GB, free: 25.66 MB / 414.1 MB Notification: Performance of Remove Stream: time 9.858e-05/0.3062, allocations: 115.2 kB / 0.5503 GB, free: 25.6 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002643/0.3064, allocations: 283.1 kB / 0.5506 GB, free: 25.48 MB / 414.1 MB Notification: Performance of Events: time 0.0001877/0.3066, allocations: 144.5 kB / 0.5507 GB, free: 25.45 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003979/0.307, allocations: 431.8 kB / 0.5511 GB, free: 25.28 MB / 414.1 MB Notification: Performance of Causalize: time 0.002158/0.3092, allocations: 1.921 MB / 0.553 GB, free: 24.73 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008218/0.31, allocations: 0.9258 MB / 0.5539 GB, free: 24.72 MB / 414.1 MB Notification: Performance of Simplify: time 0.0008216/0.3108, allocations: 0.5484 MB / 0.5544 GB, free: 24.46 MB / 414.1 MB Notification: Performance of Inline: time 0.001633/0.3124, allocations: 1.483 MB / 0.5559 GB, free: 24.44 MB / 414.1 MB Notification: Performance of Partitioning: time 6.36e-05/0.3125, allocations: 33.5 kB / 0.5559 GB, free: 24.42 MB / 414.1 MB Notification: Performance of Cleanup: time 0.000269/0.3128, allocations: 317.3 kB / 0.5562 GB, free: 24.4 MB / 414.1 MB Notification: Performance of Causalize: time 0.005952/0.3187, allocations: 4.613 MB / 0.5607 GB, free: 23.61 MB / 414.1 MB Notification: Performance of Tearing: time 0.001381/0.3201, allocations: 1.41 MB / 0.5621 GB, free: 23.07 MB / 414.1 MB Notification: Performance of Initialization: time 8.22e-07/0.3201, allocations: 5.375 kB / 0.5621 GB, free: 23.07 MB / 414.1 MB Notification: Performance of Remove Dummies: time 1.215e-05/0.3201, allocations: 8.75 kB / 0.5621 GB, free: 23.06 MB / 414.1 MB Notification: Performance of Tearing: time 0.0007741/0.3209, allocations: 0.8106 MB / 0.5629 GB, free: 22.79 MB / 414.1 MB Notification: Performance of Categorize: time 1.864e-05/0.3209, allocations: 6.406 kB / 0.5629 GB, free: 22.79 MB / 414.1 MB Notification: Performance of Solve: time 0.0005399/0.3214, allocations: 490.8 kB / 0.5634 GB, free: 22.76 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002476/0.3217, allocations: 380.1 kB / 0.5637 GB, free: 22.54 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 7 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {steamTurbineVarEta.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {steamTurbineVarEta.steamState_in.phase, steamTurbineVarEta.steamState_iso.phase, valveHP.fluidState.phase, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 44 (scalar:44, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 71 (scalar:71, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.797e-05/0.3218, allocations: 52.03 kB / 0.5638 GB, free: 22.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.01577/0.3375, allocations: 10.37 MB / 0.5739 GB, free: 20.51 MB / 414.1 MB Notification: Performance of Templates: time 0.04287/0.3804, allocations: 39.46 MB / 0.6124 GB, free: 4.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency.makefile [Timeout 660] make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -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 clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -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 clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -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 clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -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 clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -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 ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency_02nls.c:203:113: error: use of undeclared identifier 'steamTurbineVarEta' }res[8] = ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[40]] /* $FUN_1 variable */)) * ((steamTurbineVarEta._partialArc) * (((data->simulationInfo->realParameter[5] /* steamTurbineVarEta.Kt PARAM */)) * (DIVISION_SIM(1.0 - ((tmp4 * tmp4)),sqrt(tmp7),"sqrt(sqrt(1e-4 + (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0) * (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0)))",equationIndexes)))) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[26]] /* valveHP.w variable */); ^ ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency_02nls.c:393:113: error: use of undeclared identifier 'steamTurbineVarEta' }res[3] = ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[40]] /* $FUN_1 variable */)) * ((steamTurbineVarEta._partialArc) * (((data->simulationInfo->realParameter[5] /* steamTurbineVarEta.Kt PARAM */)) * (DIVISION_SIM(1.0 - ((tmp1 * tmp1)),sqrt(tmp4),"sqrt(sqrt(1e-4 + (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0) * (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0)))",equationIndexes)))) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[26]] /* valveHP.w variable */); ^ ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency_02nls.c:663:113: error: use of undeclared identifier 'steamTurbineVarEta' }res[7] = ((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[40]] /* $FUN_1 variable */)) * ((steamTurbineVarEta._partialArc) * (((data->simulationInfo->realParameter[5] /* steamTurbineVarEta.Kt PARAM */)) * (DIVISION_SIM(1.0 - ((tmp4 * tmp4)),sqrt(tmp7),"sqrt(sqrt(1e-4 + (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0) * (1.0 - (1.0 / steamTurbineVarEta.PR) ^ 2.0)))",equationIndexes)))) - (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[26]] /* valveHP.w variable */); ^ 3 errors generated. make: *** [: ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 4.239204239100218] Failed to read output from testmodel.py, exit status != 0: 0.3880428411066532 0.40127278199999994 0.09838906299999994 Calling exit ...