Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00125/0.00125, allocations: 106.3 kB / 16.42 MB, free: 6.512 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.001261/0.001261, allocations: 200.1 kB / 17.36 MB, free: 5.746 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.22/1.22, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.315e-05, allocations: 2.281 kB / 327.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03173/0.03176, allocations: 37.44 MB / 364.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.03707, allocations: 4.588 MB / 369.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.03732, allocations: 4 kB / 369.2 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009845/0.03831, allocations: 290.2 kB / 369.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008827/0.0392, allocations: 485.3 kB / 370 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.04381, allocations: 1.641 MB / 371.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.04523, allocations: 1.385 MB / 373 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.04554, allocations: 199.7 kB / 373.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.04605, allocations: 0.4945 MB / 373.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.04643, allocations: 354.6 kB / 374 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.0465, allocations: 48 kB / 374.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.04788, allocations: 0.7844 MB / 374.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006866/0.04858, allocations: 0.8162 MB / 375.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002914/0.04888, allocations: 485.5 kB / 376.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.04898, allocations: 99.81 kB / 376.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.678e-05/0.04903, allocations: 8 kB / 376.3 MB, free: 2.047 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.1574/0.2064, allocations: 2.357 MB / 378.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001735/0.2066, allocations: 125.1 kB / 378.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001002/0.2076, allocations: 1.234 MB / 380 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simplify1: time 7.937e-05/0.2077, allocations: 86.58 kB / 380.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Alias: time 0.00224/0.2099, allocations: 1.904 MB / 382 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001343/0.2101, allocations: 69.23 kB / 382 MB, free: 14.26 MB / 318.1 MB Notification: Performance of Events: time 0.0002555/0.2103, allocations: 175.8 kB / 382.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of Detect States: time 0.000324/0.2107, allocations: 304.3 kB / 382.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000422/0.2111, allocations: 475.8 kB / 383 MB, free: 13.97 MB / 318.1 MB Notification: Performance of Causalize: time 0.002242/0.2133, allocations: 2.236 MB / 385.2 MB, free: 13.58 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007832/0.2141, allocations: 0.8513 MB / 386.1 MB, free: 13.49 MB / 318.1 MB Notification: Performance of Inline: time 0.001202/0.2153, allocations: 1.409 MB / 387.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of Partitioning: time 8.396e-05/0.2154, allocations: 93.19 kB / 387.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of Cleanup: time 5.358e-05/0.2155, allocations: 59.03 kB / 387.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of Causalize: time 0.002179/0.2177, allocations: 2.593 MB / 390.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001669/0.2179, allocations: 244.1 kB / 390.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Initialization: time 1.262e-06/0.2179, allocations: 0 / 390.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003142/0.2182, allocations: 0.7493 MB / 391.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Categorize: time 1.634e-05/0.2182, allocations: 4.047 kB / 391.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Solve: time 0.0004057/0.2186, allocations: 299.3 kB / 391.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004044/0.219, allocations: 0.553 MB / 392.1 MB, free: 11.78 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 4.216e-05/0.2191, allocations: 50.7 kB / 392.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of SimCode: time 0.003223/0.2223, allocations: 3.183 MB / 395.3 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01261/0.2349, allocations: 10.16 MB / 405.4 MB, free: 8.098 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_3.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1