Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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) 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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.3 kB / 16.52 MB, free: 6.723 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.00129/0.00129, allocations: 192.4 kB / 17.44 MB, free: 6.055 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.933/1.933, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.2612/0.2612, allocations: 43.52 MB / 314.1 MB, free: 0.7383 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 66.12 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1284, allocations: 57.79 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04333/0.1718, allocations: 40.25 MB / 480.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.1977, allocations: 21.25 MB / 0.4902 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.1987, allocations: 23.81 kB / 0.4902 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.2, allocations: 393.9 kB / 0.4906 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.2148, allocations: 4.159 MB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008508/0.2234, allocations: 2.235 MB / 0.4969 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.227, allocations: 2.839 MB / 0.4996 GB, free: 148 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007801/0.2278, allocations: 429.1 kB / 0.5 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009928/0.2377, allocations: 4.051 MB / 0.504 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.2497, allocations: 5.444 MB / 0.5093 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.25, allocations: 36 kB / 0.5093 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.2658, allocations: 7.266 MB / 0.5164 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.2664, allocations: 263.1 kB / 0.5167 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007669/0.2672, allocations: 422 kB / 0.5171 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007476/0.2747, allocations: 3.544 MB / 0.5206 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2747, allocations: 0 / 0.5206 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2747, allocations: 0 / 0.5206 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2747, allocations: 0 / 0.5206 GB, free: 10.54 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00447/0.2792, allocations: 1.691 MB / 0.5222 GB, free: 8.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2792, allocations: 8.031 kB / 0.5222 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.2814, allocations: 299.7 kB / 0.5225 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2824, allocations: 0.556 MB / 0.523 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2826, allocations: 117.3 kB / 0.5232 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2827, allocations: 64.11 kB / 0.5232 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.2857, allocations: 1.193 MB / 0.5244 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.2857, allocations: 7.875 kB / 0.5244 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.2858, allocations: 28 kB / 0.5244 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-05/0.2859, allocations: 45.3 kB / 0.5245 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.2885, allocations: 1.023 MB / 0.5255 GB, free: 5.32 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3326/0.6211, allocations: 5.61 MB / 0.5309 GB, free: 90.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.624, allocations: 0.7507 MB / 0.5317 GB, free: 90.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.6247, allocations: 297.2 kB / 0.532 GB, free: 90.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03592/0.6606, allocations: 15.85 MB / 0.5474 GB, free: 80.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.639e-05/0.6608, allocations: 44.53 kB / 0.5475 GB, free: 80.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 3.546e-06/0.6608, allocations: 0 / 0.5475 GB, free: 80.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007855/0.6686, allocations: 2.274 MB / 0.5497 GB, free: 79.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.6688, allocations: 166.6 kB / 0.5499 GB, free: 79.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.6696, allocations: 0.6095 MB / 0.5505 GB, free: 79.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.6697, allocations: 36.89 kB / 0.5505 GB, free: 79.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.6699, allocations: 387.6 kB / 0.5509 GB, free: 79.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6701, allocations: 177.3 kB / 0.551 GB, free: 79.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.6704, allocations: 159.8 kB / 0.5512 GB, free: 79.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6706, allocations: 379.5 kB / 0.5515 GB, free: 78.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.6712, allocations: 281.8 kB / 0.5518 GB, free: 78.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.672, allocations: 0.6089 MB / 0.5524 GB, free: 78.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.6734, allocations: 0.9008 MB / 0.5533 GB, free: 77.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.6734, allocations: 9.25 kB / 0.5533 GB, free: 77.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001669/0.6751, allocations: 0.9561 MB / 0.5542 GB, free: 76.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.6751, allocations: 12.44 kB / 0.5542 GB, free: 76.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.6751, allocations: 7.906 kB / 0.5542 GB, free: 76.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.6754, allocations: 64.33 kB / 0.5543 GB, free: 76.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.6766, allocations: 299.7 kB / 0.5546 GB, free: 76.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.678, allocations: 1.976 MB / 0.5565 GB, free: 74.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.6787, allocations: 83.19 kB / 0.5566 GB, free: 74.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.6788, allocations: 39.53 kB / 0.5566 GB, free: 74.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003954/0.6792, allocations: 287 kB / 0.5569 GB, free: 74.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6794, allocations: 74.53 kB / 0.557 GB, free: 74.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.6823, allocations: 2.561 MB / 0.5595 GB, free: 73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.6823, allocations: 37.56 kB / 0.5595 GB, free: 72.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.6823, allocations: 0 / 0.5595 GB, free: 72.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.6823, allocations: 3.984 kB / 0.5595 GB, free: 72.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/0.6866, allocations: 3.753 MB / 0.5632 GB, free: 69.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.6866, allocations: 3.984 kB / 0.5632 GB, free: 69.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000994/0.6876, allocations: 231.7 kB / 0.5634 GB, free: 69.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.688, allocations: 80.69 kB / 0.5635 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.688, allocations: 16.8 kB / 0.5635 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.6892, allocations: 2.005 MB / 0.5655 GB, free: 67.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6892, allocations: 0 / 0.5655 GB, free: 67.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.692, allocations: 2.339 MB / 0.5678 GB, free: 65.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.6924, allocations: 259.3 kB / 0.568 GB, free: 64.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6926, allocations: 35.59 kB / 0.568 GB, free: 64.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.6931, allocations: 53.22 kB / 0.5681 GB, free: 64.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6932, allocations: 48.48 kB / 0.5681 GB, free: 64.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.6933, allocations: 19.98 kB / 0.5681 GB, free: 64.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006991/0.694, allocations: 0.5653 MB / 0.5687 GB, free: 64.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.694, allocations: 0 / 0.5687 GB, free: 64.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003769/0.6978, allocations: 1.09 MB / 0.5698 GB, free: 63.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004578/0.7024, allocations: 1.22 MB / 0.571 GB, free: 62.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.705, allocations: 1.085 MB / 0.572 GB, free: 61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.705, allocations: 4.062 kB / 0.572 GB, free: 61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.7064, allocations: 0.8079 MB / 0.5728 GB, free: 60.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7085, allocations: 388.9 kB / 0.5732 GB, free: 59.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.7122, allocations: 3.025 MB / 0.5761 GB, free: 56.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.7129, allocations: 1.157 MB / 0.5773 GB, free: 55.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.7131, allocations: 71.44 kB / 0.5773 GB, free: 55.55 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7131, allocations: 0 / 0.5773 GB, free: 55.55 MB / 414.1 MB Notification: Performance of Templates: time 0.05213/0.7652, allocations: 39.47 MB / 0.6159 GB, free: 16.12 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o] Error 1