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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 207.2 kB / 24.54 MB, free: 3.75 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.754/1.754, allocations: 207.7 MB / 235.4 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3457/0.3457, allocations: 49.62 MB / 337.3 MB, free: 3.84 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.753e-05/2.753e-05, allocations: 2.281 kB / 477.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency): time 0.05006/0.05008, allocations: 32.43 MB / 0.4981 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.07556, allocations: 15.53 MB / 0.5133 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/0.07605, allocations: 15.88 kB / 0.5133 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.0768, allocations: 178.7 kB / 0.5135 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006797/0.07748, allocations: 238.2 kB / 0.5137 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02214/0.09963, allocations: 6.975 MB / 0.5205 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.1011, allocations: 0.8838 MB / 0.5214 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.1016, allocations: 260.6 kB / 0.5216 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.1061, allocations: 2.006 MB / 0.5236 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0144/0.1205, allocations: 6.314 MB / 0.5298 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.1207, allocations: 36 kB / 0.5298 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.1365, allocations: 7.78 MB / 0.5374 GB, free: 3.344 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.00116/0.1377, allocations: 0.9706 MB / 0.5383 GB, free: 2.363 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004928/0.1382, allocations: 0.6246 MB / 0.539 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1383, allocations: 48 kB / 0.539 GB, free: 1.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001782/0.1385, allocations: 23.88 kB / 0.539 GB, free: 1.66 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 [SIM] Bindings: time 0.2833/0.4217, allocations: 2.406 MB / 0.5414 GB, free: 30.79 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004386/0.4222, allocations: 286.6 kB / 0.5416 GB, free: 30.76 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.001926/0.4241, allocations: 1.574 MB / 0.5432 GB, free: 30.7 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004302/0.4245, allocations: 271.6 kB / 0.5434 GB, free: 30.57 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.002696/0.4272, allocations: 1.868 MB / 0.5453 GB, free: 30.07 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002994/0.4275, allocations: 220.9 kB / 0.5455 GB, free: 29.95 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001152/0.4276, allocations: 116 kB / 0.5456 GB, free: 29.89 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0003244/0.428, allocations: 294.7 kB / 0.5459 GB, free: 29.77 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0002231/0.4282, allocations: 141.9 kB / 0.546 GB, free: 29.77 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006233/0.4288, allocations: 0.5284 MB / 0.5465 GB, free: 29.61 MB / 414.1 MB Notification: Performance of [SIM] Causalize: time 0.002377/0.4312, allocations: 1.656 MB / 0.5481 GB, free: 29.19 MB / 414.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00125/0.4324, allocations: 1.006 MB / 0.5491 GB, free: 29.18 MB / 414.1 MB Notification: Performance of [INI] Simplify: time 0.001167/0.4336, allocations: 0.588 MB / 0.5497 GB, free: 28.96 MB / 414.1 MB Notification: Performance of [INI] Inline: time 0.001733/0.4353, allocations: 1.385 MB / 0.551 GB, free: 28.94 MB / 414.1 MB Notification: Performance of [INI] Partitioning: time 7.532e-05/0.4354, allocations: 39.69 kB / 0.5511 GB, free: 28.91 MB / 414.1 MB Notification: Performance of [INI] Cleanup: time 0.0003179/0.4357, allocations: 305.3 kB / 0.5514 GB, free: 28.91 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.005726/0.4415, allocations: 3.736 MB / 0.555 GB, free: 28.61 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 0.0006164/0.4421, allocations: 419.6 kB / 0.5554 GB, free: 28.5 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 1.924e-06/0.4421, allocations: 0 / 0.5554 GB, free: 28.5 MB / 414.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006627/0.4427, allocations: 452.4 kB / 0.5559 GB, free: 28.22 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.968e-06/0.4428, allocations: 1.281 kB / 0.5559 GB, free: 28.22 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 0.0003692/0.4431, allocations: 238.7 kB / 0.5561 GB, free: 28.16 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 2.767e-05/0.4432, allocations: 9.391 kB / 0.5561 GB, free: 28.16 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.001948/0.4451, allocations: 1.305 MB / 0.5574 GB, free: 27.95 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.01956/0.4647, allocations: 24.91 MB / 0.5817 GB, free: 7.262 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: ......... 2 * 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: ................. 15 (15) {steamTurbineVarEta.steamState_in.phase, steamTurbineVarEta.steamState_iso.phase, valveHP.fluidState.phase, $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: 1, nonlinear:0) 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: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 80 (scalar:80, 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: 1, nonlinear:0) Notification: Performance of backend: time 0.0001486/0.4648, allocations: 41.88 kB / 0.5817 GB, free: 7.223 MB / 414.1 MB Notification: Performance of SimCode: time 0.03893/0.5037, allocations: 15.79 MB / 0.5972 GB, free: 5.059 MB / 414.1 MB Notification: Performance of Templates: time 0.09618/0.5999, allocations: 63.19 MB / 0.6589 GB, free: 7.113 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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=2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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=2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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=2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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=2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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=2 -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:181:114: error: use of undeclared identifier 'steamTurbineVarEta' }res[8] = ((((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[40]] /* $FUN_1 variable */)) * (steamTurbineVarEta._partialArc)) * ((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[5]] /* steamTurbineVarEta.Kt PARAM */))) * (DIVISION_SIM(1.0 - ((tmp5 * tmp5)),sqrt(tmp8),"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:371:114: error: use of undeclared identifier 'steamTurbineVarEta' }res[3] = ((((data->localData[0]->realVars[data->simulationInfo->realVarsIndex[40]] /* $FUN_1 variable */)) * (steamTurbineVarEta._partialArc)) * ((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[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 */); ^ 2 errors generated. make: *** [: ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestTurbineHPefficiency_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 6.343894378049299] Failed to read output from testmodel.py, exit status != 0: 0.6091312820208259 0.624664996 0.48265840000000004 Calling exit ...