Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001143/0.001143, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.001179/0.001179, allocations: 187.1 kB / 17.35 MB, free: 5.754 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.26/1.26, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.82e-05, allocations: 2.281 kB / 327.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2143/0.2143, allocations: 65.71 MB / 392.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005584/0.2199, allocations: 5.477 MB / 398.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2202, allocations: 6.562 kB / 398.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.221, allocations: 347.6 kB / 398.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.2217, allocations: 0.5116 MB / 399.2 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.2362, allocations: 7.077 MB / 406.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.2379, allocations: 1.619 MB / 407.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.2382, allocations: 241.7 kB / 408.2 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.2388, allocations: 0.6311 MB / 408.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004344/0.2393, allocations: 0.4998 MB / 409.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.925e-05/0.2394, allocations: 88.56 kB / 409.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/0.2516, allocations: 9.891 MB / 419.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009028/0.2525, allocations: 1.229 MB / 420.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002869/0.2528, allocations: 0.7301 MB / 421.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2529, allocations: 135.7 kB / 421.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.514e-05/0.253, allocations: 12 kB / 421.4 MB, free: 2.723 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.002307/0.2553, allocations: 3.53 MB / 424.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0004353/0.2558, allocations: 430.8 kB / 425.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002174/0.258, allocations: 2.316 MB / 427.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001765/0.2581, allocations: 174.8 kB / 427.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of Alias: time 0.002736/0.2609, allocations: 2.762 MB / 430.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001487/0.261, allocations: 155 kB / 430.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of Events: time 0.0003259/0.2614, allocations: 287.6 kB / 431 MB, free: 8.766 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006057/0.262, allocations: 0.5983 MB / 431.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0008457/0.2629, allocations: 0.8816 MB / 432.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Causalize: time 0.005003/0.2679, allocations: 5.696 MB / 438.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.001966/0.2698, allocations: 2.157 MB / 440.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Inline: time 0.003032/0.2729, allocations: 3.32 MB / 443.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001734/0.2731, allocations: 159.6 kB / 443.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001374/0.2732, allocations: 148.6 kB / 444 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Causalize: time 0.005639/0.2789, allocations: 6.541 MB / 450.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Tearing: time 0.000578/0.2795, allocations: 0.6613 MB / 451.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Initialization: time 8.72e-07/0.2795, allocations: 0 / 451.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Tearing: time 0.0008419/0.2803, allocations: 1.224 MB / 452.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of Categorize: time 2.36e-05/0.2803, allocations: 8 kB / 452.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of Solve: time 0.0009296/0.2813, allocations: 0.6163 MB / 453 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Jacobian: time 0.001814/0.2831, allocations: 1.862 MB / 454.9 MB, free: 1.059 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 6.38e-05/0.2832, allocations: 72.73 kB / 455 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of SimCode: time 0.01598/0.2992, allocations: 10.03 MB / 465 MB, free: 7.238 MB / 366.1 MB Notification: Performance of Templates: time 0.05957/0.3588, allocations: 49.74 MB / 0.5027 GB, free: 5.449 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c Modelica_3.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:371:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:579:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:787:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.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.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.c:995:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.o] Error 1