Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 114.8 kB / 18.47 MB, free: 4.59 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.001179/0.001179, allocations: 189.2 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.475e-05, allocations: 5.516 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02829/0.02832, allocations: 28.66 MB / 499.8 MB, free: 452 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2273/0.2557, allocations: 16.96 MB / 0.5047 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.2562, allocations: 13.22 kB / 0.5047 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.257, allocations: 262.8 kB / 0.5049 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.2669, allocations: 3.817 MB / 0.5087 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006576/0.2735, allocations: 2.656 MB / 0.5113 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.2752, allocations: 1.13 MB / 0.5124 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.2756, allocations: 255 kB / 0.5126 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.2765, allocations: 0.5188 MB / 0.5131 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.2769, allocations: 323.6 kB / 0.5134 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.2769, allocations: 38.66 kB / 0.5135 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01407/0.291, allocations: 6.895 MB / 0.5202 GB, free: 11.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0008558/0.2919, allocations: 0.835 MB / 0.521 GB, free: 10.74 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002719/0.2922, allocations: 0.5399 MB / 0.5215 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.2923, allocations: 86.59 kB / 0.5216 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001624/0.2925, allocations: 16.31 kB / 0.5216 GB, free: 10.39 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: 84 (76) * Number of variables: 84 (84) Notification: Performance of Bindings: time 0.001953/0.2945, allocations: 1.961 MB / 0.5235 GB, free: 9.391 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001489/0.2946, allocations: 94.67 kB / 0.5236 GB, free: 9.375 MB / 382.1 MB Notification: Performance of Early Inline: time 0.001488/0.2961, allocations: 1.339 MB / 0.5249 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simplify1: time 0.0002075/0.2963, allocations: 194.3 kB / 0.5251 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Alias: time 0.001384/0.2977, allocations: 1.04 MB / 0.5261 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001412/0.2979, allocations: 172.3 kB / 0.5263 GB, free: 8.285 MB / 382.1 MB Notification: Performance of Detect States: time 0.0002256/0.2981, allocations: 246.3 kB / 0.5265 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Events: time 0.00036/0.2985, allocations: 331.2 kB / 0.5269 GB, free: 8.07 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0003529/0.2989, allocations: 420 kB / 0.5273 GB, free: 7.828 MB / 382.1 MB Notification: Performance of Causalize: time 0.001746/0.3006, allocations: 1.793 MB / 0.529 GB, free: 7.172 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007971/0.3014, allocations: 1.06 MB / 0.53 GB, free: 6.363 MB / 382.1 MB Notification: Performance of Inline: time 0.001554/0.303, allocations: 1.841 MB / 0.5318 GB, free: 5.004 MB / 382.1 MB Notification: Performance of Partitioning: time 5.422e-05/0.303, allocations: 35.06 kB / 0.5319 GB, free: 4.977 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0002694/0.3033, allocations: 471.4 kB / 0.5323 GB, free: 4.609 MB / 382.1 MB Notification: Performance of Causalize: time 0.003696/0.307, allocations: 3.623 MB / 0.5359 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Tearing: time 1.651e-05/0.3071, allocations: 0 / 0.5359 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Initialization: time 9.61e-07/0.3071, allocations: 0 / 0.5359 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Tearing: time 8.516e-06/0.3071, allocations: 6.438 kB / 0.5359 GB, free: 3.27 MB / 382.1 MB Notification: Performance of Categorize: time 1.763e-05/0.3071, allocations: 10.69 kB / 0.5359 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Solve: time 0.0005017/0.3076, allocations: 336.4 kB / 0.5362 GB, free: 3.086 MB / 382.1 MB Notification: Performance of Jacobian: time 3.136e-06/0.3076, allocations: 0 / 0.5362 GB, free: 3.086 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 26 (26) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11[$i1], $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1[$i1], $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 79 (scalar:75, array:4, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 98 (scalar:94, array:4, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 98 (scalar:94, array:4, 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 0.000105/0.3077, allocations: 58.75 kB / 0.5363 GB, free: 3.039 MB / 382.1 MB Notification: Performance of SimCode: time 0.01599/0.3237, allocations: 8.578 MB / 0.5446 GB, free: 12.13 MB / 398.1 MB Notification: Performance of Templates: time 0.04374/0.3675, allocations: 35.97 MB / 0.5798 GB, free: 8.203 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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=ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing -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 ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.o ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:325:59: error: use of undeclared identifier 'i' tmp28 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:328:126: error: use of undeclared identifier 'i' tmp32 = modelica_real_to_modelica_string((&data->localData[0]->realVars[39] /* SinkP1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:331:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:339:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:496:59: error: use of undeclared identifier 'i' tmp72 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:499:127: error: use of undeclared identifier 'i' tmp76 = modelica_real_to_modelica_string((&data->localData[0]->realVars[2] /* SourceP1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:502:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.c:510:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ 8 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.o] Error 1