Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 106.4 kB / 16.42 MB, free: 6.465 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.001106/0.001106, allocations: 190 kB / 17.36 MB, free: 5.707 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.243/1.243, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.077e-05, allocations: 2.281 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3047/0.3048, allocations: 151.2 MB / 478.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.3085, allocations: 3.036 MB / 481.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.3086, allocations: 4 kB / 481.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.3089, allocations: 59.64 kB / 481.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.3112, allocations: 0.9973 MB / 482.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.3117, allocations: 204 kB / 482.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3121, allocations: 346.7 kB / 483 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.3121, allocations: 9.438 kB / 483 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.3124, allocations: 159.5 kB / 483.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3125, allocations: 91.61 kB / 483.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3126, allocations: 12 kB / 483.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.3148, allocations: 1.387 MB / 484.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0002644/0.315, allocations: 278 kB / 484.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001222/0.3152, allocations: 177.9 kB / 485.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.3152, allocations: 27.94 kB / 485.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.662e-05/0.3152, allocations: 9.25 kB / 485.1 MB, free: 8.164 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: 45 (39) * Number of variables: 45 (39) Notification: Performance of Bindings: time 0.001046/0.3163, allocations: 0.9023 MB / 486 MB, free: 7.156 MB / 382.1 MB Notification: Performance of FunctionAlias: time 9.278e-05/0.3164, allocations: 62.06 kB / 486.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001298/0.3177, allocations: 1.205 MB / 487.3 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001024/0.3178, allocations: 95.89 kB / 487.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of Alias: time 0.0007559/0.3186, allocations: 0.6391 MB / 488 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simplify2: time 8.991e-05/0.3187, allocations: 91.88 kB / 488.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of Events: time 0.0002101/0.3189, allocations: 143.7 kB / 488.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of Detect States: time 0.0003352/0.3192, allocations: 295.8 kB / 488.5 MB, free: 4.504 MB / 382.1 MB Notification: Performance of Partitioning: time 0.000326/0.3196, allocations: 312.1 kB / 488.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of Causalize: time 0.001993/0.3216, allocations: 1.844 MB / 490.7 MB, free: 2.34 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.00082/0.3224, allocations: 0.874 MB / 491.6 MB, free: 1.438 MB / 382.1 MB Notification: Performance of Inline: time 0.003103/0.3255, allocations: 3.348 MB / 494.9 MB, free: 14.05 MB / 398.1 MB Notification: Performance of Partitioning: time 4.902e-05/0.3256, allocations: 42.36 kB / 495 MB, free: 14 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001266/0.3257, allocations: 147.8 kB / 495.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of Causalize: time 0.002836/0.3286, allocations: 2.937 MB / 498 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Tearing: time 8.666e-06/0.3286, allocations: 4 kB / 498 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Initialization: time 3.5e-07/0.3286, allocations: 4 kB / 498 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Tearing: time 1.873e-06/0.3286, allocations: 0 / 498 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Categorize: time 1.035e-05/0.3286, allocations: 0 / 498 MB, free: 10.95 MB / 398.1 MB Notification: Performance of Solve: time 0.0004767/0.3291, allocations: 341.9 kB / 498.4 MB, free: 10.61 MB / 398.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update medium2.MM with dependencies {medium2.state.X[j], medium2.MM}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update $SEV_6 with dependencies {medium2.state.X[i], $SEV_6}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update s2 with dependencies {medium2.state.X[2], medium2.state.X[1], medium2.state.p, medium2.state.T, medium2.state.X[i], s2, $SEV_6}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update $SEV_7 with dependencies {medium.state.X[i], $SEV_7}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update medium.MM with dependencies {medium.state.X[j], medium.MM}. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBStrongComponent.mo:908:13-910:20:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBStrongComponent.updateDependencyMap failed to update s with dependencies {medium.state.T, s, medium.state.p, medium.state.X[i], medium.state.X[2], medium.state.X[1], $SEV_7}. Notification: Performance of Jacobian: time 0.0011/0.3302, allocations: 1.033 MB / 499.4 MB, free: 9.5 MB / 398.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: ............... 2 * Number of algebraic event partitions: ......... 0 * 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 (5) {medium.p, medium.T, medium2.p, medium2.T, medium2.X} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (9) {$SEV_8, $SEV_7, $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: ........... 42 (scalar:36, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:40, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.863e-05/0.3303, allocations: 49.97 kB / 499.5 MB, free: 9.457 MB / 398.1 MB Notification: Performance of SimCode: time 0.004037/0.3343, allocations: 2.938 MB / 0.4906 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.01603/0.3503, allocations: 12.31 MB / 0.5026 GB, free: 10.12 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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_MixIdealGasAir -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.o Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:269: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.MixIdealGasAir.c:272:134: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[4] /* medium2.X[1] STATE(1,der(medium2.X)) */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:275:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:288:124: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Nitrogen\", \"Oxygen\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:480:59: error: use of undeclared identifier 'i' tmp72 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:483:119: error: use of undeclared identifier 'i' tmp76 = modelica_real_to_modelica_string((&data->localData[0]->realVars[16] /* medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:486:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:499:124: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..2] for array {\"Nitrogen\", \"Oxygen\"}", (long) i); ^ Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.c:994:1: warning: 'optnone' attribute only applies to functions and Objective-C methods [-Wignored-attributes] OMC_DISABLE_OPT ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../openmodelica.h:187:40: note: expanded from macro 'OMC_DISABLE_OPT' #define OMC_DISABLE_OPT __attribute__((optnone)) ^ 1 warning and 8 errors generated. make: *** [: Modelica_3.2.1_Modelica.Media.Examples.TestOnly.MixIdealGasAir.o] Error 1