Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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.00105/0.00105, allocations: 108.6 kB / 21.08 MB, free: 0.8594 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.001013/0.001013, allocations: 191.2 kB / 24.34 MB, free: 4.254 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.146/1.146, allocations: 207.6 MB / 235.1 MB, free: 10.04 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.2475/0.2475, allocations: 49.57 MB / 336.9 MB, free: 4.172 MB / 270.1 MB " [Timeout remaining time 180] 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.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.938e-06/9.938e-06, allocations: 2.281 kB / 477.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbine): time 0.302/0.302, allocations: 169.4 MB / 0.6314 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.3065, allocations: 3.815 MB / 0.6352 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.3066, allocations: 12.75 kB / 0.6352 GB, free: 7.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.3073, allocations: 279.6 kB / 0.6354 GB, free: 7.438 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008345/0.3081, allocations: 0.4937 MB / 0.6359 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.311, allocations: 1.576 MB / 0.6375 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3123, allocations: 1.419 MB / 0.6388 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3128, allocations: 397.6 kB / 0.6392 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.3134, allocations: 0.5763 MB / 0.6398 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.3139, allocations: 426.4 kB / 0.6402 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.3139, allocations: 52 kB / 0.6402 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.3155, allocations: 1.154 MB / 0.6414 GB, free: 1.355 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001019/0.3166, allocations: 1.231 MB / 0.6426 GB, free: 116 kB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005192/0.3171, allocations: 0.7647 MB / 0.6433 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3172, allocations: 103.8 kB / 0.6434 GB, free: 15.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.09e-05/0.3172, allocations: 15.94 kB / 0.6434 GB, free: 15.22 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 (108) * Number of variables: 126 (108) Notification: Performance of Bindings: time 0.002772/0.32, allocations: 3.119 MB / 0.6465 GB, free: 11.96 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0002358/0.3202, allocations: 235.7 kB / 0.6467 GB, free: 11.72 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001278/0.3215, allocations: 1.378 MB / 0.648 GB, free: 10.31 MB / 462.1 MB Notification: Performance of Simplify 1: time 0.0003583/0.3219, allocations: 280.2 kB / 0.6483 GB, free: 9.988 MB / 462.1 MB Notification: Performance of Alias: time 0.002619/0.3245, allocations: 2.147 MB / 0.6504 GB, free: 7.609 MB / 462.1 MB Notification: Performance of Simplify 2: time 0.0002772/0.3248, allocations: 228.3 kB / 0.6506 GB, free: 7.332 MB / 462.1 MB Notification: Performance of Remove Stream: time 0.0001674/0.3249, allocations: 146.9 kB / 0.6508 GB, free: 7.164 MB / 462.1 MB Notification: Performance of Detect States: time 0.0003557/0.3253, allocations: 323.2 kB / 0.6511 GB, free: 6.793 MB / 462.1 MB Notification: Performance of Events: time 0.0002245/0.3255, allocations: 180 kB / 0.6512 GB, free: 6.617 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0005386/0.3261, allocations: 0.5148 MB / 0.6517 GB, free: 5.98 MB / 462.1 MB Notification: Performance of Causalize: time 0.00199/0.3281, allocations: 1.754 MB / 0.6535 GB, free: 4.117 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.00081/0.3289, allocations: 0.9402 MB / 0.6544 GB, free: 3.176 MB / 462.1 MB Notification: Performance of Simplify: time 0.002982/0.3318, allocations: 0.8557 MB / 0.6552 GB, free: 2.254 MB / 462.1 MB Notification: Performance of Inline: time 0.001414/0.3333, allocations: 1.613 MB / 0.6568 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of Partitioning: time 6.553e-05/0.3333, allocations: 43.92 kB / 0.6568 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of Cleanup: time 0.000203/0.3335, allocations: 239.7 kB / 0.6571 GB, free: 360 kB / 462.1 MB Notification: Performance of Causalize: time 0.005905/0.3394, allocations: 5.361 MB / 0.6623 GB, free: 11.08 MB / 478.1 MB Notification: Performance of Tearing: time 2.474e-05/0.3395, allocations: 28 kB / 0.6623 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Initialization: time 3e-07/0.3395, allocations: 0 / 0.6623 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Remove Dummies: time 8.426e-06/0.3395, allocations: 8.375 kB / 0.6623 GB, free: 11.05 MB / 478.1 MB Notification: Performance of Tearing: time 1.655e-05/0.3395, allocations: 27.94 kB / 0.6624 GB, free: 11.02 MB / 478.1 MB Notification: Performance of Categorize: time 1.628e-05/0.3395, allocations: 4 kB / 0.6624 GB, free: 11.02 MB / 478.1 MB Notification: Performance of Solve: time 0.00157/0.3411, allocations: 1.19 MB / 0.6635 GB, free: 9.77 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0004957/0.3416, allocations: 0.5055 MB / 0.664 GB, free: 9.23 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {Inertia1.w, Turbine1.phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (13) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_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: ........... 66 (scalar:56, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, 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: ........... 103 (scalar:81, array:20, record:2) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.893e-05/0.3416, allocations: 47.56 kB / 0.6641 GB, free: 9.188 MB / 478.1 MB Notification: Performance of SimCode: time 0.006807/0.3484, allocations: 5.596 MB / 0.6695 GB, free: 3.523 MB / 478.1 MB [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord(\"N2\", 0.0280134, 0.0, 309498.4543111511, 1000.0, {22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-5, -9.62579362e-9, 2.519705809e-12}, {710.846086, -10.76003744}, {587712.406, -2239.249073, 6.06694922, -6.1396855e-4, 1.491806679e-7, -1.923105485e-11, 1.061954386e-15}, {12832.10415, -15.86640027}, 296.8033869505308). [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord(\"O2\", 0.0319988, 0.0, 271263.4223783392, 1000.0, {-34255.6342, 484.700097, 1.119010961, 0.00429388924, -6.83630052e-7, -2.0233727e-9, 1.039040018e-12}, {-3391.45487, 18.4969947}, {-1.037939022e6, 2344.830282, 1.819732036, 0.001267847582, -2.188067988e-7, 2.053719572e-11, -8.193467050000001e-16}, {-16890.10929, 17.38716506}, 259.8369938872708). Notification: Performance of Templates: time 0.01901/0.3674, allocations: 13.18 MB / 0.6824 GB, free: 6.316 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile [Timeout 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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_Test_GasComponents_TestGasTurbine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.o ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.c In file included from ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.c:7: In file included from ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_model.h:131: ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_literals.h:32:14: error: unknown type name 'modelica_Modelica_Media_IdealGases_Common_DataRecord'; did you mean 'Modelica_Media_IdealGases_Common_DataRecord'? static const modelica_Modelica_Media_IdealGases_Common_DataRecord _OMC_LIT8_data[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Media_IdealGases_Common_DataRecord ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_functions.h:25:3: note: 'Modelica_Media_IdealGases_Common_DataRecord' declared here } Modelica_Media_IdealGases_Common_DataRecord; ^ In file included from ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.c:7: In file included from ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_model.h:131: ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_literals.h:33:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("N2", 0.0280134, 0.0, 309498.4543111511, 1000.0, {22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-5, -9.62579362e-9, 2.519705809e-12}, {710.846086, -10.76003744}, {587712.406, -2239.249073, 6.06694922, -6.1396855e-4, 1.491806679e-7, -1.923105485e-11, 1.061954386e-15}, {12832.10415, -15.86640027}, 296.8033869505308)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("N2", 0.0280134, 0.0, 309498.4543111511, 1000.0, {22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-5, -9.62579362e-9, 2.519705809e-12}, {710.846086, -10.76003744}, {587712.406, -2239.249073, 6.06694922, -6.1396855e-4, 1.491806679e-7, -1.923105485e-11, 1.061954386e-15}, {12832.10415, -15.86640027}, 296.8033869505308)" ^ ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_literals.h:34:1: error: expected expression , ^ ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine_literals.h:35:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("O2", 0.0319988, 0.0, 271263.4223783392, 1000.0, {-34255.6342, 484.700097, 1.119010961, 0.00429388924, -6.83630052e-7, -2.0233727e-9, 1.039040018e-12}, {-3391.45487, 18.4969947}, {-1.037939022e6, 2344.830282, 1.819732036, 0.001267847582, -2.188067988e-7, 2.053719572e-11, -8.193467050000001e-16}, {-16890.10929, 17.38716506}, 259.8369938872708)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("O2", 0.0319988, 0.0, 271263.4223783392, 1000.0, {-34255.6342, 484.700097, 1.119010961, 0.00429388924, -6.83630052e-7, -2.0233727e-9, 1.039040018e-12}, {-3391.45487, 18.4969947}, {-1.037939022e6, 2344.830282, 1.819732036, 0.001267847582, -2.188067988e-7, 2.053719572e-11, -8.193467050000001e-16}, {-16890.10929, 17.38716506}, 259.8369938872708)" ^ 4 errors generated. make: *** [: ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5507770283147693] Failed to read output from testmodel.py, exit status != 0: 0.37421616166830063 0.38663451200000004 0.066841945 Calling exit ...