Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 118.8 kB / 17.76 MB, free: 5.195 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.001103/0.001103, allocations: 192.6 kB / 18.69 MB, free: 4.273 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.266/1.266, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.569e-05, allocations: 7.344 kB / 328.5 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3134/0.3135, allocations: 150.6 MB / 479.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3147, allocations: 0.9729 MB / 480.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.3148, allocations: 0 / 480.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.315, allocations: 33.77 kB / 480.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005768/0.3156, allocations: 244.8 kB / 480.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.316, allocations: 111.7 kB / 480.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3163, allocations: 179.3 kB / 480.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.3163, allocations: 7.984 kB / 480.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3165, allocations: 91.62 kB / 480.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.3166, allocations: 47.83 kB / 480.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.3167, allocations: 8 kB / 480.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.3171, allocations: 263.6 kB / 481 MB, free: 13.47 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001312/0.3172, allocations: 151.2 kB / 481.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 5.845e-05/0.3173, allocations: 78.94 kB / 481.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.3173, allocations: 11.94 kB / 481.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.206e-05/0.3173, allocations: 4 kB / 481.3 MB, free: 13.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0005664/0.3179, allocations: 0.506 MB / 481.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FunctionAlias: time 2.982e-05/0.3179, allocations: 24.39 kB / 481.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0007849/0.3187, allocations: 0.7771 MB / 482.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simplify1: time 7.587e-05/0.3188, allocations: 83.94 kB / 482.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Alias: time 0.0004931/0.3193, allocations: 401.6 kB / 483 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simplify2: time 8.111e-05/0.3194, allocations: 87.88 kB / 483.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of Events: time 0.0001493/0.3195, allocations: 83.86 kB / 483.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002492/0.3198, allocations: 168 kB / 483.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001793/0.32, allocations: 164.6 kB / 483.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Causalize: time 0.0009924/0.321, allocations: 0.942 MB / 484.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004505/0.3215, allocations: 0.5081 MB / 485 MB, free: 9.242 MB / 382.1 MB Notification: Performance of Inline: time 0.001355/0.3228, allocations: 1.55 MB / 486.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Partitioning: time 2.665e-05/0.3229, allocations: 28.12 kB / 486.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of Cleanup: time 6.971e-05/0.3229, allocations: 71.89 kB / 486.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of Causalize: time 0.001783/0.3247, allocations: 1.858 MB / 488.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of Tearing: time 6.222e-06/0.3247, allocations: 0 / 488.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of Initialization: time 4.91e-07/0.3247, allocations: 0 / 488.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of Tearing: time 0.0006274/0.3254, allocations: 418.3 kB / 488.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of Categorize: time 1.117e-05/0.3254, allocations: 8.016 kB / 488.9 MB, free: 5.23 MB / 382.1 MB Notification: Performance of Solve: time 0.0003898/0.3258, allocations: 479.9 kB / 489.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0002967/0.3261, allocations: 409.9 kB / 489.8 MB, free: 4.277 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 1 * 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) {m, U} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$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: ........... 16 (scalar:15, array:1, 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: ........... 21 (scalar:20, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.559e-05/0.3261, allocations: 24.34 kB / 489.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of SimCode: time 0.001569/0.3277, allocations: 1.611 MB / 491.4 MB, free: 2.613 MB / 382.1 MB Notification: Performance of Templates: time 0.008435/0.3362, allocations: 6.151 MB / 497.6 MB, free: 12.46 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.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_2_Modelica_Media_Examples_TestOnly_IdealGasN2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.o Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.c Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.c:245:59: error: use of undeclared identifier 'i' tmp20 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.c:248:118: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[8] /* medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.c:259:106: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"N2\"}", (long) i); ^ 4 errors generated. make: *** [: Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.o] Error 1