Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 105 kB / 16.42 MB, free: 6.52 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.001111/0.001111, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.23/1.23, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/1.899e-05, allocations: 2.281 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04865/0.04868, allocations: 50.69 MB / 377.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1591/0.2078, allocations: 5.185 MB / 383.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.2082, allocations: 6.656 kB / 383.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.209, allocations: 244.9 kB / 383.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.21, allocations: 368.2 kB / 383.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.2251, allocations: 6.747 MB / 390.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.2267, allocations: 1.141 MB / 391.6 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.227, allocations: 163 kB / 391.7 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/0.2331, allocations: 3.609 MB / 395.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.2335, allocations: 351.2 kB / 395.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.005e-05/0.2336, allocations: 58.62 kB / 395.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.2478, allocations: 9.628 MB / 405.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007346/0.2486, allocations: 0.8647 MB / 406.2 MB, free: 7.227 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000323/0.2489, allocations: 0.5051 MB / 406.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.2491, allocations: 98.28 kB / 406.8 MB, free: 6.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.09e-05/0.2492, allocations: 10.94 kB / 406.8 MB, free: 6.918 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: 107 (104) * Number of variables: 107 (101) Notification: Performance of Bindings: time 0.00195/0.2512, allocations: 2.512 MB / 409.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003673/0.2515, allocations: 318.1 kB / 409.7 MB, free: 5.141 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001435/0.253, allocations: 1.639 MB / 411.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001511/0.2532, allocations: 120.7 kB / 411.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Alias: time 0.001791/0.2549, allocations: 1.961 MB / 413.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001007/0.2551, allocations: 107.1 kB / 413.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Events: time 0.0002004/0.2553, allocations: 207.8 kB / 413.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002985/0.2556, allocations: 424.2 kB / 414.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000442/0.256, allocations: 0.6326 MB / 414.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Causalize: time 0.003324/0.2594, allocations: 3.985 MB / 418.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001374/0.2607, allocations: 1.534 MB / 420.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Inline: time 0.002127/0.2629, allocations: 2.372 MB / 422.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001133/0.263, allocations: 119.1 kB / 422.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of Cleanup: time 9.366e-05/0.2631, allocations: 103.6 kB / 422.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of Causalize: time 0.003878/0.267, allocations: 4.567 MB / 427.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of Tearing: time 0.0005437/0.2675, allocations: 0.6673 MB / 428.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of Initialization: time 5.11e-07/0.2676, allocations: 0 / 428.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of Tearing: time 0.000631/0.2682, allocations: 0.9348 MB / 429 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Categorize: time 1.674e-05/0.2682, allocations: 4 kB / 429 MB, free: 2.766 MB / 334.1 MB Notification: Performance of Solve: time 0.0005592/0.2688, allocations: 405.4 kB / 429.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001233/0.27, allocations: 1.331 MB / 430.7 MB, free: 1.016 MB / 334.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 5.588e-05/0.2701, allocations: 57.14 kB / 430.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of SimCode: time 0.01398/0.2841, allocations: 8.633 MB / 439.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Templates: time 0.05208/0.3362, allocations: 45.91 MB / 485.3 MB, free: 10.7 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_1_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_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.o Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c Modelica_3.2.1_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_3.2.1_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_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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_3.2.1_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_3.2.1_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_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:519:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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_3.2.1_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_3.2.1_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_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:727:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.o] Error 1