Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 107 kB / 16.42 MB, free: 6.445 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.001145/0.001145, allocations: 192.2 kB / 17.36 MB, free: 5.719 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.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.189e-05, allocations: 2.281 kB / 327.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2568/0.2568, allocations: 65.72 MB / 392.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006301/0.2631, allocations: 5.473 MB / 398.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.2635, allocations: 9.25 kB / 398.4 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009457/0.2645, allocations: 345.8 kB / 398.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009616/0.2655, allocations: 0.5161 MB / 399.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01732/0.2829, allocations: 7.074 MB / 406.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.2852, allocations: 1.622 MB / 407.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.2856, allocations: 239.5 kB / 408.2 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.2866, allocations: 0.6302 MB / 408.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.2872, allocations: 0.5028 MB / 409.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2873, allocations: 85.12 kB / 409.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/0.3049, allocations: 9.893 MB / 419.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001483/0.3064, allocations: 1.228 MB / 420.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003866/0.3068, allocations: 0.7255 MB / 421.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.307, allocations: 135.7 kB / 421.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001478/0.3072, allocations: 15.94 kB / 421.4 MB, free: 2.863 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: 154 (150) * Number of variables: 154 (146) Notification: Performance of Bindings: time 0.002534/0.3097, allocations: 3.53 MB / 424.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004752/0.3102, allocations: 422 kB / 425.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of Early Inline: time 0.00261/0.3128, allocations: 2.321 MB / 427.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simplify1: time 0.000205/0.313, allocations: 180.9 kB / 427.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Alias: time 0.00301/0.316, allocations: 2.752 MB / 430.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001761/0.3162, allocations: 162.5 kB / 430.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of Events: time 0.0003341/0.3166, allocations: 284.6 kB / 431 MB, free: 8.914 MB / 334.1 MB Notification: Performance of Detect States: time 0.00062/0.3172, allocations: 0.6028 MB / 431.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0008725/0.3181, allocations: 0.8693 MB / 432.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of Causalize: time 0.005367/0.3234, allocations: 5.702 MB / 438.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0023/0.3258, allocations: 2.16 MB / 440.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Inline: time 0.003504/0.3293, allocations: 3.315 MB / 443.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001929/0.3295, allocations: 167.6 kB / 443.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001547/0.3297, allocations: 148.6 kB / 444 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Causalize: time 0.006188/0.3359, allocations: 6.536 MB / 450.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of Tearing: time 0.0006675/0.3365, allocations: 0.6598 MB / 451.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of Initialization: time 4.859e-06/0.3366, allocations: 0 / 451.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of Tearing: time 0.0009255/0.3375, allocations: 1.234 MB / 452.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of Categorize: time 2.52e-05/0.3375, allocations: 8 kB / 452.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of Solve: time 0.00102/0.3385, allocations: 0.6073 MB / 453 MB, free: 3.113 MB / 350.1 MB Notification: Performance of Jacobian: time 0.001937/0.3405, allocations: 1.861 MB / 454.9 MB, free: 1.207 MB / 350.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: ......... 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: ............................. 6 (6) {volume.m, volume.mXi, volume.U, volume1.m, volume1.mXi, volume1.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (12) {$SEV_11, $SEV_10[$i1], $SEV_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: ........... 117 (scalar:98, array:19, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 0, nonlinear:4) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 151 (scalar:126, array:25, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 7.724e-05/0.3406, allocations: 76.73 kB / 455 MB, free: 1.141 MB / 350.1 MB Notification: Performance of SimCode: time 0.01879/0.3594, allocations: 10.04 MB / 465 MB, free: 7.375 MB / 366.1 MB Notification: Performance of Templates: time 0.06487/0.4243, allocations: 49.74 MB / 0.5027 GB, free: 5.582 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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_MoistAir2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=6 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:365: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.MoistAir2.c:368:127: error: use of undeclared identifier 'i' tmp23 = modelica_real_to_modelica_string((&data->localData[0]->realVars[97] /* volume1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:384: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.MoistAir2.c:573: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.MoistAir2.c:576:127: error: use of undeclared identifier 'i' tmp75 = modelica_real_to_modelica_string((&data->localData[0]->realVars[64] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:579:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:592: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.MoistAir2.c:781: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.MoistAir2.c:784:138: error: use of undeclared identifier 'i' tmp127 = modelica_real_to_modelica_string((&data->localData[0]->realVars[41] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:787:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:800: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.MoistAir2.c:989:60: error: use of undeclared identifier 'i' tmp175 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:992:127: error: use of undeclared identifier 'i' tmp179 = modelica_real_to_modelica_string((&data->localData[0]->realVars[19] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:995:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:1008:118: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Water\", \"Air\"}", (long) i); ^ 16 errors generated. make: *** [: Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o] Error 1