Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 113.1 kB / 21.87 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 215.2 kB / 25.15 MB, free: 3.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 230.5 MB / 258.8 MB, free: 8.113 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.653e-05, allocations: 2.281 kB / 379.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002519/0.002545, allocations: 1.392 MB / 380.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3677/0.3703, allocations: 150.3 MB / 0.5186 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.3703, allocations: 0 / 0.5186 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.3704, allocations: 3.938 kB / 0.5186 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.3719, allocations: 382.4 kB / 0.519 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.3734, allocations: 0.5295 MB / 0.5195 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.3735, allocations: 83.56 kB / 0.5196 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.3736, allocations: 0 / 0.5196 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.3736, allocations: 43.83 kB / 0.5196 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.3737, allocations: 31.86 kB / 0.5197 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3737, allocations: 4 kB / 0.5197 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.3755, allocations: 0.8881 MB / 0.5205 GB, free: 3.645 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0001425/0.3756, allocations: 111.7 kB / 0.5206 GB, free: 3.535 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 6.366e-05/0.3757, allocations: 59.97 kB / 0.5207 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.3757, allocations: 7.938 kB / 0.5207 GB, free: 3.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.975e-06/0.3757, allocations: 0 / 0.5207 GB, free: 3.469 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0006688/0.3764, allocations: 406.4 kB / 0.5211 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FunctionAlias: time 6.609e-05/0.3764, allocations: 36.03 kB / 0.5211 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0004441/0.3769, allocations: 287.8 kB / 0.5214 GB, free: 2.598 MB / 430.1 MB Notification: Performance of Simplify 1: time 0.0001012/0.377, allocations: 80.66 kB / 0.5215 GB, free: 2.473 MB / 430.1 MB Notification: Performance of Alias: time 0.0001392/0.3771, allocations: 104.8 kB / 0.5216 GB, free: 2.32 MB / 430.1 MB Notification: Performance of Simplify 2: time 8.92e-05/0.3772, allocations: 88.64 kB / 0.5217 GB, free: 2.188 MB / 430.1 MB Notification: Performance of Remove Stream: time 5.366e-05/0.3773, allocations: 36.44 kB / 0.5217 GB, free: 2.125 MB / 430.1 MB Notification: Performance of Detect States: time 0.0001753/0.3774, allocations: 108.6 kB / 0.5218 GB, free: 1.965 MB / 430.1 MB Notification: Performance of Events: time 0.0001212/0.3776, allocations: 27.64 kB / 0.5218 GB, free: 1.941 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001189/0.3777, allocations: 64.56 kB / 0.5219 GB, free: 1.871 MB / 430.1 MB Notification: Performance of Causalize: time 0.0003611/0.378, allocations: 159.1 kB / 0.522 GB, free: 1.719 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001593/0.3782, allocations: 143.8 kB / 0.5222 GB, free: 1.578 MB / 430.1 MB Notification: Performance of Simplify: time 0.0009173/0.3791, allocations: 0.4959 MB / 0.5227 GB, free: 1.02 MB / 430.1 MB Notification: Performance of Inline: time 0.0007571/0.3799, allocations: 0.5658 MB / 0.5232 GB, free: 460 kB / 430.1 MB Notification: Performance of Partitioning: time 2.289e-05/0.3799, allocations: 12.12 kB / 0.5232 GB, free: 440 kB / 430.1 MB Notification: Performance of Cleanup: time 9.457e-05/0.38, allocations: 70.61 kB / 0.5233 GB, free: 372 kB / 430.1 MB Notification: Performance of Causalize: time 0.0004535/0.3804, allocations: 296.2 kB / 0.5236 GB, free: 76 kB / 430.1 MB Notification: Performance of Tearing: time 1.252e-05/0.3805, allocations: 4 kB / 0.5236 GB, free: 72 kB / 430.1 MB Notification: Performance of Initialization: time 3.51e-07/0.3805, allocations: 4 kB / 0.5236 GB, free: 68 kB / 430.1 MB Notification: Performance of Remove Dummies: time 4.118e-06/0.3805, allocations: 0 / 0.5236 GB, free: 68 kB / 430.1 MB Notification: Performance of Tearing: time 9.82e-07/0.3805, allocations: 4 kB / 0.5236 GB, free: 64 kB / 430.1 MB Notification: Performance of Categorize: time 7.805e-06/0.3805, allocations: 4 kB / 0.5236 GB, free: 60 kB / 430.1 MB Notification: Performance of Solve: time 0.0005687/0.381, allocations: 355.6 kB / 0.5239 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Jacobian: time 0.0002968/0.3813, allocations: 263 kB / 0.5242 GB, free: 15.42 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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) {h1, s1} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (2) {$SEV_0, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.598e-05/0.3814, allocations: 31.25 kB / 0.5242 GB, free: 15.39 MB / 446.1 MB Notification: Performance of SimCode: time 0.003429/0.3848, allocations: 2.256 MB / 0.5264 GB, free: 13.12 MB / 446.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.80474344420884). [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.8381814318037). [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord(\"H2O\", 0.01801528, -1.342338281725291e7, 549760.6476280135, 1000.0, {-39479.6083, 575.573102, 0.931782653, 0.00722271286, -7.34255737e-6, 4.95504349e-9, -1.336933246e-12}, {-33039.7431, 17.24205775}, {1.034972096e6, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-7, 9.426468930000001e-11, -4.82238053e-15}, {-13842.86509, -7.97814851}, 461.5254384056201). [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord(\"CO2\", 0.0440095, -8.941478544405185e6, 212805.6215135368, 1000.0, {49436.5054, -626.411601, 5.30172524, 0.002503813816, -2.127308728e-7, -7.68998878e-10, 2.849677801e-13}, {-45281.9846, -7.04827944}, {117696.2419, -1788.791477, 8.29152319, -9.22315678e-5, 4.86367688e-9, -1.891053312e-12, 6.330036589999999e-16}, {-39083.5059, -26.52669281}, 188.92534566400437). Notification: Performance of Templates: time 0.01334/0.3981, allocations: 6.745 MB / 0.533 GB, free: 6.355 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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=Modelica_4_1_0_beta_om_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.o Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.c In file included from Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.c:7: In file included from ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_model.h:117: ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:65: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_LIT19_data[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Media_IdealGases_Common_DataRecord ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_functions.h:55:3: note: 'Modelica_Media_IdealGases_Common_DataRecord' declared here } Modelica_Media_IdealGases_Common_DataRecord; ^ In file included from Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.c:7: In file included from ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_model.h:117: ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:66: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.80474344420884)" #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.80474344420884)" ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:67:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:68: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.8381814318037)" #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.8381814318037)" ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:69:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:70:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("H2O", 0.01801528, -1.342338281725291e7, 549760.6476280135, 1000.0, {-39479.6083, 575.573102, 0.931782653, 0.00722271286, -7.34255737e-6, 4.95504349e-9, -1.336933246e-12}, {-33039.7431, 17.24205775}, {1.034972096e6, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-7, 9.426468930000001e-11, -4.82238053e-15}, {-13842.86509, -7.97814851}, 461.5254384056201)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("H2O", 0.01801528, -1.342338281725291e7, 549760.6476280135, 1000.0, {-39479.6083, 575.573102, 0.931782653, 0.00722271286, -7.34255737e-6, 4.95504349e-9, -1.336933246e-12}, {-33039.7431, 17.24205775}, {1.034972096e6, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-7, 9.426468930000001e-11, -4.82238053e-15}, {-13842.86509, -7.97814851}, 461.5254384056201)" ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:71:1: error: expected expression , ^ ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_literals.h:72:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("CO2", 0.0440095, -8.941478544405185e6, 212805.6215135368, 1000.0, {49436.5054, -626.411601, 5.30172524, 0.002503813816, -2.127308728e-7, -7.68998878e-10, 2.849677801e-13}, {-45281.9846, -7.04827944}, {117696.2419, -1788.791477, 8.29152319, -9.22315678e-5, 4.86367688e-9, -1.891053312e-12, 6.330036589999999e-16}, {-39083.5059, -26.52669281}, 188.92534566400437)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Modelica.Media.IdealGases.Common.DataRecord("CO2", 0.0440095, -8.941478544405185e6, 212805.6215135368, 1000.0, {49436.5054, -626.411601, 5.30172524, 0.002503813816, -2.127308728e-7, -7.68998878e-10, 2.849677801e-13}, {-45281.9846, -7.04827944}, {117696.2419, -1788.791477, 8.29152319, -9.22315678e-5, 4.86367688e-9, -1.891053312e-12, 6.330036589999999e-16}, {-39083.5059, -26.52669281}, 188.92534566400437)" ^ 8 errors generated. make: *** [: Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.o] Error 1 [Calling os._exit(0), Time elapsed: 2.874859318137169] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.406898632645607 0.59452683 0.216005582 Calling exit ...