Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 103.3 kB / 16.52 MB, free: 6.664 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.003322/0.003322, allocations: 199.3 kB / 17.44 MB, free: 6.059 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.982/1.982, allocations: 205.1 MB / 223.3 MB, free: 12.44 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.2649/0.2649, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001461/0.001461, allocations: 69.23 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1275, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04323/0.1707, allocations: 40.26 MB / 480.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02684/0.1976, allocations: 21.24 MB / 0.4902 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.1988, allocations: 23.81 kB / 0.4902 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2001, allocations: 397.9 kB / 0.4906 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.2144, allocations: 4.16 MB / 0.4947 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008392/0.2229, allocations: 2.242 MB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003833/0.2267, allocations: 2.823 MB / 0.4996 GB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.2275, allocations: 421.2 kB / 0.5 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009936/0.2375, allocations: 4.032 MB / 0.504 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.2495, allocations: 5.432 MB / 0.5093 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.2498, allocations: 36 kB / 0.5093 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01528/0.2651, allocations: 7.125 MB / 0.5163 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006128/0.2657, allocations: 251.2 kB / 0.5165 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.2666, allocations: 418 kB / 0.5169 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.274, allocations: 3.442 MB / 0.5203 GB, free: 10.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.274, allocations: 3.938 kB / 0.5203 GB, free: 10.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.274, allocations: 0 / 0.5203 GB, free: 10.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.274, allocations: 0 / 0.5203 GB, free: 10.87 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.004415/0.2785, allocations: 1.621 MB / 0.5219 GB, free: 9.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2785, allocations: 8.031 kB / 0.5219 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.2799, allocations: 223.8 kB / 0.5221 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/0.2808, allocations: 0.5326 MB / 0.5226 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2809, allocations: 117.3 kB / 0.5227 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.281, allocations: 64.05 kB / 0.5228 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.283, allocations: 1.078 MB / 0.5238 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2831, allocations: 3.938 kB / 0.5238 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.2831, allocations: 35.98 kB / 0.5239 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.2832, allocations: 48.97 kB / 0.5239 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.2849, allocations: 0.8154 MB / 0.5247 GB, free: 6.113 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.00689/0.2918, allocations: 5.562 MB / 0.5301 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3776/0.6695, allocations: 0.5274 MB / 0.5306 GB, free: 93.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.67, allocations: 216.6 kB / 0.5309 GB, free: 93.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09244/0.7624, allocations: 47.44 MB / 0.5772 GB, free: 54.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.7625, allocations: 44.19 kB / 0.5772 GB, free: 54.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.737e-06/0.7626, allocations: 2.516 kB / 0.5772 GB, free: 54.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.007622/0.7702, allocations: 2.125 MB / 0.5793 GB, free: 52.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7703, allocations: 183.9 kB / 0.5795 GB, free: 52.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.7714, allocations: 0.6406 MB / 0.5801 GB, free: 51.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.7715, allocations: 37.7 kB / 0.5801 GB, free: 51.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.7718, allocations: 400.1 kB / 0.5805 GB, free: 51.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.772, allocations: 161.2 kB / 0.5807 GB, free: 51.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.7722, allocations: 154.5 kB / 0.5808 GB, free: 51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7724, allocations: 382.8 kB / 0.5812 GB, free: 50.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.7728, allocations: 229.9 kB / 0.5814 GB, free: 50.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.7735, allocations: 0.5894 MB / 0.582 GB, free: 49.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.7746, allocations: 0.8666 MB / 0.5828 GB, free: 48.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.7746, allocations: 4 kB / 0.5828 GB, free: 48.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001674/0.7763, allocations: 0.8961 MB / 0.5837 GB, free: 47.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.7763, allocations: 12.91 kB / 0.5837 GB, free: 47.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.7764, allocations: 19.28 kB / 0.5837 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/0.7796, allocations: 265.1 kB / 0.584 GB, free: 47.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.7807, allocations: 283.5 kB / 0.5843 GB, free: 47.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.7823, allocations: 2.03 MB / 0.5862 GB, free: 44.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.7831, allocations: 59.97 kB / 0.5863 GB, free: 44.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-05/0.7832, allocations: 40 kB / 0.5863 GB, free: 44.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003962/0.7836, allocations: 283.7 kB / 0.5866 GB, free: 44.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.7838, allocations: 71.16 kB / 0.5867 GB, free: 44.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.7858, allocations: 2.012 MB / 0.5886 GB, free: 42.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.7858, allocations: 31.83 kB / 0.5887 GB, free: 42.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.7858, allocations: 0 / 0.5887 GB, free: 42.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.7858, allocations: 4 kB / 0.5887 GB, free: 42.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.7889, allocations: 3 MB / 0.5916 GB, free: 39.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7889, allocations: 0 / 0.5916 GB, free: 39.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/0.7897, allocations: 187.8 kB / 0.5918 GB, free: 39.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.7914, allocations: 307 kB / 0.5921 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.7914, allocations: 12 kB / 0.5921 GB, free: 38.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.7927, allocations: 2.079 MB / 0.5941 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7927, allocations: 0 / 0.5941 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.7947, allocations: 1.94 MB / 0.596 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.795, allocations: 231.6 kB / 0.5962 GB, free: 34.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7951, allocations: 31.91 kB / 0.5963 GB, free: 34.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.7956, allocations: 31.83 kB / 0.5963 GB, free: 34.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.7957, allocations: 32.39 kB / 0.5963 GB, free: 34.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.7957, allocations: 19.98 kB / 0.5963 GB, free: 34.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006366/0.7964, allocations: 0.5768 MB / 0.5969 GB, free: 33.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7964, allocations: 0 / 0.5969 GB, free: 33.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004041/0.8004, allocations: 1.092 MB / 0.598 GB, free: 32.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005713/0.8062, allocations: 1.194 MB / 0.5991 GB, free: 31.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.8084, allocations: 0.9168 MB / 0.6 GB, free: 30.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.8084, allocations: 0 / 0.6 GB, free: 30.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.8095, allocations: 0.636 MB / 0.6007 GB, free: 30.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.8121, allocations: 369.1 kB / 0.601 GB, free: 29.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.8167, allocations: 2.593 MB / 0.6035 GB, free: 27.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.8175, allocations: 1.089 MB / 0.6046 GB, free: 26.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.8177, allocations: 75.27 kB / 0.6047 GB, free: 26.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.124e-06/0.8177, allocations: 0 / 0.6047 GB, free: 26.09 MB / 414.1 MB Notification: Performance of Templates: time 0.06308/0.8808, allocations: 37.15 MB / 0.641 GB, free: 4.992 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1