Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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.001347/0.001347, allocations: 108.8 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.0014/0.0014, allocations: 186 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.209/1.209, 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.2613/0.2613, allocations: 49.55 MB / 336.9 MB, free: 4.156 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.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") translateModel(ThermoPower.Test.GasComponents.TestGasTurbineStodola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.54e-05, allocations: 2.281 kB / 477.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasTurbineStodola): time 0.3348/0.3348, allocations: 169 MB / 0.631 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004895/0.3397, allocations: 3.769 MB / 0.6347 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.3401, allocations: 12.81 kB / 0.6347 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.3409, allocations: 275.3 kB / 0.635 GB, free: 7.773 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.001073/0.342, allocations: 467.9 kB / 0.6354 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.3453, allocations: 1.503 MB / 0.6369 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.3466, allocations: 1.348 MB / 0.6382 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.347, allocations: 357.9 kB / 0.6386 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.3477, allocations: 0.5296 MB / 0.6391 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.3481, allocations: 398.4 kB / 0.6394 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.3482, allocations: 56 kB / 0.6395 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.3499, allocations: 1.154 MB / 0.6406 GB, free: 2.246 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0009883/0.3509, allocations: 1.196 MB / 0.6418 GB, free: 1.039 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005118/0.3514, allocations: 0.7412 MB / 0.6425 GB, free: 296 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3515, allocations: 107.8 kB / 0.6426 GB, free: 188 kB / 446.1 MB Notification: Performance of FrontEnd: time 6.929e-05/0.3516, allocations: 23.86 kB / 0.6426 GB, free: 164 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 (110) * Number of variables: 128 (110) Notification: Performance of Bindings: time 0.002932/0.3545, allocations: 3.079 MB / 0.6457 GB, free: 12.94 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.0003361/0.3549, allocations: 265.5 kB / 0.6459 GB, free: 12.67 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001409/0.3563, allocations: 1.425 MB / 0.6473 GB, free: 11.21 MB / 462.1 MB Notification: Performance of Simplify 1: time 0.0004064/0.3567, allocations: 292.2 kB / 0.6476 GB, free: 10.87 MB / 462.1 MB Notification: Performance of Alias: time 0.002838/0.3595, allocations: 2.19 MB / 0.6497 GB, free: 8.438 MB / 462.1 MB Notification: Performance of Simplify 2: time 0.0002924/0.3598, allocations: 220.3 kB / 0.6499 GB, free: 8.168 MB / 462.1 MB Notification: Performance of Remove Stream: time 0.0001816/0.36, allocations: 158.9 kB / 0.6501 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Detect States: time 0.0003728/0.3604, allocations: 347 kB / 0.6504 GB, free: 7.594 MB / 462.1 MB Notification: Performance of Events: time 0.0002396/0.3606, allocations: 174.2 kB / 0.6506 GB, free: 7.426 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0005673/0.3612, allocations: 0.5195 MB / 0.6511 GB, free: 6.781 MB / 462.1 MB Notification: Performance of Causalize: time 0.004435/0.3656, allocations: 3.69 MB / 0.6547 GB, free: 2.91 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008839/0.3665, allocations: 0.9793 MB / 0.6556 GB, free: 1.93 MB / 462.1 MB Notification: Performance of Simplify: time 0.002318/0.3688, allocations: 0.7572 MB / 0.6564 GB, free: 1.098 MB / 462.1 MB Notification: Performance of Inline: time 0.001512/0.3703, allocations: 1.652 MB / 0.658 GB, free: 15.45 MB / 478.1 MB Notification: Performance of Partitioning: time 6.906e-05/0.3704, allocations: 39.94 kB / 0.658 GB, free: 15.39 MB / 478.1 MB Notification: Performance of Cleanup: time 0.0002035/0.3706, allocations: 243.7 kB / 0.6583 GB, free: 15.16 MB / 478.1 MB Notification: Performance of Causalize: time 0.005255/0.3759, allocations: 4.467 MB / 0.6626 GB, free: 10.71 MB / 478.1 MB Notification: Performance of Tearing: time 2.933e-05/0.3759, allocations: 32 kB / 0.6627 GB, free: 10.68 MB / 478.1 MB Notification: Performance of Initialization: time 5.41e-07/0.3759, allocations: 3.938 kB / 0.6627 GB, free: 10.68 MB / 478.1 MB Notification: Performance of Remove Dummies: time 8.386e-06/0.3759, allocations: 4.438 kB / 0.6627 GB, free: 10.67 MB / 478.1 MB Notification: Performance of Tearing: time 1.743e-05/0.3759, allocations: 23.94 kB / 0.6627 GB, free: 10.65 MB / 478.1 MB Notification: Performance of Categorize: time 1.596e-05/0.3759, allocations: 7.938 kB / 0.6627 GB, free: 10.64 MB / 478.1 MB Notification: Performance of Solve: time 0.00167/0.3776, allocations: 1.213 MB / 0.6639 GB, free: 9.375 MB / 478.1 MB Notification: Performance of Jacobian: time 0.0005548/0.3782, allocations: 0.4989 MB / 0.6644 GB, free: 8.84 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: ............................. 1 (1) {ConstantSpeed1.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: ........... 71 (scalar:61, 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: ........... 105 (scalar:88, array:16, record:1) * 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 5.719e-05/0.3782, allocations: 63.77 kB / 0.6644 GB, free: 8.785 MB / 478.1 MB Notification: Performance of SimCode: time 0.00729/0.3855, allocations: 5.229 MB / 0.6695 GB, free: 3.477 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.02003/0.4055, allocations: 13.08 MB / 0.6823 GB, free: 6.371 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.makefile [Timeout 660] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.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_TestGasTurbineStodola -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.TestGasTurbineStodola.o ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.c In file included from ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola.c:7: In file included from ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_model.h:132: ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_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.TestGasTurbineStodola_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.TestGasTurbineStodola.c:7: In file included from ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_model.h:132: ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_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.TestGasTurbineStodola_literals.h:34:1: error: expected expression , ^ ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbineStodola_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.TestGasTurbineStodola.o] Error 1 [Calling os._exit(0), Time elapsed: 2.721526511013508] Failed to read output from testmodel.py, exit status != 0: 0.4121078625321388 0.424671982 0.07039601000000001 Calling exit ...