Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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.001326/0.001326, allocations: 105.9 kB / 18.41 MB, free: 4.688 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.001289/0.001289, allocations: 192.3 kB / 19.35 MB, free: 3.762 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.562/1.562, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.472e-05, allocations: 2.281 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4147/0.4148, allocations: 150.6 MB / 479.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.4161, allocations: 0.9811 MB / 480.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.4162, allocations: 0 / 480.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.4165, allocations: 33.89 kB / 480.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.4171, allocations: 236.6 kB / 481 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.4175, allocations: 119.6 kB / 481.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.4178, allocations: 175.3 kB / 481.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.4178, allocations: 7.984 kB / 481.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.4181, allocations: 95.62 kB / 481.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4182, allocations: 43.83 kB / 481.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4183, allocations: 11.94 kB / 481.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.4187, allocations: 263.7 kB / 481.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0001314/0.4189, allocations: 143.2 kB / 481.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 6.793e-05/0.4189, allocations: 82.88 kB / 481.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.419, allocations: 16 kB / 481.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.611e-05/0.419, allocations: 4 kB / 481.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.0006314/0.4196, allocations: 0.5135 MB / 482.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of FunctionAlias: time 3.38e-05/0.4197, allocations: 24.33 kB / 482.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0008203/0.4205, allocations: 0.781 MB / 483.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simplify1: time 9.082e-05/0.4206, allocations: 83.94 kB / 483.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of Alias: time 0.000553/0.4211, allocations: 406.8 kB / 483.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simplify2: time 7.659e-05/0.4212, allocations: 83.94 kB / 483.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Events: time 0.0001448/0.4214, allocations: 87.84 kB / 483.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Detect States: time 0.000199/0.4216, allocations: 171.5 kB / 484.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0001922/0.4218, allocations: 165.5 kB / 484.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of Causalize: time 0.00066/0.4225, allocations: 0.554 MB / 484.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004518/0.4229, allocations: 0.5041 MB / 485.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of Inline: time 0.001444/0.4244, allocations: 1.55 MB / 486.8 MB, free: 8.062 MB / 382.1 MB Notification: Performance of Partitioning: time 2.806e-05/0.4244, allocations: 20.12 kB / 486.8 MB, free: 8.035 MB / 382.1 MB Notification: Performance of Cleanup: time 6.706e-05/0.4245, allocations: 79.83 kB / 486.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of Causalize: time 0.001452/0.4259, allocations: 1.125 MB / 488 MB, free: 6.824 MB / 382.1 MB Notification: Performance of Tearing: time 0.0007298/0.4267, allocations: 418 kB / 488.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of Initialization: time 4.91e-07/0.4267, allocations: 0 / 488.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of Tearing: time 0.0001572/0.4269, allocations: 234.3 kB / 488.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of Categorize: time 1.291e-05/0.4269, allocations: 7.969 kB / 488.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of Solve: time 0.0004611/0.4273, allocations: 480.9 kB / 489.2 MB, free: 5.562 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0003788/0.4277, allocations: 398 kB / 489.6 MB, free: 5.137 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: ........... 18 (scalar:17, 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: Performance of backend: time 4.977e-05/0.4278, allocations: 33.67 kB / 489.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of SimCode: time 0.00181/0.4296, allocations: 1.595 MB / 491.2 MB, free: 3.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01012/0.4397, allocations: 6.186 MB / 497.4 MB, free: 13.29 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile make -j1 -f Modelica_3.2.3_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_3_Modelica_Media_Examples_TestOnly_IdealGasN2 -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.TestOnly.IdealGasN2.o Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.c Modelica_3.2.3_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.3_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.3_Modelica.Media.Examples.TestOnly.IdealGasN2.c:251:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.3_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.3_Modelica.Media.Examples.TestOnly.IdealGasN2.o] Error 1