Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009437/0.0009439, allocations: 114.4 kB / 18.41 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009676/0.0009676, allocations: 211.5 kB / 19.36 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.71e-05, allocations: 2.281 kB / 308.3 MB, free: 15.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02258/0.02261, allocations: 27.11 MB / 335.4 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004263/0.0269, allocations: 4.175 MB / 339.6 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.02707, allocations: 4 kB / 339.6 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.02762, allocations: 202.7 kB / 339.8 MB, free: 396 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.02821, allocations: 338.1 kB / 340.1 MB, free: 56 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.03153, allocations: 1.476 MB / 341.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008955/0.03243, allocations: 0.9614 MB / 342.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.03264, allocations: 129.2 kB / 342.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005435/0.03809, allocations: 4.072 MB / 346.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.03839, allocations: 250.9 kB / 347 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.03845, allocations: 32 kB / 347 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.03963, allocations: 0.7494 MB / 347.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004257/0.04006, allocations: 0.5648 MB / 348.3 MB, free: 7.816 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001885/0.04026, allocations: 355.3 kB / 348.7 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.04037, allocations: 63.88 kB / 348.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.905e-05/0.04041, allocations: 8 kB / 348.8 MB, free: 7.395 MB / 286.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.001586/0.042, allocations: 1.701 MB / 350.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001035/0.04211, allocations: 91.77 kB / 350.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0007251/0.04285, allocations: 0.8701 MB / 351.4 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simplify1: time 4.88e-05/0.0429, allocations: 59.91 kB / 351.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of Alias: time 0.001372/0.04428, allocations: 1.334 MB / 352.8 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simplify2: time 3.541e-05/0.04433, allocations: 39.95 kB / 352.8 MB, free: 2.996 MB / 286.1 MB Notification: Performance of Events: time 0.0001655/0.0445, allocations: 115.6 kB / 353 MB, free: 2.887 MB / 286.1 MB Notification: Performance of Detect States: time 0.000229/0.04474, allocations: 226.2 kB / 353.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003008/0.04505, allocations: 337.1 kB / 353.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of Causalize: time 0.001364/0.04642, allocations: 1.513 MB / 355 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005253/0.04695, allocations: 0.5978 MB / 355.6 MB, free: 48 kB / 286.1 MB Notification: Performance of Inline: time 0.0009126/0.04787, allocations: 0.9762 MB / 356.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Partitioning: time 7.226e-05/0.04796, allocations: 66.3 kB / 356.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Cleanup: time 3.131e-05/0.048, allocations: 39.97 kB / 356.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Causalize: time 0.001618/0.04962, allocations: 1.845 MB / 358.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002065/0.04984, allocations: 242.2 kB / 358.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Initialization: time 4.91e-07/0.04985, allocations: 0 / 358.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002905/0.05014, allocations: 496.5 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Categorize: time 1.469e-05/0.05017, allocations: 8.094 kB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of Solve: time 0.0002838/0.05045, allocations: 217.9 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002951/0.05076, allocations: 406 kB / 359.9 MB, free: 11.58 MB / 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: 0, nonlinear:2) 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: 0, nonlinear:1) Notification: Performance of backend: time 4.662e-05/0.05081, allocations: 36.45 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of SimCode: time 0.002588/0.05341, allocations: 2.563 MB / 362.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of Templates: time 0.0127/0.06612, allocations: 8.449 MB / 370.9 MB, free: 0.5078 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.o Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.c Modelica_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_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_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_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_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.o] Error 1