Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008928/0.0008928, allocations: 109.1 kB / 17.75 MB, free: 5.332 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.0009107/0.0009108, allocations: 196.6 kB / 18.68 MB, free: 4.406 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.3/1.3, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.312e-05, allocations: 3.406 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03213/0.03216, allocations: 37.44 MB / 366 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.03707, allocations: 4.576 MB / 370.5 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.03729, allocations: 11.94 kB / 370.6 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.03803, allocations: 286.2 kB / 370.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007769/0.03886, allocations: 485.3 kB / 371.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.04341, allocations: 1.649 MB / 373 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.0447, allocations: 1.378 MB / 374.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.045, allocations: 203.7 kB / 374.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000499/0.04551, allocations: 498.4 kB / 375 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.04587, allocations: 366.5 kB / 375.4 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.04594, allocations: 48 kB / 375.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.04723, allocations: 0.7845 MB / 376.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006111/0.04785, allocations: 0.8124 MB / 377 MB, free: 2.625 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002915/0.04815, allocations: 485.5 kB / 377.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.04824, allocations: 99.81 kB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.288e-05/0.04829, allocations: 8 kB / 377.6 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.1556/0.2039, allocations: 2.36 MB / 380 MB, free: 14.92 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002563/0.2041, allocations: 131.7 kB / 380.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001162/0.2053, allocations: 1.228 MB / 381.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001025/0.2054, allocations: 79.09 kB / 381.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of Alias: time 0.00209/0.2075, allocations: 1.91 MB / 383.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of simplify2: time 7.264e-05/0.2076, allocations: 71.83 kB / 383.4 MB, free: 14.27 MB / 318.1 MB Notification: Performance of Events: time 0.0002303/0.2078, allocations: 172.9 kB / 383.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002995/0.2081, allocations: 303.6 kB / 383.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004073/0.2086, allocations: 474.4 kB / 384.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of Causalize: time 0.002206/0.2108, allocations: 2.236 MB / 386.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008058/0.2116, allocations: 0.8495 MB / 387.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of Inline: time 0.001392/0.213, allocations: 1.403 MB / 388.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Partitioning: time 8.844e-05/0.2131, allocations: 97.66 kB / 388.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of Cleanup: time 5.018e-05/0.2131, allocations: 55.39 kB / 388.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of Causalize: time 0.002192/0.2153, allocations: 2.596 MB / 391.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001916/0.2155, allocations: 244.2 kB / 391.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Initialization: time 5.11e-07/0.2156, allocations: 0 / 391.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003593/0.2159, allocations: 0.7491 MB / 392.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Categorize: time 2.127e-05/0.2159, allocations: 5.719 kB / 392.5 MB, free: 12.09 MB / 318.1 MB Notification: Performance of Solve: time 0.0004656/0.2164, allocations: 302.9 kB / 392.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004476/0.2169, allocations: 0.5464 MB / 393.4 MB, free: 11.79 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.879e-05/0.2169, allocations: 48.72 kB / 393.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of SimCode: time 0.003193/0.2201, allocations: 3.187 MB / 396.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01196/0.2321, allocations: 10.17 MB / 406.8 MB, free: 8.098 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_3.2.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1