Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 104.1 kB / 18.41 MB, free: 4.559 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.0009946/0.0009946, allocations: 194.6 kB / 19.35 MB, free: 3.633 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.394/1.394, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.398e-05, allocations: 7.203 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4465/0.4466, allocations: 172.8 MB / 0.4902 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.4505, allocations: 3.213 MB / 0.4933 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.4507, allocations: 7.938 kB / 0.4933 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.4513, allocations: 178.9 kB / 0.4935 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007625/0.4521, allocations: 403.3 kB / 0.4939 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.4529, allocations: 340.3 kB / 0.4942 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/0.4538, allocations: 0.9656 MB / 0.4952 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.4541, allocations: 120.9 kB / 0.4953 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.4558, allocations: 0.8222 MB / 0.4961 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4561, allocations: 243 kB / 0.4963 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.4561, allocations: 36 kB / 0.4963 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.4565, allocations: 143.8 kB / 0.4965 GB, free: 2.707 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004885/0.457, allocations: 0.5462 MB / 0.497 GB, free: 2.156 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002086/0.4572, allocations: 323.7 kB / 0.4973 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.4573, allocations: 63.81 kB / 0.4974 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.977e-05/0.4574, allocations: 11.98 kB / 0.4974 GB, free: 1.762 MB / 398.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.00153/0.4589, allocations: 1.58 MB / 0.4989 GB, free: 80 kB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001107/0.459, allocations: 84.45 kB / 0.499 GB, free: 0 / 398.1 MB Notification: Performance of Early Inline: time 0.0006844/0.4597, allocations: 0.7167 MB / 0.4997 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplify1: time 6.907e-05/0.4598, allocations: 51.94 kB / 0.4998 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Alias: time 0.00169/0.4615, allocations: 1.427 MB / 0.5012 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simplify2: time 3.589e-05/0.4615, allocations: 36.83 kB / 0.5012 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Events: time 0.0002086/0.4617, allocations: 139.5 kB / 0.5013 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002812/0.462, allocations: 213.1 kB / 0.5015 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0003465/0.4624, allocations: 330.1 kB / 0.5018 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Causalize: time 0.001204/0.4636, allocations: 1.02 MB / 0.5028 GB, free: 11.67 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005295/0.4641, allocations: 0.506 MB / 0.5033 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Inline: time 0.001016/0.4652, allocations: 0.9905 MB / 0.5043 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Partitioning: time 9.014e-05/0.4653, allocations: 82.25 kB / 0.5044 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Cleanup: time 5.444e-05/0.4653, allocations: 35.91 kB / 0.5044 GB, free: 9.984 MB / 414.1 MB Notification: Performance of Causalize: time 0.001572/0.4669, allocations: 1.421 MB / 0.5058 GB, free: 8.555 MB / 414.1 MB Notification: Performance of Tearing: time 0.0002478/0.4672, allocations: 242.2 kB / 0.506 GB, free: 8.27 MB / 414.1 MB Notification: Performance of Initialization: time 4.41e-07/0.4672, allocations: 3.938 kB / 0.506 GB, free: 8.266 MB / 414.1 MB Notification: Performance of Tearing: time 0.001001/0.4682, allocations: 0.6604 MB / 0.5067 GB, free: 7.508 MB / 414.1 MB Notification: Performance of Categorize: time 2.413e-05/0.4682, allocations: 3.938 kB / 0.5067 GB, free: 7.504 MB / 414.1 MB Notification: Performance of Solve: time 0.0005294/0.4688, allocations: 496.5 kB / 0.5072 GB, free: 6.969 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0002868/0.4691, allocations: 366 kB / 0.5075 GB, free: 6.574 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * 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: ........... 33 (scalar:30, 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: ... 3 (linear: 0, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:52, 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.803e-05/0.4691, allocations: 40.03 kB / 0.5075 GB, free: 6.535 MB / 414.1 MB Notification: Performance of SimCode: time 0.00247/0.4716, allocations: 2.31 MB / 0.5098 GB, free: 4.188 MB / 414.1 MB Notification: Performance of Templates: time 0.01084/0.4825, allocations: 6.573 MB / 0.5162 GB, free: 13.61 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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_DryAirNasa -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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:305: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.DryAirNasa.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[23] /* 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.DryAirNasa.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:511:59: error: use of undeclared identifier 'i' tmp71 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:514:137: error: use of undeclared identifier 'i' tmp75 = modelica_real_to_modelica_string((&data->localData[0]->realVars[16] /* 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.DryAirNasa.c:517:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:525:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"Air\"}", (long) i); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:717:60: error: use of undeclared identifier 'i' tmp122 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:720:126: error: use of undeclared identifier 'i' tmp126 = 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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:723:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.c:731: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.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.o] Error 1