Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001096/0.001096, allocations: 108.2 kB / 16.42 MB, free: 6.473 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.001122/0.001122, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.212/1.212, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1633/0.1633, allocations: 38.01 MB / 308.6 MB, free: 5.961 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.246e-05, allocations: 9.453 kB / 433.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3457/0.3457, allocations: 150.8 MB / 0.5707 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3472, allocations: 1.494 MB / 0.5722 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.3472, allocations: 0 / 0.5722 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.3474, allocations: 49.06 kB / 0.5722 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.348, allocations: 388.8 kB / 0.5726 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.3484, allocations: 171.2 kB / 0.5728 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.3486, allocations: 194.3 kB / 0.573 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.435e-05/0.3486, allocations: 6.812 kB / 0.573 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3488, allocations: 85.69 kB / 0.5731 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.3488, allocations: 54.53 kB / 0.5731 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3489, allocations: 9.688 kB / 0.5731 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.3496, allocations: 0.54 MB / 0.5736 GB, free: 12.49 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001209/0.3497, allocations: 159.8 kB / 0.5738 GB, free: 12.41 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 6.543e-05/0.3498, allocations: 108 kB / 0.5739 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.3498, allocations: 16.5 kB / 0.5739 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.534e-06/0.3498, allocations: 0 / 0.5739 GB, free: 12.34 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.0004996/0.3503, allocations: 0.5679 MB / 0.5745 GB, free: 11.95 MB / 414.1 MB Notification: Performance of FunctionAlias: time 2.363e-05/0.3503, allocations: 25.06 kB / 0.5745 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0005562/0.3509, allocations: 0.6552 MB / 0.5751 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplify1: time 5.653e-05/0.351, allocations: 56.39 kB / 0.5752 GB, free: 11.72 MB / 414.1 MB Notification: Performance of Alias: time 0.0003324/0.3513, allocations: 346.4 kB / 0.5755 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplify2: time 5.327e-05/0.3514, allocations: 61.16 kB / 0.5756 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Events: time 0.0001123/0.3515, allocations: 87.36 kB / 0.5757 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001554/0.3516, allocations: 152.2 kB / 0.5758 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001508/0.3518, allocations: 165 kB / 0.576 GB, free: 11.38 MB / 414.1 MB Notification: Performance of Causalize: time 0.0009498/0.3528, allocations: 1.05 MB / 0.577 GB, free: 11.16 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003625/0.3531, allocations: 484.2 kB / 0.5774 GB, free: 11 MB / 414.1 MB Notification: Performance of Inline: time 0.00147/0.3546, allocations: 1.922 MB / 0.5793 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Partitioning: time 2.693e-05/0.3546, allocations: 25.84 kB / 0.5794 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Cleanup: time 6.122e-05/0.3547, allocations: 88.55 kB / 0.5794 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Causalize: time 0.001937/0.3567, allocations: 2.275 MB / 0.5817 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Tearing: time 3.627e-06/0.3567, allocations: 0.5469 kB / 0.5817 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Initialization: time 3.4e-07/0.3567, allocations: 0 / 0.5817 GB, free: 9.648 MB / 414.1 MB Notification: Performance of Tearing: time 0.0006324/0.3573, allocations: 444 kB / 0.5821 GB, free: 9.289 MB / 414.1 MB Notification: Performance of Categorize: time 7.714e-06/0.3573, allocations: 6.516 kB / 0.5821 GB, free: 9.285 MB / 414.1 MB Notification: Performance of Solve: time 0.0003489/0.3577, allocations: 242.4 kB / 0.5823 GB, free: 9.188 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0004702/0.3582, allocations: 0.5091 MB / 0.5828 GB, free: 8.809 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 3.975e-05/0.3582, allocations: 26.59 kB / 0.5828 GB, free: 8.793 MB / 414.1 MB Notification: Performance of SimCode: time 0.001668/0.3599, allocations: 1.729 MB / 0.5845 GB, free: 7.492 MB / 414.1 MB Notification: Performance of Templates: time 0.00835/0.3683, allocations: 6.188 MB / 0.5906 GB, free: 1.465 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile make -j1 -f ModelicaTest_3.2.1_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_1_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.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.o ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c ModelicaTest_3.2.1_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.1_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.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_3.2.1_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.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.o] Error 1