Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001177/0.001177, allocations: 106.9 kB / 16.42 MB, free: 6.016 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.001172/0.001172, allocations: 186.5 kB / 17.35 MB, free: 5.594 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.258/1.258, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.525e-05, allocations: 3.547 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3173/0.3174, allocations: 150.8 MB / 478 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3192, allocations: 1.493 MB / 479.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.3193, allocations: 0 / 479.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.3196, allocations: 51.72 kB / 479.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000752/0.3204, allocations: 387.6 kB / 479.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.3209, allocations: 163.5 kB / 480.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.3211, allocations: 199.2 kB / 480.3 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.3212, allocations: 7.984 kB / 480.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3213, allocations: 83.69 kB / 480.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3214, allocations: 51.78 kB / 480.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3214, allocations: 11.56 kB / 480.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.3222, allocations: 0.5378 MB / 481 MB, free: 12.31 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001442/0.3224, allocations: 167 kB / 481.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 6.241e-05/0.3225, allocations: 102.8 kB / 481.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.3225, allocations: 19.94 kB / 481.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-05/0.3225, allocations: 0 / 481.3 MB, free: 12.03 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.0006399/0.3232, allocations: 0.5581 MB / 481.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FunctionAlias: time 3.607e-05/0.3232, allocations: 23.92 kB / 481.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0006553/0.3239, allocations: 0.6522 MB / 482.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simplify1: time 6.981e-05/0.3239, allocations: 71.88 kB / 482.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Alias: time 0.000425/0.3244, allocations: 329.6 kB / 482.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simplify2: time 6.138e-05/0.3244, allocations: 63.92 kB / 483 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Events: time 0.0001475/0.3246, allocations: 88.97 kB / 483 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002084/0.3248, allocations: 168.8 kB / 483.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001824/0.325, allocations: 156.6 kB / 483.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of Causalize: time 0.001114/0.3261, allocations: 1.046 MB / 484.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004146/0.3265, allocations: 484 kB / 484.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of Inline: time 0.00177/0.3283, allocations: 1.921 MB / 486.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of Partitioning: time 3.165e-05/0.3284, allocations: 29.72 kB / 486.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of Cleanup: time 7.63e-05/0.3284, allocations: 79.83 kB / 486.9 MB, free: 6.113 MB / 382.1 MB Notification: Performance of Causalize: time 0.00231/0.3308, allocations: 2.288 MB / 489.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of Tearing: time 6.833e-06/0.3308, allocations: 0 / 489.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of Initialization: time 3.31e-07/0.3308, allocations: 0 / 489.2 MB, free: 3.828 MB / 382.1 MB Notification: Performance of Tearing: time 0.0006966/0.3315, allocations: 439 kB / 489.6 MB, free: 3.352 MB / 382.1 MB Notification: Performance of Categorize: time 8.045e-06/0.3315, allocations: 4.031 kB / 489.6 MB, free: 3.348 MB / 382.1 MB Notification: Performance of Solve: time 0.0003455/0.3319, allocations: 240.4 kB / 489.9 MB, free: 3.113 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0004731/0.3323, allocations: 0.5086 MB / 490.4 MB, free: 2.566 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 3.596e-05/0.3324, allocations: 23.02 kB / 490.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of SimCode: time 0.001859/0.3343, allocations: 1.783 MB / 492.2 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of Templates: time 0.009071/0.3433, allocations: 6.271 MB / 498.5 MB, free: 10.46 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c Modelica_3.2.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.2.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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o] Error 1