Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 119.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 205 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.536e-05, allocations: 6.281 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2308/0.2308, allocations: 37.51 MB / 396.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005957/0.2368, allocations: 4.582 MB / 401.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.2373, allocations: 5.625 kB / 401.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009238/0.2382, allocations: 295.3 kB / 401.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.2392, allocations: 493.4 kB / 402.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.2438, allocations: 1.643 MB / 403.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.2459, allocations: 1.387 MB / 405.2 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.2464, allocations: 206 kB / 405.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.2474, allocations: 0.5056 MB / 406 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.248, allocations: 355.9 kB / 406.3 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2481, allocations: 48.72 kB / 406.3 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.2503, allocations: 0.7958 MB / 407.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007681/0.2511, allocations: 0.8102 MB / 408 MB, free: 7.324 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003728/0.2515, allocations: 491.4 kB / 408.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2517, allocations: 100.6 kB / 408.5 MB, free: 6.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.976e-05/0.2518, allocations: 8.156 kB / 408.5 MB, free: 6.961 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: 96 (96) * Number of variables: 96 (96) Notification: Performance of Bindings: time 0.002442/0.2542, allocations: 2.355 MB / 410.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001869/0.2544, allocations: 137.7 kB / 411 MB, free: 5.09 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001238/0.2557, allocations: 1.236 MB / 412.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simplify1: time 9.849e-05/0.2558, allocations: 85.97 kB / 412.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of Alias: time 0.002858/0.2587, allocations: 2.116 MB / 414.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simplify2: time 8.361e-05/0.2588, allocations: 71.06 kB / 414.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Events: time 0.0002822/0.259, allocations: 162.6 kB / 414.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003752/0.2594, allocations: 322.1 kB / 415 MB, free: 2.164 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0005304/0.26, allocations: 464.2 kB / 415.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of Causalize: time 0.002033/0.262, allocations: 1.692 MB / 417.2 MB, free: 360 kB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009039/0.2629, allocations: 0.8463 MB / 418 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Inline: time 0.001482/0.2644, allocations: 1.397 MB / 419.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001162/0.2645, allocations: 103.5 kB / 419.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Cleanup: time 5.589e-05/0.2646, allocations: 51.89 kB / 419.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Causalize: time 0.002398/0.267, allocations: 2.095 MB / 421.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of Tearing: time 0.0002754/0.2673, allocations: 242.1 kB / 421.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of Initialization: time 2.374e-06/0.2673, allocations: 4.031 kB / 421.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Tearing: time 0.0005101/0.2678, allocations: 0.741 MB / 422.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Categorize: time 3.136e-05/0.2679, allocations: 12 kB / 422.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of Solve: time 0.0004712/0.2683, allocations: 298.7 kB / 422.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0004821/0.2688, allocations: 0.5402 MB / 423.5 MB, free: 9.707 MB / 334.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: ......... 8 * 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: ............................. 4 (4) {volume.m, volume.U, volume1.m, volume1.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {$SEV_7[$i1], $SEV_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: ........... 52 (scalar:48, array:4, 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: ........... 86 (scalar:78, array:8, 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.36e-05/0.2689, allocations: 43.12 kB / 423.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of SimCode: time 0.004181/0.2731, allocations: 3.18 MB / 426.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of Templates: time 0.01739/0.2905, allocations: 10.32 MB / 437 MB, free: 12.11 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2 -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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:365:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:368:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[44] /* volume1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:379:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:516:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:519:127: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[31] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:530:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:667:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:670:138: error: use of undeclared identifier 'i' tmp102 = modelica_real_to_modelica_string((&data->localData[0]->realVars[22] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:681:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:818:60: error: use of undeclared identifier 'i' tmp137 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:821:127: error: use of undeclared identifier 'i' tmp141 = modelica_real_to_modelica_string((&data->localData[0]->realVars[12] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.c:832:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ 16 errors generated. make: *** [: Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1