Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.001259, allocations: 94.84 kB / 16.67 MB, free: 5.855 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.001456/0.001456, allocations: 172.3 kB / 17.57 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.2816/0.2816, allocations: 43.58 MB / 315.6 MB, free: 432 kB / 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.0005924/0.0005924, allocations: 15.81 kB / 385.2 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.15, allocations: 58.87 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04879/0.1988, allocations: 39.41 MB / 483.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02931/0.2282, allocations: 20.93 MB / 0.4926 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.2298, allocations: 23.75 kB / 0.4927 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.2314, allocations: 390 kB / 0.493 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.2477, allocations: 4.168 MB / 0.4971 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009504/0.2572, allocations: 2.231 MB / 0.4993 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004812/0.2621, allocations: 2.847 MB / 0.5021 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.2634, allocations: 441.1 kB / 0.5025 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.2747, allocations: 4.043 MB / 0.5064 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.2854, allocations: 5.444 MB / 0.5117 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.2858, allocations: 36 kB / 0.5118 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/0.3026, allocations: 7.27 MB / 0.5189 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.3032, allocations: 255.1 kB / 0.5191 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.3041, allocations: 447.8 kB / 0.5195 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008679/0.3127, allocations: 3.512 MB / 0.523 GB, free: 9.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3128, allocations: 4 kB / 0.523 GB, free: 9.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.3128, allocations: 0 / 0.523 GB, free: 9.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.287e-05/0.3128, allocations: 0 / 0.523 GB, free: 9.344 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.005672/0.3185, allocations: 1.489 MB / 0.5244 GB, free: 7.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.3186, allocations: 19.95 kB / 0.5245 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.3209, allocations: 307.7 kB / 0.5247 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.322, allocations: 0.5638 MB / 0.5253 GB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3221, allocations: 109.3 kB / 0.5254 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3223, allocations: 60.12 kB / 0.5255 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.3251, allocations: 1.177 MB / 0.5266 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3252, allocations: 3.938 kB / 0.5266 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3253, allocations: 28 kB / 0.5266 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.3255, allocations: 41.3 kB / 0.5267 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.3278, allocations: 0.8479 MB / 0.5275 GB, free: 4.504 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.2794/0.6072, allocations: 5.514 MB / 0.5329 GB, free: 88.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6086, allocations: 0.5751 MB / 0.5334 GB, free: 88.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.609, allocations: 225.8 kB / 0.5337 GB, free: 88.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08842/0.6974, allocations: 46.62 MB / 0.5792 GB, free: 51.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.6975, allocations: 42.42 kB / 0.5792 GB, free: 51.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.765e-06/0.6975, allocations: 0 / 0.5792 GB, free: 51.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.005267/0.7028, allocations: 1.942 MB / 0.5811 GB, free: 49.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.7028, allocations: 162.2 kB / 0.5813 GB, free: 49.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007244/0.7036, allocations: 0.6163 MB / 0.5819 GB, free: 48.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.7036, allocations: 37.02 kB / 0.5819 GB, free: 48.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.7039, allocations: 392.8 kB / 0.5823 GB, free: 48.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.821e-05/0.704, allocations: 165.9 kB / 0.5825 GB, free: 48.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.7041, allocations: 71.12 kB / 0.5825 GB, free: 48.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7042, allocations: 382.8 kB / 0.5829 GB, free: 48.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.7045, allocations: 223.9 kB / 0.5831 GB, free: 47.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.7049, allocations: 0.5715 MB / 0.5837 GB, free: 47.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008401/0.7058, allocations: 0.8358 MB / 0.5845 GB, free: 46.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7058, allocations: 4 kB / 0.5845 GB, free: 46.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001071/0.7069, allocations: 0.8712 MB / 0.5853 GB, free: 45.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.7069, allocations: 8 kB / 0.5853 GB, free: 45.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.7069, allocations: 12.62 kB / 0.5853 GB, free: 45.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.7072, allocations: 71.12 kB / 0.5854 GB, free: 45.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.7085, allocations: 283.6 kB / 0.5857 GB, free: 44.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.7096, allocations: 1.981 MB / 0.5876 GB, free: 42.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.7102, allocations: 56.05 kB / 0.5877 GB, free: 42.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.7103, allocations: 51.16 kB / 0.5877 GB, free: 42.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.000316/0.7106, allocations: 281.9 kB / 0.588 GB, free: 42.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.7107, allocations: 71.19 kB / 0.5881 GB, free: 42.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.7127, allocations: 2.217 MB / 0.5902 GB, free: 40.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.7127, allocations: 27.95 kB / 0.5903 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7127, allocations: 0.5156 kB / 0.5903 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7127, allocations: 3.984 kB / 0.5903 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.7155, allocations: 3.289 MB / 0.5935 GB, free: 36.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7156, allocations: 0 / 0.5935 GB, free: 36.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.7164, allocations: 187.8 kB / 0.5936 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.7167, allocations: 96.67 kB / 0.5937 GB, free: 36.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.7167, allocations: 13.31 kB / 0.5938 GB, free: 36.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.7178, allocations: 2.004 MB / 0.5957 GB, free: 34.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7178, allocations: 4.031 kB / 0.5957 GB, free: 34.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.7195, allocations: 1.991 MB / 0.5977 GB, free: 32.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.7197, allocations: 283.2 kB / 0.5979 GB, free: 32.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.7198, allocations: 15.98 kB / 0.5979 GB, free: 32.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.7203, allocations: 55.97 kB / 0.598 GB, free: 31.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.7204, allocations: 32.39 kB / 0.598 GB, free: 31.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.7204, allocations: 19.98 kB / 0.598 GB, free: 31.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.7209, allocations: 0.5185 MB / 0.5986 GB, free: 31.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7209, allocations: 0 / 0.5986 GB, free: 31.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003205/0.7242, allocations: 1.084 MB / 0.5996 GB, free: 30.38 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003512/0.7277, allocations: 1.209 MB / 0.6008 GB, free: 29.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.7292, allocations: 0.924 MB / 0.6017 GB, free: 28.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7292, allocations: 4 kB / 0.6017 GB, free: 28.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.7302, allocations: 0.6678 MB / 0.6024 GB, free: 27.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.732, allocations: 367.7 kB / 0.6027 GB, free: 27.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.7348, allocations: 2.834 MB / 0.6055 GB, free: 24.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.7353, allocations: 1.106 MB / 0.6065 GB, free: 23.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.7354, allocations: 67.44 kB / 0.6066 GB, free: 23.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7354, allocations: 0 / 0.6066 GB, free: 23.38 MB / 414.1 MB Notification: Performance of Templates: time 0.05351/0.789, allocations: 37.73 MB / 0.6435 GB, free: 1.664 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_phCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_phCalcHelperMain.o] Error 1