Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 109.1 kB / 17.75 MB, free: 5.348 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.001067/0.001068, allocations: 184.2 kB / 18.68 MB, free: 4.426 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.292/1.292, allocations: 205.1 MB / 224.6 MB, free: 12.26 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.238e-05, allocations: 3.125 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2889/0.2889, allocations: 144 MB / 472.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.291, allocations: 1.718 MB / 474.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2912, allocations: 8 kB / 474.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.2917, allocations: 178.9 kB / 474.5 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.2922, allocations: 330.2 kB / 474.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.293, allocations: 412.1 kB / 475.2 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.2937, allocations: 0.907 MB / 476.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.294, allocations: 125.4 kB / 476.2 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.2945, allocations: 430.6 kB / 476.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.2948, allocations: 291 kB / 476.9 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.2949, allocations: 32 kB / 476.9 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.2952, allocations: 183.6 kB / 477.1 MB, free: 1.414 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004131/0.2956, allocations: 0.55 MB / 477.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001701/0.2958, allocations: 319.7 kB / 478 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.2959, allocations: 67.81 kB / 478.1 MB, free: 488 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.619e-05/0.2959, allocations: 9.906 kB / 478.1 MB, free: 480 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 (60) * Number of variables: 60 (60) Notification: Performance of Bindings: time 0.001303/0.2972, allocations: 1.585 MB / 479.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of FunctionAlias: time 9.417e-05/0.2973, allocations: 78.12 kB / 479.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0005973/0.2979, allocations: 0.7284 MB / 480.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simplify1: time 5.301e-05/0.298, allocations: 51.94 kB / 480.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of Alias: time 0.001356/0.2993, allocations: 1.356 MB / 481.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simplify2: time 4.798e-05/0.2994, allocations: 43.95 kB / 481.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of Events: time 0.0001905/0.2996, allocations: 141.1 kB / 482 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002795/0.2999, allocations: 194 kB / 482.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0002898/0.3002, allocations: 346.5 kB / 482.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Causalize: time 0.001123/0.3013, allocations: 1.283 MB / 483.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004167/0.3017, allocations: 497.6 kB / 484.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of Inline: time 0.0008801/0.3026, allocations: 0.9962 MB / 485.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of Partitioning: time 5.844e-05/0.3027, allocations: 62.36 kB / 485.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of Cleanup: time 4.301e-05/0.3027, allocations: 39.89 kB / 485.4 MB, free: 8.504 MB / 382.1 MB Notification: Performance of Causalize: time 0.001516/0.3043, allocations: 1.773 MB / 487.2 MB, free: 6.754 MB / 382.1 MB Notification: Performance of Tearing: time 0.0002019/0.3045, allocations: 254.1 kB / 487.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of Initialization: time 4.51e-07/0.3045, allocations: 0 / 487.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of Tearing: time 0.000152/0.3046, allocations: 258.2 kB / 487.7 MB, free: 6.156 MB / 382.1 MB Notification: Performance of Categorize: time 1.516e-05/0.3047, allocations: 3.938 kB / 487.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of Solve: time 0.0004312/0.3051, allocations: 0.5159 MB / 488.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of Jacobian: time 0.000212/0.3053, allocations: 322 kB / 488.5 MB, free: 5.234 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * 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: ................. 9 (9) {$SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $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: ........... 32 (scalar:29, 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: ........... 57 (scalar:51, 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 3.652e-05/0.3054, allocations: 38.78 kB / 488.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of SimCode: time 0.001739/0.3071, allocations: 2.131 MB / 490.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of Templates: time 0.007492/0.3146, allocations: 4.9 MB / 495.6 MB, free: 14.13 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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_Tests_MediaTestModels_Air_SimpleAir -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.Tests.MediaTestModels.Air.SimpleAir.o Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:353: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.Tests.MediaTestModels.Air.SimpleAir.c:356:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[20] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:359:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:367:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:574:59: error: use of undeclared identifier 'i' tmp79 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:577:137: error: use of undeclared identifier 'i' tmp83 = modelica_real_to_modelica_string((&data->localData[0]->realVars[14] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:580:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:588:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:795:60: error: use of undeclared identifier 'i' tmp138 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:798:126: error: use of undeclared identifier 'i' tmp142 = modelica_real_to_modelica_string((&data->localData[0]->realVars[7] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:801:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:809:113: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"SimpleAir\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.o] Error 1