Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 113.4 kB / 17.75 MB, free: 5.297 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.001101/0.001101, allocations: 188.3 kB / 18.68 MB, free: 4.375 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.301/1.301, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.724e-05, allocations: 3.125 kB / 328.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03091/0.03095, allocations: 32.56 MB / 361.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.0476, allocations: 15.74 MB / 376.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.04796, allocations: 7.938 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007653/0.04873, allocations: 266.4 kB / 377.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.04936, allocations: 357.9 kB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1776/0.227, allocations: 5.779 MB / 383.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.2283, allocations: 1.093 MB / 384.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2285, allocations: 122.7 kB / 384.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.2335, allocations: 2.226 MB / 386.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.2339, allocations: 275.9 kB / 387 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.234, allocations: 42.69 kB / 387 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008972/0.243, allocations: 5.589 MB / 392.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006588/0.2437, allocations: 0.6535 MB / 393.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002508/0.2439, allocations: 389.5 kB / 393.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2441, allocations: 88.22 kB / 393.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.612e-05/0.2442, allocations: 6.188 kB / 393.7 MB, free: 11.44 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 (78) * Number of variables: 78 (78) Notification: Performance of Bindings: time 0.001509/0.2457, allocations: 2.031 MB / 395.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001226/0.2458, allocations: 110.8 kB / 395.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008575/0.2467, allocations: 1.024 MB / 396.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simplify1: time 6.355e-05/0.2468, allocations: 66.11 kB / 396.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of Alias: time 0.001304/0.2481, allocations: 1.537 MB / 398.5 MB, free: 9.871 MB / 318.1 MB Notification: Performance of simplify2: time 4.462e-05/0.2481, allocations: 62.09 kB / 398.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of Events: time 0.0002273/0.2484, allocations: 185.8 kB / 398.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002678/0.2486, allocations: 286.5 kB / 399 MB, free: 9.77 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003159/0.249, allocations: 474.6 kB / 399.5 MB, free: 9.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.001456/0.2504, allocations: 2.016 MB / 401.5 MB, free: 9.016 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006121/0.251, allocations: 0.7978 MB / 402.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of Inline: time 0.001027/0.2521, allocations: 1.325 MB / 403.6 MB, free: 8.086 MB / 318.1 MB Notification: Performance of Partitioning: time 6.445e-05/0.2522, allocations: 80.66 kB / 403.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of Cleanup: time 4.296e-05/0.2522, allocations: 60.7 kB / 403.7 MB, free: 7.992 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) -((-273.15) - volume.medium.T_degC) = properties.T ($RES_SIM_71) slice: {}; Notification: Performance of Causalize: time 0.002472/0.2547, allocations: 3.527 MB / 407.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of Tearing: time 0.000201/0.2549, allocations: 298.4 kB / 407.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Initialization: time 9.21e-07/0.2549, allocations: 3.562 kB / 407.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Tearing: time 0.0001605/0.2551, allocations: 488.1 kB / 408 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Categorize: time 1.82e-05/0.2551, allocations: 3.938 kB / 408 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Solve: time 0.0002932/0.2554, allocations: 260.3 kB / 408.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002193/0.2556, allocations: 428.5 kB / 408.7 MB, free: 5.207 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * 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: ................. 12 (12) {volume.medium.state.phase, fixedMassFlowRate.medium.state.phase, ambient.medium.state.phase, $SEV_8, $SEV_7[$i1], $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: ........... 49 (scalar:46, 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: ........... 67 (scalar:61, 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 0.0001066/0.2557, allocations: 53.53 kB / 408.8 MB, free: 5.168 MB / 318.1 MB Notification: Performance of SimCode: time 0.007723/0.2635, allocations: 5.492 MB / 414.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of Templates: time 0.03241/0.2959, allocations: 28.65 MB / 442.9 MB, free: 5.168 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph -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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:329: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.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:332:127: error: use of undeclared identifier 'i' tmp24 = modelica_real_to_modelica_string((&data->localData[0]->realVars[30] /* ambient.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:335:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:343:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:541:59: error: use of undeclared identifier 'i' tmp75 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:544:137: error: use of undeclared identifier 'i' tmp79 = modelica_real_to_modelica_string((&data->localData[0]->realVars[19] /* fixedMassFlowRate.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:547:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:555:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:753:60: error: use of undeclared identifier 'i' tmp130 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:756:126: error: use of undeclared identifier 'i' tmp134 = 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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:759:22: error: use of undeclared identifier 'i' switch(i) ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:767:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.c:936:86: error: use of undeclared identifier 'properties' (data->localData[0]->realVars[14] /* volume.medium.T_degC variable */) = -273.15 + properties._T; ^ 13 errors generated. make: *** [: Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.o] Error 1