Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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.001313/0.001313, allocations: 102.3 kB / 18.41 MB, free: 4.664 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: 192.3 kB / 19.35 MB, free: 3.738 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.563/1.563, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.556e-05, allocations: 6.219 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4466/0.4466, allocations: 144 MB / 473.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.4497, allocations: 1.72 MB / 474.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.4499, allocations: 4 kB / 474.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.4506, allocations: 178.9 kB / 475.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.4512, allocations: 330.2 kB / 475.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4523, allocations: 412.1 kB / 475.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.4534, allocations: 0.9148 MB / 476.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.4537, allocations: 117.5 kB / 476.9 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.4543, allocations: 434.6 kB / 477.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.4547, allocations: 287 kB / 477.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.4548, allocations: 36 kB / 477.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.4553, allocations: 183.6 kB / 477.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0004806/0.4558, allocations: 0.5462 MB / 478.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002775/0.4561, allocations: 323.7 kB / 478.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.4562, allocations: 67.81 kB / 478.7 MB, free: 492 kB / 366.1 MB Notification: Performance of FrontEnd: time 6.416e-05/0.4562, allocations: 8 kB / 478.7 MB, free: 484 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.001673/0.4579, allocations: 1.584 MB / 480.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.000114/0.458, allocations: 85.11 kB / 480.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0007363/0.4588, allocations: 0.7206 MB / 481.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simplify1: time 6.108e-05/0.4589, allocations: 51.94 kB / 481.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Alias: time 0.00195/0.4608, allocations: 1.522 MB / 482.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simplify2: time 4.489e-05/0.4609, allocations: 35.95 kB / 482.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of Events: time 0.0002481/0.4611, allocations: 162.3 kB / 482.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002554/0.4614, allocations: 189.2 kB / 483.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003662/0.4618, allocations: 345.7 kB / 483.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of Causalize: time 0.001036/0.4628, allocations: 0.9457 MB / 484.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005239/0.4633, allocations: 498.4 kB / 484.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of Inline: time 0.0009989/0.4644, allocations: 0.9961 MB / 485.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of Partitioning: time 6.578e-05/0.4644, allocations: 66.3 kB / 485.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of Cleanup: time 5.128e-05/0.4645, allocations: 43.89 kB / 485.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of Causalize: time 0.001709/0.4662, allocations: 1.343 MB / 487.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of Tearing: time 0.0002956/0.4665, allocations: 262.2 kB / 487.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of Initialization: time 5.71e-07/0.4665, allocations: 0 / 487.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of Tearing: time 0.0001879/0.4667, allocations: 250.2 kB / 487.8 MB, free: 6.715 MB / 382.1 MB Notification: Performance of Categorize: time 2.56e-05/0.4668, allocations: 8.062 kB / 487.8 MB, free: 6.707 MB / 382.1 MB Notification: Performance of Solve: time 0.0006076/0.4674, allocations: 0.5081 MB / 488.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0002538/0.4676, allocations: 330 kB / 488.6 MB, free: 5.785 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 5.563e-05/0.4677, allocations: 36.05 kB / 488.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of SimCode: time 0.002713/0.4704, allocations: 2.119 MB / 490.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of Templates: time 0.009297/0.4797, allocations: 5.034 MB / 495.8 MB, free: 14.55 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.3_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_3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:359:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:580:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_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.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.c:801:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.o] Error 1