Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001145/0.001145, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001102/0.001102, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.278/1.278, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/1.888e-05, allocations: 7.062 kB / 328.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3052/0.3052, allocations: 150.9 MB / 479.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.307, allocations: 1.489 MB / 480.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.307, allocations: 0 / 480.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.3074, allocations: 47.73 kB / 480.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008055/0.3083, allocations: 390.8 kB / 481.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004977/0.3088, allocations: 167.5 kB / 481.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.3091, allocations: 191.2 kB / 481.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3091, allocations: 4 kB / 481.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.3093, allocations: 83.69 kB / 481.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3094, allocations: 55.77 kB / 481.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3094, allocations: 11.98 kB / 481.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009516/0.3104, allocations: 0.5401 MB / 482.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001622/0.3106, allocations: 163 kB / 482.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 6.413e-05/0.3106, allocations: 102.8 kB / 482.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.3107, allocations: 15.94 kB / 482.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.491e-05/0.3107, allocations: 4 kB / 482.6 MB, free: 12.05 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.0006647/0.3114, allocations: 0.562 MB / 483.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FunctionAlias: time 3.252e-05/0.3114, allocations: 19.94 kB / 483.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Early Inline: time 0.000681/0.3121, allocations: 0.6522 MB / 483.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simplify1: time 6.55e-05/0.3122, allocations: 63.94 kB / 483.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Alias: time 0.0004516/0.3126, allocations: 345.5 kB / 484.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simplify2: time 5.843e-05/0.3127, allocations: 59.95 kB / 484.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Events: time 0.0002005/0.3129, allocations: 88.97 kB / 484.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Detect States: time 0.0001944/0.3131, allocations: 168.8 kB / 484.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001832/0.3133, allocations: 164.5 kB / 484.7 MB, free: 9.746 MB / 382.1 MB Notification: Performance of Causalize: time 0.001177/0.3145, allocations: 1.043 MB / 485.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004154/0.3149, allocations: 484 kB / 486.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of Inline: time 0.001884/0.3168, allocations: 1.913 MB / 488.1 MB, free: 6.25 MB / 382.1 MB Notification: Performance of Partitioning: time 3.28e-05/0.3168, allocations: 28.12 kB / 488.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of Cleanup: time 7.876e-05/0.3169, allocations: 91.8 kB / 488.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of Causalize: time 0.002255/0.3192, allocations: 2.277 MB / 490.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of Tearing: time 7.023e-06/0.3192, allocations: 3.938 kB / 490.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of Initialization: time 3e-07/0.3192, allocations: 0 / 490.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of Tearing: time 0.0007014/0.3199, allocations: 434 kB / 490.9 MB, free: 3.371 MB / 382.1 MB Notification: Performance of Categorize: time 8.135e-06/0.3199, allocations: 4.031 kB / 490.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of Solve: time 0.0003066/0.3202, allocations: 244.4 kB / 491.2 MB, free: 3.129 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0004417/0.3207, allocations: 0.5067 MB / 491.7 MB, free: 2.582 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 4.118e-05/0.3207, allocations: 31.09 kB / 491.7 MB, free: 2.559 MB / 382.1 MB Notification: Performance of SimCode: time 0.001834/0.3226, allocations: 1.777 MB / 493.5 MB, free: 0.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008878/0.3315, allocations: 6.262 MB / 499.8 MB, free: 10.48 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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_3_2_2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c Modelica_3.2.2_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.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.o] Error 1