Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 230.5 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 46.94 MB / 361.6 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.504e-05, allocations: 8.609 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.3281/0.3281, allocations: 38.32 MB / 0.5348 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02567/0.3538, allocations: 18.38 MB / 0.5528 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.3554, allocations: 29.62 kB / 0.5528 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.3567, allocations: 408.4 kB / 0.5532 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01787/0.3746, allocations: 5.271 MB / 0.5584 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008688/0.3833, allocations: 2.394 MB / 0.5607 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.3869, allocations: 2.325 MB / 0.563 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.3881, allocations: 0.5893 MB / 0.5635 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.3902, allocations: 1.058 MB / 0.5646 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007829/0.3981, allocations: 3.72 MB / 0.5682 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.3983, allocations: 63.28 kB / 0.5683 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.4135, allocations: 6.964 MB / 0.5751 GB, free: 1.41 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002696/0.4162, allocations: 1.738 MB / 0.5768 GB, free: 15.66 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001401/0.4176, allocations: 1.091 MB / 0.5778 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.4179, allocations: 84 kB / 0.5779 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.000225/0.4181, allocations: 27.86 kB / 0.5779 GB, free: 14.45 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: 146 (126) * Number of variables: 146 (146) Notification: Performance of [SIM] Bindings: time 0.005687/0.4238, allocations: 4.566 MB / 0.5824 GB, free: 9.688 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006704/0.4245, allocations: 0.5134 MB / 0.5829 GB, free: 9.164 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.004256/0.4287, allocations: 3.24 MB / 0.5861 GB, free: 5.887 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007092/0.4295, allocations: 404 kB / 0.5865 GB, free: 5.426 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.004077/0.4335, allocations: 2.735 MB / 0.5891 GB, free: 2.391 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006333/0.4342, allocations: 397.9 kB / 0.5895 GB, free: 1.957 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002936/0.4345, allocations: 240 kB / 0.5897 GB, free: 1.695 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0006489/0.4351, allocations: 0.5548 MB / 0.5903 GB, free: 1.082 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0005748/0.4357, allocations: 382.6 kB / 0.5906 GB, free: 0.707 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.001381/0.4371, allocations: 1.106 MB / 0.5917 GB, free: 15.51 MB / 430.1 MB Notification: Performance of [SIM] Causalize: time 0.003547/0.4406, allocations: 2.411 MB / 0.5941 GB, free: 12.99 MB / 430.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002777/0.4434, allocations: 2.455 MB / 0.5965 GB, free: 10.54 MB / 430.1 MB Notification: Performance of [INI] Simplify: time 0.002468/0.4459, allocations: 1.241 MB / 0.5977 GB, free: 9.18 MB / 430.1 MB Notification: Performance of [INI] Inline: time 0.003474/0.4493, allocations: 3.129 MB / 0.6007 GB, free: 6.043 MB / 430.1 MB Notification: Performance of [INI] Partitioning: time 0.0001394/0.4495, allocations: 60.05 kB / 0.6008 GB, free: 5.965 MB / 430.1 MB Notification: Performance of [INI] Cleanup: time 0.0007146/0.4502, allocations: 0.6244 MB / 0.6014 GB, free: 5.336 MB / 430.1 MB Notification: Performance of [INI] Causalize: time 0.008626/0.4588, allocations: 5.854 MB / 0.6071 GB, free: 15.37 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.001224/0.46, allocations: 0.8956 MB / 0.608 GB, free: 14.46 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 1.182e-06/0.46, allocations: 4 kB / 0.608 GB, free: 14.46 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001072/0.4611, allocations: 0.7464 MB / 0.6087 GB, free: 13.67 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.498e-06/0.4611, allocations: 5 kB / 0.6087 GB, free: 13.66 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.000545/0.4617, allocations: 408.5 kB / 0.6091 GB, free: 13.27 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 3.031e-05/0.4617, allocations: 12 kB / 0.6091 GB, free: 13.26 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.003767/0.4655, allocations: 2.602 MB / 0.6117 GB, free: 10.71 MB / 446.1 MB Notification: Performance of [SIM] Jacobian: time 0.02693/0.4924, allocations: 24.92 MB / 0.636 GB, free: 308 kB / 462.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) {} * Number of discrete variables: ................. 34 (34) {Source.medium.state.phase, Source.medium.phase, Sink.medium.state.phase, Sink.medium.phase, pump.medium.state.phase, pump.medium.phase, pump.heatTransfer.states.phase, pump.monitoring.state_in.phase, pump.monitoring.state.phase, Valve.state_a.phase, Valve.state_b.phase, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $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: ........... 94 (scalar:94, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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: ........... 128 (scalar:126, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 134 (scalar:132, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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: Performance of backend: time 0.0001473/0.4925, allocations: 92.14 kB / 0.6361 GB, free: 212 kB / 462.1 MB Notification: Performance of SimCode: time 0.03852/0.5311, allocations: 17.8 MB / 0.6535 GB, free: 14.27 MB / 494.1 MB Notification: Performance of Templates: time 0.1035/0.6345, allocations: 69.93 MB / 0.7218 GB, free: 8.277 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile [Timeout 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:3199:90: warning: implicit declaration of function 'argmin' is invalid in C99 [-Wimplicit-function-declaration] __omcQ_24fDER_5FV_5Fflow_5Fmin = real_array_get(__omcQ_24fDER_5FV_5Fflow_5Fnominal, 1, argmin(_V_flow_nominal)); ^ ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:3200:90: warning: implicit declaration of function 'argmax' is invalid in C99 [-Wimplicit-function-declaration] __omcQ_24fDER_5FV_5Fflow_5Fmax = real_array_get(__omcQ_24fDER_5FV_5Fflow_5Fnominal, 1, argmax(_V_flow_nominal)); ^ 2 warnings generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_records.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_01exo.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_02nls.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_03lsy.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_04set.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_05evt.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_06inz.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_07dly.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_08bnd.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_09alg.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_10asr.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_11mix.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_12jac.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_13opt.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_14lnz.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_15syn.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_16dae.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_16dae.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_17inl.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_17inl.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_18spd.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_18spd.c clang -I. -o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_records.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_01exo.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_02nls.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_03lsy.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_04set.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_05evt.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_06inz.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_07dly.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_08bnd.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_09alg.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_10asr.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_11mix.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_12jac.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_13opt.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_14lnz.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_15syn.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_16dae.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_17inl.o ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_18spd.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/TestComponents/Machines" -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,-rpath,"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,--no-as-needed -Wl,--disable-new-dtags -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lryu -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.o: in function `omc__omcQ_24fDER0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_pump_flowCharacteristic': ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:(.text+0x353ef): undefined reference to `argmin' /usr/bin/ld: ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:(.text+0x35422): undefined reference to `argmax' /usr/bin/ld: ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:(.text+0x3588d): undefined reference to `argmax' /usr/bin/ld: ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_functions.c:(.text+0x35a24): undefined reference to `argmin' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile:37: omc_main_target] Error 1 [Calling os._exit(0), Time elapsed: 8.114293529011775] Failed to read output from testmodel.py, exit status != 0: ['time', 'Source.ports[1].m_flow', 'Source.ports[1].p', 'Source.ports[1].h_outflow', 'Sink.ports[1].m_flow', 'Sink.ports[1].p', 'Sink.ports[1].h_outflow', 'pump.port_b.m_flow', 'pump.port_b.p', 'pump.port_b.h_outflow', 'valveOpening.y', 'Valve.port_b.m_flow', 'Valve.port_b.p', 'Valve.port_b.h_outflow', 'Valve.minLimiter.y', 'downstreamPressure.y'] 0.6437372319633141 0.887695311 0.46667906499999995 Calling exit ...