Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 114.4 kB / 18.41 MB, free: 4.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 211.5 kB / 19.36 MB, free: 3.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.397e-05, allocations: 2.281 kB / 308.3 MB, free: 15.96 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04885/0.04889, allocations: 50.66 MB / 359 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.0553, allocations: 5.203 MB / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.05565, allocations: 4 kB / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.05646, allocations: 250.5 kB / 364.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.0572, allocations: 362 kB / 364.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.07422, allocations: 7.112 MB / 371.9 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1358/0.2101, allocations: 1.132 MB / 373 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2103, allocations: 152.8 kB / 373.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.216, allocations: 3.607 MB / 376.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2164, allocations: 354.4 kB / 377.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.2165, allocations: 58.25 kB / 377.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.2273, allocations: 9.762 MB / 386.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006828/0.228, allocations: 0.8623 MB / 387.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002351/0.2283, allocations: 0.5089 MB / 388.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2284, allocations: 97.38 kB / 388.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.948e-05/0.2285, allocations: 16.81 kB / 388.4 MB, free: 12.41 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: 107 (104) * Number of variables: 107 (101) Notification: Performance of Bindings: time 0.001688/0.2302, allocations: 2.524 MB / 390.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003229/0.2305, allocations: 295.6 kB / 391.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001462/0.232, allocations: 1.636 MB / 392.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001039/0.2321, allocations: 130.1 kB / 393 MB, free: 11.23 MB / 302.1 MB Notification: Performance of Alias: time 0.001599/0.2337, allocations: 1.95 MB / 394.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simplify2: time 9.159e-05/0.2338, allocations: 116.4 kB / 395.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of Events: time 0.0002418/0.2341, allocations: 196.3 kB / 395.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003721/0.2344, allocations: 432.6 kB / 395.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005433/0.235, allocations: 0.6335 MB / 396.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Causalize: time 0.00294/0.2379, allocations: 3.902 MB / 400.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001131/0.2391, allocations: 1.539 MB / 401.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of Inline: time 0.001649/0.2407, allocations: 2.347 MB / 404.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of Partitioning: time 9.058e-05/0.2408, allocations: 111.6 kB / 404.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of Cleanup: time 7.126e-05/0.2409, allocations: 108.5 kB / 404.3 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Causalize: time 0.002777/0.2437, allocations: 4.512 MB / 408.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003861/0.2441, allocations: 0.6663 MB / 409.5 MB, free: 1.531 MB / 302.1 MB Notification: Performance of Initialization: time 5.51e-07/0.2441, allocations: 0 / 409.5 MB, free: 1.531 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003974/0.2445, allocations: 0.9376 MB / 410.4 MB, free: 464 kB / 302.1 MB Notification: Performance of Categorize: time 1.597e-05/0.2445, allocations: 7.969 kB / 410.4 MB, free: 456 kB / 302.1 MB Notification: Performance of Solve: time 0.0004832/0.245, allocations: 407.6 kB / 410.8 MB, free: 60 kB / 302.1 MB Notification: Performance of Jacobian: time 0.001276/0.2463, allocations: 1.329 MB / 412.2 MB, free: 14.69 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ............................. 3 (3) {volume.m, volume.mXi, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (9) {$SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $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: ........... 80 (scalar:68, array:12, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 105 (scalar:89, array:16, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 4.751e-05/0.2464, allocations: 49.08 kB / 412.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of SimCode: time 0.01334/0.2597, allocations: 8.673 MB / 420.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of Templates: time 0.05236/0.3121, allocations: 44.68 MB / 465.6 MB, free: 9.707 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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_MoistAir1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.o Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:305:59: error: use of undeclared identifier 'i' tmp19 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:308:127: error: use of undeclared identifier 'i' tmp23 = modelica_real_to_modelica_string((&data->localData[0]->realVars[58] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:324:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Water\", \"Air\"}", (long) i); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:513:59: error: use of undeclared identifier 'i' tmp71 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:516:137: error: use of undeclared identifier 'i' tmp75 = modelica_real_to_modelica_string((&data->localData[0]->realVars[35] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:519:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:532:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Water\", \"Air\"}", (long) i); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:721:60: error: use of undeclared identifier 'i' tmp123 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:724:127: error: use of undeclared identifier 'i' tmp127 = modelica_real_to_modelica_string((&data->localData[0]->realVars[13] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:727:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:740:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Water\", \"Air\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.o] Error 1