Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 110.4 kB / 18.37 MB, free: 4.715 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.001399/0.001399, allocations: 196.7 kB / 19.3 MB, free: 3.785 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.305/1.305, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.325e-05, allocations: 2.281 kB / 282 MB, free: 2.523 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02509/0.02512, allocations: 27.05 MB / 309.1 MB, free: 7.363 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.0297, allocations: 4.163 MB / 313.3 MB, free: 3.188 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.02992, allocations: 4 kB / 313.3 MB, free: 3.184 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.03053, allocations: 206.7 kB / 313.5 MB, free: 2.98 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.03118, allocations: 338.1 kB / 313.8 MB, free: 2.648 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.03538, allocations: 1.479 MB / 315.3 MB, free: 1.168 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.03662, allocations: 0.9651 MB / 316.2 MB, free: 204 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.03687, allocations: 121.5 kB / 316.4 MB, free: 80 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006051/0.04293, allocations: 4.08 MB / 320.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.04322, allocations: 243 kB / 320.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.04328, allocations: 39.94 kB / 320.7 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.0446, allocations: 0.7494 MB / 321.5 MB, free: 10.96 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.0004633/0.04507, allocations: 0.5687 MB / 322 MB, free: 10.39 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001951/0.04528, allocations: 339.5 kB / 322.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.216e-05/0.04536, allocations: 75.81 kB / 322.4 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.38e-05/0.04541, allocations: 4 kB / 322.4 MB, free: 9.977 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 (66) * Number of variables: 66 (66) Notification: Performance of Bindings: time 0.001466/0.04688, allocations: 1.701 MB / 324.1 MB, free: 8.164 MB / 270.1 MB Notification: Performance of FunctionAlias: time 0.0001143/0.047, allocations: 95.7 kB / 324.2 MB, free: 8.07 MB / 270.1 MB Notification: Performance of Early Inline: time 0.0007622/0.04777, allocations: 0.8779 MB / 325.1 MB, free: 7.164 MB / 270.1 MB Notification: Performance of simplify1: time 4.627e-05/0.04782, allocations: 55.94 kB / 325.2 MB, free: 7.109 MB / 270.1 MB Notification: Performance of Alias: time 0.001415/0.04925, allocations: 1.33 MB / 326.5 MB, free: 5.617 MB / 270.1 MB Notification: Performance of simplify2: time 4.602e-05/0.0493, allocations: 47.92 kB / 326.5 MB, free: 5.57 MB / 270.1 MB Notification: Performance of Events: time 0.0001619/0.04947, allocations: 127.7 kB / 326.7 MB, free: 5.445 MB / 270.1 MB Notification: Performance of Detect States: time 0.0002243/0.0497, allocations: 214.3 kB / 326.9 MB, free: 5.219 MB / 270.1 MB Notification: Performance of Partitioning: time 0.0003201/0.05003, allocations: 328.9 kB / 327.2 MB, free: 4.82 MB / 270.1 MB Notification: Performance of Causalize: time 0.001435/0.05148, allocations: 1.512 MB / 328.7 MB, free: 3.234 MB / 270.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005637/0.05205, allocations: 0.5894 MB / 329.3 MB, free: 2.617 MB / 270.1 MB Notification: Performance of Inline: time 0.0009478/0.05301, allocations: 0.9801 MB / 330.3 MB, free: 1.605 MB / 270.1 MB Notification: Performance of Partitioning: time 6.989e-05/0.05309, allocations: 70.34 kB / 330.3 MB, free: 1.527 MB / 270.1 MB Notification: Performance of Cleanup: time 0.0001284/0.05322, allocations: 35.92 kB / 330.4 MB, free: 1.492 MB / 270.1 MB Notification: Performance of Causalize: time 0.00162/0.05485, allocations: 1.838 MB / 332.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002164/0.05507, allocations: 250.1 kB / 332.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Initialization: time 3.51e-07/0.05508, allocations: 0 / 332.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Tearing: time 0.0002993/0.05539, allocations: 0.4927 MB / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Categorize: time 1.164e-05/0.05541, allocations: 0 / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Solve: time 0.0002888/0.0557, allocations: 222 kB / 333.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003465/0.05606, allocations: 395.2 kB / 333.6 MB, free: 14.16 MB / 286.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ............................. 2 (2) {volume.m, volume.U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {$SEV_5[$i1], $SEV_4, $SEV_3[$i1], $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: ........... 36 (scalar:33, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:55, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.659e-05/0.05611, allocations: 38.62 kB / 333.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of SimCode: time 0.00307/0.05919, allocations: 2.559 MB / 336.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of Templates: time 0.01237/0.07158, allocations: 8.445 MB / 344.6 MB, free: 3.09 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.o Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:305:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:308:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[27] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:311:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:319:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:456:59: error: use of undeclared identifier 'i' tmp59 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:459:137: error: use of undeclared identifier 'i' tmp63 = modelica_real_to_modelica_string((&data->localData[0]->realVars[18] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:462:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:470:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:607:59: error: use of undeclared identifier 'i' tmp98 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:610:126: error: use of undeclared identifier 'i' tmp102 = modelica_real_to_modelica_string((&data->localData[0]->realVars[8] /* volume.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:613:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.c:621:107: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"air\"}", (long) i); ^ 12 errors generated. make: *** [: Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.o] Error 1