Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001152/0.001153, allocations: 113.1 kB / 17.75 MB, free: 5.309 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.001105/0.001105, allocations: 192.6 kB / 18.68 MB, free: 4.387 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.272/1.272, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.062e-05, allocations: 2.281 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02443/0.02446, allocations: 27.05 MB / 355.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.02951, allocations: 4.159 MB / 359.7 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.02973, allocations: 4 kB / 359.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.03044, allocations: 206.7 kB / 359.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006324/0.03115, allocations: 346.1 kB / 360.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.03526, allocations: 1.466 MB / 361.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000989/0.03626, allocations: 0.9615 MB / 362.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.03656, allocations: 129.4 kB / 362.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005921/0.04249, allocations: 4.076 MB / 366.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.04281, allocations: 239 kB / 367.1 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.04286, allocations: 39.94 kB / 367.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.04422, allocations: 0.7455 MB / 367.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004457/0.04468, allocations: 0.5687 MB / 368.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002015/0.04489, allocations: 339.5 kB / 368.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.04498, allocations: 75.81 kB / 368.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.136e-05/0.04504, allocations: 4 kB / 368.9 MB, free: 10.79 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.001797/0.04684, allocations: 1.709 MB / 370.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001202/0.04697, allocations: 99.7 kB / 370.7 MB, free: 8.871 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007619/0.04774, allocations: 0.8623 MB / 371.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simplify1: time 5.248e-05/0.0478, allocations: 47.94 kB / 371.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Alias: time 0.001625/0.04943, allocations: 1.357 MB / 373 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simplify2: time 3.939e-05/0.04948, allocations: 43.94 kB / 373 MB, free: 6.363 MB / 318.1 MB Notification: Performance of Events: time 0.0001663/0.04966, allocations: 115.8 kB / 373.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002356/0.0499, allocations: 214.3 kB / 373.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002988/0.05021, allocations: 332.9 kB / 373.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of Causalize: time 0.001365/0.05158, allocations: 1.515 MB / 375.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005165/0.05211, allocations: 0.5937 MB / 375.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of Inline: time 0.0008989/0.05302, allocations: 1.003 MB / 376.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Partitioning: time 7.219e-05/0.0531, allocations: 66.36 kB / 376.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of Cleanup: time 3.414e-05/0.05314, allocations: 39.91 kB / 376.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of Causalize: time 0.001586/0.05473, allocations: 1.829 MB / 378.7 MB, free: 476 kB / 318.1 MB Notification: Performance of Tearing: time 0.0002095/0.05495, allocations: 254.2 kB / 379 MB, free: 172 kB / 318.1 MB Notification: Performance of Initialization: time 3.91e-07/0.05496, allocations: 3.938 kB / 379 MB, free: 168 kB / 318.1 MB Notification: Performance of Tearing: time 0.1487/0.2037, allocations: 0.4914 MB / 379.4 MB, free: 23.82 MB / 318.1 MB Notification: Performance of Categorize: time 3.98e-05/0.2037, allocations: 5.406 kB / 379.5 MB, free: 23.82 MB / 318.1 MB Notification: Performance of Solve: time 0.0005171/0.2043, allocations: 207.4 kB / 379.7 MB, free: 23.82 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003493/0.2046, allocations: 408.8 kB / 380.1 MB, free: 23.62 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 6.491e-05/0.2047, allocations: 36.92 kB / 380.1 MB, free: 23.62 MB / 318.1 MB Notification: Performance of SimCode: time 0.004176/0.2089, allocations: 2.558 MB / 382.6 MB, free: 22.67 MB / 318.1 MB Notification: Performance of Templates: time 0.01613/0.225, allocations: 8.458 MB / 391.1 MB, free: 22.11 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1.o Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.c Modelica_3.2.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_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.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_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.2_Modelica.Media.Examples.ReferenceAir.DryAir1.o] Error 1