Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001223/0.001223, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.001194/0.001195, allocations: 189.5 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.241/1.241, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.515e-05, allocations: 10.16 kB / 327.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2947/0.2948, allocations: 150.6 MB / 477.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.2959, allocations: 0.9739 MB / 478.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.296, allocations: 4 kB / 478.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.2962, allocations: 29.83 kB / 478.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.2967, allocations: 248.6 kB / 479 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.2971, allocations: 115.6 kB / 479.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2973, allocations: 171.3 kB / 479.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.2974, allocations: 8 kB / 479.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.2976, allocations: 91.67 kB / 479.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.081e-05/0.2977, allocations: 51.72 kB / 479.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.2977, allocations: 4 kB / 479.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.2981, allocations: 267.7 kB / 479.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001339/0.2982, allocations: 139.3 kB / 479.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 5.179e-05/0.2983, allocations: 86.81 kB / 479.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.2983, allocations: 16 kB / 479.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.011e-05/0.2983, allocations: 0 / 479.9 MB, free: 13.25 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.0005228/0.2989, allocations: 0.5058 MB / 480.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FunctionAlias: time 2.648e-05/0.2989, allocations: 24.39 kB / 480.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0007569/0.2997, allocations: 0.7747 MB / 481.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simplify1: time 7.611e-05/0.2997, allocations: 91.92 kB / 481.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Alias: time 0.0004745/0.3002, allocations: 401.6 kB / 481.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simplify2: time 6.874e-05/0.3003, allocations: 79.94 kB / 481.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Events: time 0.000144/0.3004, allocations: 91.86 kB / 481.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Detect States: time 0.0001834/0.3006, allocations: 156 kB / 482 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001769/0.3008, allocations: 172.7 kB / 482.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of Causalize: time 0.0009583/0.3018, allocations: 0.9365 MB / 483.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004195/0.3022, allocations: 0.513 MB / 483.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Inline: time 0.001295/0.3035, allocations: 1.55 MB / 485.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of Partitioning: time 2.283e-05/0.3035, allocations: 20.12 kB / 485.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Cleanup: time 6.088e-05/0.3036, allocations: 71.89 kB / 485.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of Causalize: time 0.001784/0.3054, allocations: 1.859 MB / 487.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of Tearing: time 7.414e-06/0.3054, allocations: 8 kB / 487.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of Initialization: time 4.01e-07/0.3054, allocations: 0 / 487.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of Tearing: time 0.0006467/0.3061, allocations: 422.2 kB / 487.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of Categorize: time 6.542e-06/0.3061, allocations: 0 / 487.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of Solve: time 0.0004088/0.3065, allocations: 484.9 kB / 488.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0003097/0.3068, allocations: 402 kB / 488.4 MB, free: 4.312 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.804e-05/0.3069, allocations: 28.25 kB / 488.5 MB, free: 4.285 MB / 382.1 MB Notification: Performance of SimCode: time 0.001619/0.3085, allocations: 1.609 MB / 490.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of Templates: time 0.008482/0.317, allocations: 6.15 MB / 496.2 MB, free: 12.49 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.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_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2.o Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.c Modelica_3.2.1_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.1_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_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.1_Modelica.Media.Examples.TestOnly.IdealGasN2.o] Error 1