Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 123 kB / 17.1 MB, free: 5.973 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.001234/0.001234, allocations: 191.9 kB / 18.04 MB, free: 5.047 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.529/1.529, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2238/0.2238, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.614e-05, allocations: 2.281 kB / 442.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03105/0.03108, allocations: 30.05 MB / 472.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.04978, allocations: 15.52 MB / 488 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.05025, allocations: 11.94 kB / 488 MB, free: 7.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.051, allocations: 214.6 kB / 488.2 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.05189, allocations: 278.4 kB / 488.5 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.06684, allocations: 5.62 MB / 494.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.06814, allocations: 0.9153 MB / 495 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.06854, allocations: 200.4 kB / 495.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/0.08104, allocations: 5.513 MB / 0.489 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.08159, allocations: 243 kB / 0.4892 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.0817, allocations: 35.94 kB / 0.4893 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.09275, allocations: 5.588 MB / 0.4947 GB, free: 5.297 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0007277/0.09352, allocations: 0.5992 MB / 0.4953 GB, free: 4.691 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002986/0.09383, allocations: 394.3 kB / 0.4957 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.09398, allocations: 67.81 kB / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001549/0.09414, allocations: 11.98 kB / 0.4958 GB, free: 4.227 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: 62 (62) * Number of variables: 62 (62) Notification: Performance of Bindings: time 0.001745/0.0959, allocations: 1.429 MB / 0.4971 GB, free: 2.688 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0001281/0.09603, allocations: 75.84 kB / 0.4972 GB, free: 2.613 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0009125/0.09695, allocations: 0.6854 MB / 0.4979 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001526/0.09712, allocations: 122.3 kB / 0.498 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Alias: time 0.001281/0.09841, allocations: 0.807 MB / 0.4988 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simplify2: time 0.0001225/0.09854, allocations: 95.73 kB / 0.4989 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of Detect States: time 0.0001783/0.09873, allocations: 138.6 kB / 0.499 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of Events: time 0.0002723/0.09901, allocations: 180.6 kB / 0.4992 GB, free: 368 kB / 382.1 MB Notification: Performance of Partitioning: time 0.0003524/0.09937, allocations: 311.5 kB / 0.4995 GB, free: 15.94 MB / 398.1 MB Notification: Performance of Causalize: time 0.001241/0.1006, allocations: 1.007 MB / 0.5005 GB, free: 14.82 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005879/0.1012, allocations: 0.5072 MB / 0.501 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Inline: time 0.0009451/0.1022, allocations: 0.7638 MB / 0.5017 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Partitioning: time 4.334e-05/0.1022, allocations: 26.36 kB / 0.5017 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001294/0.1024, allocations: 147.8 kB / 0.5019 GB, free: 13.31 MB / 398.1 MB Notification: Performance of Causalize: time 0.001259/0.1036, allocations: 0.9623 MB / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Tearing: time 1.372e-05/0.1037, allocations: 4 kB / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Initialization: time 3.31e-07/0.1037, allocations: 0 / 0.5028 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Tearing: time 1.003e-05/0.1037, allocations: 7.938 kB / 0.5028 GB, free: 12.33 MB / 398.1 MB Notification: Performance of Categorize: time 2.064e-05/0.1037, allocations: 0 / 0.5028 GB, free: 12.33 MB / 398.1 MB Notification: Performance of Solve: time 0.0002445/0.104, allocations: 138 kB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Jacobian: time 3.296e-06/0.104, allocations: 4 kB / 0.503 GB, free: 12.19 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 10 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {boundary_prescriberho_1.medium.state.phase, boundary_prescriberho_1.medium.phase, boundary_prescriberho_2.medium.state.phase, boundary_prescriberho_2.medium.phase, $SEV_7, $SEV_6[$i1], $SEV_5, $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 48 (scalar:44, 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: ........... 61 (scalar:57, 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 6.78e-05/0.1041, allocations: 33.19 kB / 0.503 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.01576/0.1198, allocations: 6.613 MB / 0.5095 GB, free: 5.516 MB / 398.1 MB Notification: Performance of Templates: time 0.3112/0.431, allocations: 26.58 MB / 0.5354 GB, free: 46.62 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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=ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy -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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.o ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:265:59: error: use of undeclared identifier 'i' tmp28 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:268:143: error: use of undeclared identifier 'i' tmp32 = modelica_real_to_modelica_string((&data->localData[0]->realVars[18] /* boundary_prescriberho_2.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:271:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:279:109: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"water\"}", (long) i); ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:436:59: error: use of undeclared identifier 'i' tmp72 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:439:142: error: use of undeclared identifier 'i' tmp76 = modelica_real_to_modelica_string((&data->localData[0]->realVars[1] /* boundary_prescriberho_1.medium.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:442:22: error: use of undeclared identifier 'i' switch(i) ^ ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.c:450: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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.o] Error 1