Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 108.6 kB / 21.08 MB, free: 0.8594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 190.2 kB / 24.34 MB, free: 4.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 207.6 MB / 235.1 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2416/0.2416, allocations: 49.58 MB / 336.9 MB, free: 4.148 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.034e-05/1.034e-05, allocations: 2.281 kB / 477.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.04339/0.0434, allocations: 44.31 MB / 0.5093 GB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.06116, allocations: 15.5 MB / 0.5244 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.06145, allocations: 15.88 kB / 0.5244 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.06202, allocations: 194.7 kB / 0.5246 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.0625, allocations: 258.3 kB / 0.5248 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.07596, allocations: 6.616 MB / 0.5313 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008286/0.07679, allocations: 0.7584 MB / 0.532 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.07712, allocations: 223.5 kB / 0.5323 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.07742, allocations: 271 kB / 0.5325 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.0777, allocations: 242.8 kB / 0.5328 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.07774, allocations: 28 kB / 0.5328 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1551/0.2328, allocations: 7.998 MB / 0.5406 GB, free: 21.27 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0005911/0.2334, allocations: 0.8063 MB / 0.5414 GB, free: 21.05 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001912/0.2336, allocations: 0.5159 MB / 0.5419 GB, free: 20.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.2337, allocations: 77.22 kB / 0.542 GB, free: 20.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001043/0.2338, allocations: 14.27 kB / 0.542 GB, free: 20.83 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 (67) * Number of variables: 75 (75) Notification: Performance of Bindings: time 0.001295/0.2351, allocations: 1.929 MB / 0.5438 GB, free: 19.96 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0001146/0.2352, allocations: 154.3 kB / 0.544 GB, free: 19.93 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0007648/0.236, allocations: 0.9421 MB / 0.5449 GB, free: 19.86 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0001827/0.2361, allocations: 193.4 kB / 0.5451 GB, free: 19.73 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.001609/0.2378, allocations: 1.593 MB / 0.5467 GB, free: 19.3 MB / 414.1 MB Notification: Performance of Simplify 2: time 9.58e-05/0.2379, allocations: 122.8 kB / 0.5468 GB, free: 19.2 MB / 414.1 MB Notification: Performance of Remove Stream: time 4.805e-05/0.2379, allocations: 75.23 kB / 0.5468 GB, free: 19.14 MB / 414.1 MB Notification: Performance of Detect States: time 0.0001643/0.2381, allocations: 184.8 kB / 0.547 GB, free: 19.02 MB / 414.1 MB Notification: Performance of Events: time 6.863e-05/0.2381, allocations: 45.2 kB / 0.5471 GB, free: 19.02 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0001612/0.2383, allocations: 182.5 kB / 0.5472 GB, free: 18.97 MB / 414.1 MB Notification: Performance of Causalize: time 0.0005637/0.2389, allocations: 0.5615 MB / 0.5478 GB, free: 18.88 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003004/0.2392, allocations: 414.1 kB / 0.5482 GB, free: 18.87 MB / 414.1 MB Notification: Performance of Simplify: time 0.0006139/0.2398, allocations: 0.6207 MB / 0.5488 GB, free: 18.59 MB / 414.1 MB Notification: Performance of Inline: time 0.0006627/0.2404, allocations: 0.8773 MB / 0.5496 GB, free: 18.57 MB / 414.1 MB Notification: Performance of Partitioning: time 3.865e-05/0.2405, allocations: 30.75 kB / 0.5497 GB, free: 18.55 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0001361/0.2406, allocations: 205.6 kB / 0.5499 GB, free: 18.53 MB / 414.1 MB Notification: Performance of Causalize: time 0.002955/0.2436, allocations: 2.869 MB / 0.5527 GB, free: 18.01 MB / 414.1 MB Notification: Performance of Tearing: time 0.004815/0.2484, allocations: 4.541 MB / 0.5571 GB, free: 17.04 MB / 414.1 MB Notification: Performance of Initialization: time 7.21e-07/0.2484, allocations: 0 / 0.5571 GB, free: 17.04 MB / 414.1 MB Notification: Performance of Remove Dummies: time 6.573e-06/0.2484, allocations: 7 kB / 0.5571 GB, free: 17.04 MB / 414.1 MB Notification: Performance of Tearing: time 0.000104/0.2485, allocations: 263 kB / 0.5574 GB, free: 16.82 MB / 414.1 MB Notification: Performance of Categorize: time 8.697e-06/0.2485, allocations: 6.344 kB / 0.5574 GB, free: 16.82 MB / 414.1 MB Notification: Performance of Solve: time 0.0004807/0.249, allocations: 441.4 kB / 0.5578 GB, free: 16.81 MB / 414.1 MB Notification: Performance of Jacobian: time 0.0001667/0.2491, allocations: 315 kB / 0.5581 GB, free: 16.61 MB / 414.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: ......... 2 * 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: ............................. 4 (4) {Inertia1.phi, Inertia1.w, ST.P_HP, ST.P_LP} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {ST.fluidState_in.phase, SensT1.fluidState.phase, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 1, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 1, nonlinear:1) Notification: Performance of backend: time 4.085e-05/0.2492, allocations: 62.08 kB / 0.5582 GB, free: 16.56 MB / 414.1 MB Notification: Performance of SimCode: time 0.01417/0.2634, allocations: 10.84 MB / 0.5687 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.03844/0.3018, allocations: 40.23 MB / 0.608 GB, free: 2.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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=ThermoPower_ThermoPower_Test_WaterComponents_TestST1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Test.WaterComponents.TestST1.o ThermoPower_ThermoPower.Test.WaterComponents.TestST1.c ThermoPower_ThermoPower.Test.WaterComponents.TestST1.c:210:122: error: operand of type 'Modelica_Media_Common_IF97BaseTwoPhase' where arithmetic or pointer type is required (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[17]] /* ST.hiso variable */) = (MMC_FETCH(MMC_OFFSET(MMC_UNTAGPTR(omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ps(threadData, (data->simulationInfo->realParameter[33] /* SinkP1.p0 PARAM */), omc_Modelica_Media_Water_IF97__Utilities_s__props__ph(threadData, (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[11]] /* ST.fluidState_in.p variable */), (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[8]] /* ST.fluidState_in.h variable */), omc_Modelica_Media_Water_IF97__Utilities_waterBaseProp__ph(threadData, (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[11]] /* ST.fluidState_in.p variable */), (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[8]] /* ST.fluidState_in.h variable */), (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[0]] /* ST.fluidState_in.phase DISCRETE */), ((modelica_integer) 0))), ((modelica_integer) 0), ((modelica_integer) 0))), 6))); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:107:51: note: expanded from macro 'MMC_UNTAGPTR' #define MMC_UNTAGPTR(x) ((void*)((char*)(x) - 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:126:53: note: expanded from macro 'MMC_OFFSET' #define MMC_OFFSET(p,i) ((void*)((void**)(p) + (i))) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/meta_modelica_data.h:127:46: note: expanded from macro 'MMC_FETCH' #define MMC_FETCH(p) (*(void**)(p)) ^ 1 error generated. make: *** [: ThermoPower_ThermoPower.Test.WaterComponents.TestST1.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4764128839597106] Failed to read output from testmodel.py, exit status != 0: 0.30848539993166924 0.32046410699999994 0.083949756 Calling exit ...