Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 104.3 kB / 16.42 MB, free: 6.469 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.001145/0.001145, allocations: 192.3 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.317/1.317, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.709e-05, allocations: 2.281 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0336/0.03363, allocations: 37.45 MB / 364.6 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005361/0.03904, allocations: 4.576 MB / 369.2 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.03936, allocations: 4 kB / 369.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008369/0.0402, allocations: 298.2 kB / 369.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008235/0.04109, allocations: 485.3 kB / 370 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.04544, allocations: 1.645 MB / 371.6 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.04688, allocations: 1.385 MB / 373 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.04718, allocations: 199.7 kB / 373.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.04772, allocations: 498.5 kB / 373.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.0481, allocations: 362.5 kB / 374.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.04817, allocations: 51.94 kB / 374.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.04959, allocations: 0.7884 MB / 374.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006276/0.05023, allocations: 0.8085 MB / 375.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000288/0.05053, allocations: 489.5 kB / 376.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.05064, allocations: 95.81 kB / 376.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.248e-05/0.05069, allocations: 8 kB / 376.3 MB, free: 2.039 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 (96) * Number of variables: 96 (96) Notification: Performance of Bindings: time 0.1979/0.2486, allocations: 2.354 MB / 378.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001864/0.2488, allocations: 128.5 kB / 378.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001143/0.25, allocations: 1.229 MB / 380 MB, free: 15.53 MB / 318.1 MB Notification: Performance of simplify1: time 9.662e-05/0.2501, allocations: 86.8 kB / 380.1 MB, free: 15.53 MB / 318.1 MB Notification: Performance of Alias: time 0.002439/0.2525, allocations: 1.909 MB / 382 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simplify2: time 8.2e-05/0.2526, allocations: 64.84 kB / 382 MB, free: 14.95 MB / 318.1 MB Notification: Performance of Events: time 0.0002607/0.2529, allocations: 178.1 kB / 382.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003777/0.2533, allocations: 307.2 kB / 382.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004518/0.2537, allocations: 471 kB / 383 MB, free: 14.67 MB / 318.1 MB Notification: Performance of Causalize: time 0.002333/0.2561, allocations: 2.24 MB / 385.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009569/0.257, allocations: 0.8494 MB / 386.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of Inline: time 0.00167/0.2587, allocations: 1.408 MB / 387.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001106/0.2588, allocations: 88.64 kB / 387.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of Cleanup: time 7.114e-05/0.2589, allocations: 56.2 kB / 387.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of Causalize: time 0.002615/0.2615, allocations: 2.596 MB / 390.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of Tearing: time 0.0002029/0.2618, allocations: 243.8 kB / 390.4 MB, free: 13.45 MB / 318.1 MB Notification: Performance of Initialization: time 6.62e-07/0.2618, allocations: 1.594 kB / 390.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003822/0.2622, allocations: 0.7457 MB / 391.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Categorize: time 2.379e-05/0.2622, allocations: 4.438 kB / 391.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Solve: time 0.0004897/0.2627, allocations: 307.8 kB / 391.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004731/0.2632, allocations: 0.5485 MB / 392.1 MB, free: 12.47 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 8 * 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: ............................. 4 (4) {volume.m, volume.U, volume1.m, volume1.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_7[$i1], $SEV_6, $SEV_5[$i1], $SEV_4, $SEV_3[$i1], $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: ........... 52 (scalar:48, array:4, 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: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:78, array:8, 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: Performance of backend: time 5.146e-05/0.2632, allocations: 49.45 kB / 392.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of SimCode: time 0.003781/0.267, allocations: 3.18 MB / 395.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of Templates: time 0.01425/0.2813, allocations: 10.17 MB / 405.4 MB, free: 8.734 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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_ReferenceAir_DryAir2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:365: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.ReferenceAir.DryAir2.c:368:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[44] /* volume1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:379:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:516:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:519:127: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[31] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:530:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:667:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:670:138: error: use of undeclared identifier 'i' tmp102 = modelica_real_to_modelica_string((&data->localData[0]->realVars[22] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:681:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:818:60: error: use of undeclared identifier 'i' tmp137 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:821:127: error: use of undeclared identifier 'i' tmp141 = modelica_real_to_modelica_string((&data->localData[0]->realVars[12] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:832:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ 16 errors generated. make: *** [: Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1