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.001432/0.001432, allocations: 113.1 kB / 21.86 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.001648/0.001648, allocations: 219 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.334/1.334, allocations: 230.4 MB / 258.7 MB, free: 7.934 MB / 206.1 MB
"
[Timeout remaining time 179]
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 1.633e-05/1.633e-05, allocations: 4.672 kB / 379.3 MB, free: 2.863 MB / 302.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002123/0.00214, allocations: 1.391 MB / 380.7 MB, free: 1.465 MB / 302.1 MB
Notification: Performance of NFInst.instExpressions: time 0.282/0.2842, allocations: 150.8 MB / 0.519 GB, free: 5.246 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.2842, allocations: 3.938 kB / 0.519 GB, free: 5.242 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.627e-05/0.2843, allocations: 3.938 kB / 0.519 GB, free: 5.238 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2855, allocations: 386.4 kB / 0.5194 GB, free: 4.859 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2867, allocations: 0.5186 MB / 0.5199 GB, free: 4.344 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2869, allocations: 87.62 kB / 0.52 GB, free: 4.258 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.2869, allocations: 0 / 0.52 GB, free: 4.258 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.2869, allocations: 39.84 kB / 0.52 GB, free: 4.219 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.287, allocations: 31.84 kB / 0.5201 GB, free: 4.188 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.287, allocations: 4 kB / 0.5201 GB, free: 4.184 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.2884, allocations: 0.8879 MB / 0.5209 GB, free: 3.297 MB / 430.1 MB
Notification: Performance of combineBinaries: time 0.0001077/0.2885, allocations: 99.75 kB / 0.521 GB, free: 3.199 MB / 430.1 MB
Notification: Performance of replaceArrayConstructors: time 5.438e-05/0.2886, allocations: 68.66 kB / 0.5211 GB, free: 3.133 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.2886, allocations: 8 kB / 0.5211 GB, free: 3.125 MB / 430.1 MB
Notification: Performance of FrontEnd: time 8.746e-06/0.2886, allocations: 0 / 0.5211 GB, free: 3.125 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.0005121/0.2891, allocations: 410.4 kB / 0.5215 GB, free: 2.605 MB / 430.1 MB
Notification: Performance of FunctionAlias: time 5.323e-05/0.2892, allocations: 36.02 kB / 0.5215 GB, free: 2.559 MB / 430.1 MB
Notification: Performance of Early Inline: time 0.0003563/0.2896, allocations: 288 kB / 0.5218 GB, free: 2.25 MB / 430.1 MB
Notification: Performance of Simplify 1: time 8.722e-05/0.2896, allocations: 80.66 kB / 0.5219 GB, free: 2.125 MB / 430.1 MB
Notification: Performance of Alias: time 0.0001113/0.2898, allocations: 104.6 kB / 0.522 GB, free: 1.973 MB / 430.1 MB
Notification: Performance of Simplify 2: time 6.924e-05/0.2898, allocations: 72.67 kB / 0.522 GB, free: 1.855 MB / 430.1 MB
Notification: Performance of Remove Stream: time 4.938e-05/0.2899, allocations: 52.41 kB / 0.5221 GB, free: 1.777 MB / 430.1 MB
Notification: Performance of Detect States: time 0.0001408/0.29, allocations: 104.7 kB / 0.5222 GB, free: 1.621 MB / 430.1 MB
Notification: Performance of Events: time 9.805e-05/0.2901, allocations: 35.56 kB / 0.5222 GB, free: 1.59 MB / 430.1 MB
Notification: Performance of Partitioning: time 0.0001023/0.2902, allocations: 60.03 kB / 0.5223 GB, free: 1.523 MB / 430.1 MB
Notification: Performance of Causalize: time 0.0003186/0.2905, allocations: 157.7 kB / 0.5224 GB, free: 1.371 MB / 430.1 MB
Notification: Performance of After Index Reduction Inline: time 0.0001323/0.2907, allocations: 143.8 kB / 0.5226 GB, free: 1.23 MB / 430.1 MB
Notification: Performance of Simplify: time 0.0007491/0.2914, allocations: 0.4942 MB / 0.5231 GB, free: 0.6758 MB / 430.1 MB
Notification: Performance of Inline: time 0.0006047/0.292, allocations: 0.5619 MB / 0.5236 GB, free: 112 kB / 430.1 MB
Notification: Performance of Partitioning: time 1.711e-05/0.292, allocations: 12.12 kB / 0.5236 GB, free: 92 kB / 430.1 MB
Notification: Performance of Cleanup: time 6.766e-05/0.2921, allocations: 64.89 kB / 0.5237 GB, free: 28 kB / 430.1 MB
Notification: Performance of Causalize: time 0.0004182/0.2925, allocations: 305.7 kB / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Tearing: time 1.193e-05/0.2925, allocations: 4 kB / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Initialization: time 3.71e-07/0.2925, allocations: 0 / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Remove Dummies: time 2.745e-06/0.2925, allocations: 0 / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Tearing: time 9.42e-07/0.2925, allocations: 4 kB / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Categorize: time 4.378e-06/0.2925, allocations: 0 / 0.524 GB, free: 15.73 MB / 446.1 MB
Notification: Performance of Solve: time 0.0004635/0.293, allocations: 347.7 kB / 0.5243 GB, free: 15.39 MB / 446.1 MB
Notification: Performance of Jacobian: time 0.0002424/0.2933, allocations: 266 kB / 0.5246 GB, free: 15.09 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.241e-05/0.2933, allocations: 32.48 kB / 0.5246 GB, free: 15.06 MB / 446.1 MB
Notification: Performance of SimCode: time 0.002516/0.2958, allocations: 2.244 MB / 0.5268 GB, free: 12.8 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.01077/0.3066, allocations: 6.737 MB / 0.5334 GB, free: 6.043 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:116:
./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:116:
./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: *** [<builtin>: Modelica_4.1.0-beta.om_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.o] Error 1
[Calling os._exit(0), Time elapsed: 2.512916970998049]
Failed to read output from testmodel.py, exit status != 0:
['time', 'h1', 's1']
0.3136535929515958 0.462278823 0.17127953
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5e756bd780>