Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001284/0.001284, allocations: 107.6 kB / 16.42 MB, free: 6.422 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.001307/0.001307, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.383/1.383, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.069e-05, allocations: 2.281 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0507/0.05074, allocations: 50.7 MB / 377.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2034/0.2542, allocations: 5.183 MB / 383.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2545, allocations: 6.594 kB / 383.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.2553, allocations: 248.8 kB / 383.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006745/0.2561, allocations: 363.7 kB / 383.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.2753, allocations: 6.751 MB / 390.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.2772, allocations: 1.142 MB / 391.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2775, allocations: 156.9 kB / 391.7 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007552/0.285, allocations: 3.604 MB / 395.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.2855, allocations: 357.3 kB / 395.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.2856, allocations: 57.94 kB / 395.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.3031, allocations: 9.626 MB / 405.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001609/0.3047, allocations: 0.8653 MB / 406.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003902/0.3051, allocations: 0.5064 MB / 406.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.3054, allocations: 97.22 kB / 406.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001156/0.3055, allocations: 9.5 kB / 406.8 MB, free: 6.926 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.001982/0.3075, allocations: 2.518 MB / 409.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003069/0.3078, allocations: 302.2 kB / 409.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001511/0.3093, allocations: 1.651 MB / 411.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001328/0.3095, allocations: 114.6 kB / 411.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of Alias: time 0.001807/0.3113, allocations: 1.967 MB / 413.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simplify2: time 8.738e-05/0.3114, allocations: 99.39 kB / 413.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of Events: time 0.0002409/0.3116, allocations: 206.2 kB / 413.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003784/0.312, allocations: 428.2 kB / 414.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0005035/0.3125, allocations: 0.6364 MB / 414.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Causalize: time 0.003731/0.3163, allocations: 3.982 MB / 418.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001603/0.3179, allocations: 1.541 MB / 420.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Inline: time 0.002428/0.3203, allocations: 2.361 MB / 422.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001325/0.3205, allocations: 127.5 kB / 422.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001148/0.3206, allocations: 104.7 kB / 422.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of Causalize: time 0.004294/0.3249, allocations: 4.556 MB / 427.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of Tearing: time 0.0006601/0.3256, allocations: 0.6707 MB / 428.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Initialization: time 1.633e-06/0.3256, allocations: 0 / 428.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of Tearing: time 0.00075/0.3264, allocations: 0.9382 MB / 429 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Categorize: time 2.857e-05/0.3264, allocations: 4 kB / 429 MB, free: 2.766 MB / 334.1 MB Notification: Performance of Solve: time 0.0006849/0.3271, allocations: 400.5 kB / 429.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001369/0.3285, allocations: 1.339 MB / 430.7 MB, free: 1.008 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 7.771e-05/0.3285, allocations: 57.22 kB / 430.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of SimCode: time 0.01839/0.3469, allocations: 8.637 MB / 439.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Templates: time 0.05961/0.4066, allocations: 45.9 MB / 485.3 MB, free: 10.7 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_3.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_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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.o Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c Modelica_3.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.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:519:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.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.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.c:727:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.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.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.o] Error 1