Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.00114/0.00114, allocations: 189.9 kB / 17.36 MB, free: 5.727 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1808/0.1808, allocations: 39.96 MB / 310.5 MB, free: 4.035 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.408e-05, allocations: 2.5 kB / 436.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3464/0.3464, allocations: 150.8 MB / 0.5735 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.348, allocations: 1.492 MB / 0.5749 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.348, allocations: 0 / 0.5749 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.3484, allocations: 45.58 kB / 0.575 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.3491, allocations: 392.3 kB / 0.5753 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.3497, allocations: 167.1 kB / 0.5755 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.3499, allocations: 195.4 kB / 0.5757 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3499, allocations: 8.688 kB / 0.5757 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3501, allocations: 83.05 kB / 0.5758 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3502, allocations: 55.14 kB / 0.5758 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3502, allocations: 11.34 kB / 0.5758 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.351, allocations: 0.5356 MB / 0.5764 GB, free: 11.93 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001461/0.3512, allocations: 166.3 kB / 0.5765 GB, free: 11.85 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 6.018e-05/0.3512, allocations: 99.75 kB / 0.5766 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3513, allocations: 15.66 kB / 0.5766 GB, free: 11.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-05/0.3513, allocations: 6.75 kB / 0.5766 GB, free: 11.79 MB / 414.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.000567/0.3519, allocations: 0.5598 MB / 0.5772 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FunctionAlias: time 2.808e-05/0.3519, allocations: 23.75 kB / 0.5772 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0006048/0.3525, allocations: 0.6523 MB / 0.5778 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simplify1: time 5.672e-05/0.3526, allocations: 66.83 kB / 0.5779 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Alias: time 0.0003687/0.3529, allocations: 348 kB / 0.5782 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simplify2: time 6.359e-05/0.353, allocations: 62.45 kB / 0.5783 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Events: time 0.0001423/0.3532, allocations: 89.11 kB / 0.5784 GB, free: 10.93 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001884/0.3534, allocations: 151.5 kB / 0.5785 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001545/0.3535, allocations: 158.9 kB / 0.5787 GB, free: 10.82 MB / 414.1 MB Notification: Performance of Causalize: time 0.0009799/0.3545, allocations: 1.048 MB / 0.5797 GB, free: 10.6 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003655/0.3549, allocations: 490.4 kB / 0.5802 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Inline: time 0.001489/0.3564, allocations: 1.919 MB / 0.582 GB, free: 9.883 MB / 414.1 MB Notification: Performance of Partitioning: time 2.724e-05/0.3564, allocations: 28.47 kB / 0.5821 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Cleanup: time 7.127e-05/0.3565, allocations: 92.62 kB / 0.5822 GB, free: 9.828 MB / 414.1 MB Notification: Performance of Causalize: time 0.002031/0.3585, allocations: 2.272 MB / 0.5844 GB, free: 8.684 MB / 414.1 MB Notification: Performance of Tearing: time 8.866e-06/0.3586, allocations: 3.984 kB / 0.5844 GB, free: 8.68 MB / 414.1 MB Notification: Performance of Initialization: time 6.31e-07/0.3586, allocations: 3 kB / 0.5844 GB, free: 8.68 MB / 414.1 MB Notification: Performance of Tearing: time 0.000644/0.3592, allocations: 432.3 kB / 0.5848 GB, free: 8.332 MB / 414.1 MB Notification: Performance of Categorize: time 7.674e-06/0.3592, allocations: 0.5469 kB / 0.5848 GB, free: 8.332 MB / 414.1 MB Notification: Performance of Solve: time 0.0003017/0.3595, allocations: 245.5 kB / 0.585 GB, free: 8.23 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0004316/0.36, allocations: 0.5042 MB / 0.5855 GB, free: 7.859 MB / 414.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.228e-05/0.36, allocations: 36.64 kB / 0.5856 GB, free: 7.844 MB / 414.1 MB Notification: Performance of SimCode: time 0.001673/0.3617, allocations: 1.74 MB / 0.5873 GB, free: 6.164 MB / 414.1 MB Notification: Performance of Templates: time 0.008817/0.3705, allocations: 6.185 MB / 0.5933 GB, free: 15.99 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.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=ModelicaTest_3_2_2_ModelicaTest_Media_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 ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.o ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c:245:59: error: use of undeclared identifier 'i' tmp25 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c:248:118: error: use of undeclared identifier 'i' tmp29 = modelica_real_to_modelica_string((&data->localData[0]->realVars[9] /* medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_3.2.2_ModelicaTest.Media.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: *** [: ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.o] Error 1