Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 113.2 kB / 17.75 MB, free: 5.309 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.001208/0.001208, allocations: 188.5 kB / 18.68 MB, free: 4.387 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.44e-05, allocations: 2.281 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2286/0.2286, allocations: 37.43 MB / 389.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005317/0.2339, allocations: 4.576 MB / 393.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2343, allocations: 9.906 kB / 394 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008092/0.2351, allocations: 296.2 kB / 394.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008789/0.236, allocations: 486.2 kB / 394.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.2408, allocations: 1.64 MB / 396.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.2426, allocations: 1.383 MB / 397.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.243, allocations: 201.8 kB / 397.9 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.2436, allocations: 0.5012 MB / 398.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.2441, allocations: 360.8 kB / 398.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.2442, allocations: 48.81 kB / 398.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.246, allocations: 0.7922 MB / 399.6 MB, free: 324 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.000704/0.2467, allocations: 0.8071 MB / 400.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003291/0.247, allocations: 485.3 kB / 400.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2471, allocations: 99.28 kB / 401 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.223e-05/0.2472, allocations: 8.125 kB / 401 MB, free: 15.45 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.002265/0.2495, allocations: 2.382 MB / 403.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001536/0.2496, allocations: 133.8 kB / 403.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001168/0.2508, allocations: 1.23 MB / 404.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simplify1: time 7.61e-05/0.2509, allocations: 80.8 kB / 404.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of Alias: time 0.002431/0.2533, allocations: 2.13 MB / 407 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simplify2: time 6.118e-05/0.2534, allocations: 68.53 kB / 407 MB, free: 11.02 MB / 318.1 MB Notification: Performance of Events: time 0.0002105/0.2536, allocations: 160.8 kB / 407.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of Detect States: time 0.000323/0.254, allocations: 308 kB / 407.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004379/0.2544, allocations: 469.9 kB / 407.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Causalize: time 0.001636/0.2561, allocations: 1.685 MB / 409.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007747/0.2568, allocations: 0.8559 MB / 410.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of Inline: time 0.001305/0.2582, allocations: 1.403 MB / 411.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001026/0.2583, allocations: 96.64 kB / 412 MB, free: 7.57 MB / 318.1 MB Notification: Performance of Cleanup: time 5.767e-05/0.2583, allocations: 55.88 kB / 412 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Causalize: time 0.002408/0.2608, allocations: 2.099 MB / 414.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of Tearing: time 0.0002602/0.261, allocations: 242.1 kB / 414.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Initialization: time 7.11e-07/0.261, allocations: 0 / 414.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Tearing: time 0.0005132/0.2616, allocations: 0.7566 MB / 415.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of Categorize: time 1.874e-05/0.2616, allocations: 0 / 415.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of Solve: time 0.000423/0.262, allocations: 306.7 kB / 415.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004806/0.2625, allocations: 0.5519 MB / 416 MB, free: 3.324 MB / 318.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 8.188e-05/0.2626, allocations: 42.42 kB / 416 MB, free: 3.289 MB / 318.1 MB Notification: Performance of SimCode: time 0.003873/0.2665, allocations: 3.164 MB / 419.2 MB, free: 80 kB / 318.1 MB Notification: Performance of Templates: time 0.01588/0.2824, allocations: 10.27 MB / 429.5 MB, free: 5.812 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1