Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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.001421/0.001421, allocations: 113 kB / 17.75 MB, free: 5.34 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.001378/0.001378, allocations: 188.7 kB / 18.68 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.277e-05, allocations: 4.812 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2371/0.2371, allocations: 27.02 MB / 379 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.2418, allocations: 4.159 MB / 383.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.242, allocations: 7.938 kB / 383.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.2427, allocations: 201.6 kB / 383.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.2435, allocations: 345.5 kB / 383.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005062/0.2486, allocations: 1.476 MB / 385.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.2502, allocations: 0.9602 MB / 386.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.2505, allocations: 125.2 kB / 386.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/0.2577, allocations: 4.084 MB / 390.3 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.258, allocations: 246.5 kB / 390.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.2581, allocations: 33.59 kB / 390.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.2599, allocations: 0.7534 MB / 391.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004626/0.2604, allocations: 0.5715 MB / 391.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002029/0.2606, allocations: 344.4 kB / 392.2 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.2607, allocations: 64.78 kB / 392.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.165e-05/0.2608, allocations: 13.38 kB / 392.3 MB, free: 7.188 MB / 302.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.00148/0.2623, allocations: 1.721 MB / 394 MB, free: 5.953 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001162/0.2624, allocations: 94.66 kB / 394.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007492/0.2631, allocations: 0.8574 MB / 395 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simplify1: time 5.328e-05/0.2632, allocations: 57.91 kB / 395 MB, free: 5.289 MB / 302.1 MB Notification: Performance of Alias: time 0.001541/0.2648, allocations: 1.496 MB / 396.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simplify2: time 4.047e-05/0.2648, allocations: 45.8 kB / 396.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002228/0.265, allocations: 195 kB / 396.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of Events: time 0.0001695/0.2652, allocations: 133.1 kB / 396.9 MB, free: 4.102 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000273/0.2655, allocations: 322.5 kB / 397.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of Causalize: time 0.001158/0.2667, allocations: 1.147 MB / 398.4 MB, free: 3.227 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004681/0.2671, allocations: 0.6016 MB / 399 MB, free: 2.738 MB / 302.1 MB Notification: Performance of Inline: time 0.0008279/0.268, allocations: 1.003 MB / 400 MB, free: 1.961 MB / 302.1 MB Notification: Performance of Partitioning: time 6.049e-05/0.268, allocations: 67.84 kB / 400 MB, free: 1.91 MB / 302.1 MB Notification: Performance of Cleanup: time 2.938e-05/0.2681, allocations: 40.66 kB / 400.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of Causalize: time 0.001406/0.2695, allocations: 1.5 MB / 401.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of Tearing: time 0.000206/0.2697, allocations: 262 kB / 401.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of Initialization: time 4.21e-07/0.2697, allocations: 0 / 401.8 MB, free: 0.957 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002556/0.27, allocations: 0.5417 MB / 402.4 MB, free: 428 kB / 302.1 MB Notification: Performance of Categorize: time 1.449e-05/0.27, allocations: 4.062 kB / 402.4 MB, free: 424 kB / 302.1 MB Notification: Performance of Solve: time 0.000246/0.2702, allocations: 211.2 kB / 402.6 MB, free: 312 kB / 302.1 MB Notification: Performance of Jacobian: time 0.000234/0.2705, allocations: 405.2 kB / 403 MB, free: 0 / 302.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: 2, nonlinear:0) 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: 1, nonlinear:0) Notification: Performance of backend: time 5.304e-05/0.2706, allocations: 30.48 kB / 403 MB, free: 15.97 MB / 318.1 MB Notification: Performance of SimCode: time 0.003152/0.2737, allocations: 2.585 MB / 405.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of Templates: time 0.01298/0.2867, allocations: 8.529 MB / 414.1 MB, free: 5.332 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.c Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.o] Error 1