Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001388/0.001388, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.001269/0.001269, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.558/1.558, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/2.913e-05, allocations: 3.125 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03812/0.03816, allocations: 37.43 MB / 366.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.04461, allocations: 4.58 MB / 371.2 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.0451, allocations: 11.94 kB / 371.2 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009771/0.04609, allocations: 290.2 kB / 371.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009535/0.04705, allocations: 481.3 kB / 372 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.05279, allocations: 1.649 MB / 373.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.05491, allocations: 1.385 MB / 375 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.05527, allocations: 191.7 kB / 375.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007565/0.05604, allocations: 0.5062 MB / 375.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.05649, allocations: 362.5 kB / 376 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.05657, allocations: 48 kB / 376.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.05857, allocations: 0.7883 MB / 376.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006361/0.05922, allocations: 0.8046 MB / 377.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003182/0.05955, allocations: 485.5 kB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.05968, allocations: 99.75 kB / 378.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001045/0.05979, allocations: 11.94 kB / 378.3 MB, free: 2.055 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.2515/0.3113, allocations: 2.366 MB / 380.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002086/0.3115, allocations: 132 kB / 380.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00127/0.3128, allocations: 1.234 MB / 382 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001018/0.3129, allocations: 87.09 kB / 382.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Alias: time 0.003086/0.316, allocations: 2.112 MB / 384.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simplify2: time 0.000105/0.3161, allocations: 66.2 kB / 384.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Events: time 0.0003128/0.3164, allocations: 180.6 kB / 384.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004147/0.3169, allocations: 302.2 kB / 384.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0005244/0.3174, allocations: 471.6 kB / 385.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of Causalize: time 0.002199/0.3196, allocations: 1.683 MB / 386.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009706/0.3206, allocations: 0.8582 MB / 387.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Inline: time 0.001767/0.3224, allocations: 1.401 MB / 389.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001316/0.3225, allocations: 93.52 kB / 389.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of Cleanup: time 8.022e-05/0.3226, allocations: 53.23 kB / 389.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of Causalize: time 0.002815/0.3254, allocations: 2.091 MB / 391.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003127/0.3257, allocations: 245 kB / 391.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Initialization: time 1.212e-06/0.3257, allocations: 0 / 391.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Tearing: time 0.0005307/0.3263, allocations: 0.7561 MB / 392.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of Categorize: time 7.129e-05/0.3264, allocations: 5.891 kB / 392.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of Solve: time 0.0005986/0.327, allocations: 293.6 kB / 392.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0005973/0.3276, allocations: 0.5448 MB / 393.2 MB, free: 11.52 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 7.68e-05/0.3277, allocations: 43.03 kB / 393.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of SimCode: time 0.005619/0.3333, allocations: 3.181 MB / 396.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of Templates: time 0.01755/0.3509, allocations: 10.35 MB / 406.8 MB, free: 7.73 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.o Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.c Modelica_3.2.3_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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.c:522:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.c:673:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.c:824:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.o] Error 1