Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 104.8 kB / 16.42 MB, free: 6.523 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.001085/0.001085, allocations: 185.9 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.211/1.211, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/1.963e-05, allocations: 2.281 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02414/0.02417, allocations: 27.05 MB / 354.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.02834, allocations: 4.163 MB / 358.4 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.02851, allocations: 4 kB / 358.4 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.02907, allocations: 210.7 kB / 358.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.02964, allocations: 334.2 kB / 358.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.03358, allocations: 1.478 MB / 360.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.03461, allocations: 0.9537 MB / 361.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.03487, allocations: 125.4 kB / 361.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/0.04048, allocations: 4.076 MB / 365.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.04078, allocations: 247 kB / 365.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.04083, allocations: 32 kB / 365.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.04218, allocations: 0.7571 MB / 366.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004435/0.04264, allocations: 0.5609 MB / 367.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001948/0.04284, allocations: 347.5 kB / 367.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.04292, allocations: 67.81 kB / 367.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.98e-05/0.04297, allocations: 8 kB / 367.6 MB, free: 10.8 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: 66 (66) * Number of variables: 66 (66) Notification: Performance of Bindings: time 0.001548/0.04452, allocations: 1.705 MB / 369.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001134/0.04464, allocations: 95.7 kB / 369.4 MB, free: 8.898 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007848/0.04543, allocations: 0.8662 MB / 370.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of simplify1: time 5.021e-05/0.04549, allocations: 55.92 kB / 370.3 MB, free: 7.949 MB / 318.1 MB Notification: Performance of Alias: time 0.001531/0.04703, allocations: 1.346 MB / 371.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simplify2: time 4.243e-05/0.04709, allocations: 51.88 kB / 371.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of Events: time 0.0001983/0.04729, allocations: 115.8 kB / 371.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002971/0.0476, allocations: 214.2 kB / 372 MB, free: 6.047 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003108/0.04792, allocations: 344.9 kB / 372.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of Causalize: time 0.001484/0.04941, allocations: 1.513 MB / 373.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005807/0.05, allocations: 0.5932 MB / 374.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of Inline: time 0.0009713/0.05098, allocations: 0.9957 MB / 375.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of Partitioning: time 6.901e-05/0.05106, allocations: 66.36 kB / 375.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of Cleanup: time 3.792e-05/0.0511, allocations: 40.09 kB / 375.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Causalize: time 0.001661/0.05277, allocations: 1.84 MB / 377.4 MB, free: 484 kB / 318.1 MB Notification: Performance of Tearing: time 0.0002196/0.053, allocations: 254.1 kB / 377.6 MB, free: 180 kB / 318.1 MB Notification: Performance of Initialization: time 3.81e-07/0.05301, allocations: 0 / 377.6 MB, free: 180 kB / 318.1 MB Notification: Performance of Tearing: time 0.1682/0.2212, allocations: 0.4887 MB / 378.1 MB, free: 23.75 MB / 318.1 MB Notification: Performance of Categorize: time 3.452e-05/0.2213, allocations: 4.719 kB / 378.1 MB, free: 23.75 MB / 318.1 MB Notification: Performance of Solve: time 0.0004798/0.2218, allocations: 204.1 kB / 378.3 MB, free: 23.75 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002805/0.2221, allocations: 405.5 kB / 378.7 MB, free: 23.55 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: ......... 6 * 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) {volume.m, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (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: ........... 36 (scalar:33, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:55, array:6, 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.574e-05/0.2221, allocations: 41.34 kB / 378.8 MB, free: 23.55 MB / 318.1 MB Notification: Performance of SimCode: time 0.00311/0.2253, allocations: 2.564 MB / 381.3 MB, free: 22.6 MB / 318.1 MB Notification: Performance of Templates: time 0.01283/0.2381, allocations: 8.453 MB / 389.8 MB, free: 22.02 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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_DryAir1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.o Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:305: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.DryAir1.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[27] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:319: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.DryAir1.c:456: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.DryAir1.c:459:137: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[18] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:470: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.DryAir1.c:607: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.DryAir1.c:610:126: error: use of undeclared identifier 'i' tmp102 = modelica_real_to_modelica_string((&data->localData[0]->realVars[8] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.c:621:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.o] Error 1