Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 105.5 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 189.9 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.634e-05, allocations: 2.281 kB / 327.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3498/0.3498, allocations: 150.9 MB / 478 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3518, allocations: 1.489 MB / 479.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.3519, allocations: 0 / 479.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.3522, allocations: 51.72 kB / 479.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.3531, allocations: 386.7 kB / 479.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3535, allocations: 167.5 kB / 480.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.3538, allocations: 195.2 kB / 480.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3538, allocations: 4 kB / 480.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.354, allocations: 87.67 kB / 480.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3542, allocations: 51.78 kB / 480.4 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3542, allocations: 8 kB / 480.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.3551, allocations: 0.5438 MB / 481 MB, free: 12.32 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001748/0.3553, allocations: 167 kB / 481.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 6.982e-05/0.3553, allocations: 94.8 kB / 481.2 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.3554, allocations: 15.94 kB / 481.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.171e-05/0.3554, allocations: 4 kB / 481.3 MB, free: 12.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 (21) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0006505/0.3561, allocations: 0.5659 MB / 481.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of FunctionAlias: time 3.657e-05/0.3561, allocations: 23.94 kB / 481.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0006888/0.3568, allocations: 0.6483 MB / 482.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simplify1: time 6.517e-05/0.3569, allocations: 63.94 kB / 482.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Alias: time 0.0004349/0.3573, allocations: 337.5 kB / 482.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplify2: time 7.043e-05/0.3574, allocations: 63.94 kB / 483 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Events: time 0.0001545/0.3576, allocations: 92.91 kB / 483 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002175/0.3578, allocations: 164 kB / 483.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0002112/0.358, allocations: 165.4 kB / 483.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of Causalize: time 0.001239/0.3593, allocations: 1.038 MB / 484.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004222/0.3597, allocations: 488 kB / 484.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of Inline: time 0.001893/0.3616, allocations: 1.921 MB / 486.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of Partitioning: time 3.787e-05/0.3616, allocations: 28.11 kB / 486.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of Cleanup: time 8.784e-05/0.3617, allocations: 83.83 kB / 486.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of Causalize: time 0.002388/0.3641, allocations: 2.28 MB / 489.2 MB, free: 3.844 MB / 382.1 MB Notification: Performance of Tearing: time 9.959e-06/0.3641, allocations: 7.922 kB / 489.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of Initialization: time 6.52e-07/0.3641, allocations: 0 / 489.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of Tearing: time 0.0007767/0.3649, allocations: 438 kB / 489.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of Categorize: time 9.498e-06/0.3649, allocations: 7.969 kB / 489.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of Solve: time 0.0003796/0.3653, allocations: 236.4 kB / 489.9 MB, free: 3.121 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0006103/0.366, allocations: 0.5105 MB / 490.4 MB, free: 2.57 MB / 382.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) {m, U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {$SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:19, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (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: ........... 26 (scalar:23, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.738e-05/0.366, allocations: 30 kB / 490.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of SimCode: time 0.002032/0.3681, allocations: 1.769 MB / 492.2 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of Templates: time 0.009739/0.3778, allocations: 6.268 MB / 498.4 MB, free: 10.47 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_1_Modelica_Media_Examples_TestOnly_IdealGasN2Mix -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 Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:245:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:248:118: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[9] /* medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:259:112: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Nitrogen\"}", (long) i); ^ 4 errors generated. make: *** [: Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o] Error 1