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.001635/0.001635, allocations: 107.2 kB / 16.52 MB, free: 6.711 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.001501/0.001501, allocations: 195.7 kB / 17.44 MB, free: 6.078 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.54 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.2677/0.2677, allocations: 43.51 MB / 314.1 MB, free: 0.7773 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.002081/0.002081, allocations: 71.98 kB / 382.7 MB, free: 57.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1461, allocations: 57.79 MB / 440.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05365/0.1998, allocations: 40.26 MB / 480.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03207/0.2319, allocations: 21.24 MB / 0.4902 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.2334, allocations: 31.75 kB / 0.4902 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.2352, allocations: 402 kB / 0.4906 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01686/0.2522, allocations: 4.155 MB / 0.4947 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008048/0.2603, allocations: 2.239 MB / 0.4969 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004101/0.2644, allocations: 2.851 MB / 0.4997 GB, free: 192 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.2656, allocations: 437.1 kB / 0.5001 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.277, allocations: 4.039 MB / 0.504 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.2903, allocations: 5.448 MB / 0.5093 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.2907, allocations: 40 kB / 0.5094 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.3075, allocations: 7.266 MB / 0.5165 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.3083, allocations: 259.1 kB / 0.5167 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.3095, allocations: 422 kB / 0.5171 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007973/0.3175, allocations: 3.563 MB / 0.5206 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3175, allocations: 0 / 0.5206 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3176, allocations: 0 / 0.5206 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.3176, allocations: 0 / 0.5206 GB, free: 10.57 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.005554/0.3232, allocations: 1.649 MB / 0.5222 GB, free: 8.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3232, allocations: 15.95 kB / 0.5222 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.3256, allocations: 303.7 kB / 0.5225 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3267, allocations: 0.556 MB / 0.5231 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.3269, allocations: 109.3 kB / 0.5232 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.327, allocations: 64.12 kB / 0.5232 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.3298, allocations: 1.163 MB / 0.5244 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.3298, allocations: 3.938 kB / 0.5244 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3299, allocations: 28 kB / 0.5244 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.33, allocations: 45.3 kB / 0.5244 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.3319, allocations: 0.8401 MB / 0.5253 GB, free: 5.598 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.2892/0.6211, allocations: 5.504 MB / 0.5306 GB, free: 92.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6228, allocations: 0.5766 MB / 0.5312 GB, free: 92.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.6232, allocations: 228.8 kB / 0.5314 GB, free: 92.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08687/0.7101, allocations: 46.19 MB / 0.5765 GB, free: 55.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/0.7102, allocations: 49.66 kB / 0.5766 GB, free: 55.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.437e-06/0.7102, allocations: 0 / 0.5766 GB, free: 55.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.005609/0.7159, allocations: 1.921 MB / 0.5784 GB, free: 53.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.7159, allocations: 166.1 kB / 0.5786 GB, free: 53.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.7167, allocations: 0.6094 MB / 0.5792 GB, free: 52.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.7168, allocations: 37.7 kB / 0.5792 GB, free: 52.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.7171, allocations: 402.5 kB / 0.5796 GB, free: 52.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.7172, allocations: 168.8 kB / 0.5798 GB, free: 52.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.7175, allocations: 154.5 kB / 0.5799 GB, free: 51.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7176, allocations: 382.5 kB / 0.5803 GB, free: 51.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.718, allocations: 225.9 kB / 0.5805 GB, free: 51.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.7185, allocations: 0.5767 MB / 0.5811 GB, free: 50.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.7196, allocations: 0.8363 MB / 0.5819 GB, free: 49.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.7196, allocations: 4 kB / 0.5819 GB, free: 49.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001347/0.721, allocations: 0.8678 MB / 0.5827 GB, free: 48.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.721, allocations: 12 kB / 0.5827 GB, free: 48.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.721, allocations: 12 kB / 0.5828 GB, free: 48.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.7213, allocations: 61.61 kB / 0.5828 GB, free: 48.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7225, allocations: 279.6 kB / 0.5831 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.7238, allocations: 1.983 MB / 0.585 GB, free: 46.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.7244, allocations: 60.06 kB / 0.5851 GB, free: 46.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.7245, allocations: 36 kB / 0.5851 GB, free: 46.23 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.000377/0.7249, allocations: 289 kB / 0.5854 GB, free: 45.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.7251, allocations: 67.25 kB / 0.5854 GB, free: 45.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.7272, allocations: 2.221 MB / 0.5876 GB, free: 43.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.7272, allocations: 31.95 kB / 0.5876 GB, free: 43.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7273, allocations: 0 / 0.5876 GB, free: 43.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.7273, allocations: 0 / 0.5876 GB, free: 43.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.7307, allocations: 3.295 MB / 0.5909 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7307, allocations: 0 / 0.5909 GB, free: 40.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.7315, allocations: 191.8 kB / 0.591 GB, free: 40.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/0.7319, allocations: 80.7 kB / 0.5911 GB, free: 40 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.7319, allocations: 15.98 kB / 0.5911 GB, free: 39.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.7331, allocations: 2.001 MB / 0.5931 GB, free: 37.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7331, allocations: 0 / 0.5931 GB, free: 37.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.7352, allocations: 1.985 MB / 0.595 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.7356, allocations: 239.5 kB / 0.5953 GB, free: 35.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7357, allocations: 27.75 kB / 0.5953 GB, free: 35.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.7364, allocations: 52.05 kB / 0.5953 GB, free: 35.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.7365, allocations: 32.39 kB / 0.5954 GB, free: 35.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.7366, allocations: 27.98 kB / 0.5954 GB, free: 35.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006069/0.7372, allocations: 0.5107 MB / 0.5959 GB, free: 34.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7372, allocations: 0 / 0.5959 GB, free: 34.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004669/0.7419, allocations: 1.084 MB / 0.5969 GB, free: 33.91 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.006756/0.7486, allocations: 1.233 MB / 0.5982 GB, free: 32.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.7509, allocations: 0.9317 MB / 0.5991 GB, free: 31.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7509, allocations: 0 / 0.5991 GB, free: 31.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.7521, allocations: 0.6677 MB / 0.5997 GB, free: 31.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.7547, allocations: 367.1 kB / 0.6001 GB, free: 30.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.7589, allocations: 2.729 MB / 0.6027 GB, free: 28.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.7596, allocations: 1.113 MB / 0.6038 GB, free: 27.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.7598, allocations: 67.44 kB / 0.6039 GB, free: 26.98 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7598, allocations: 0 / 0.6039 GB, free: 26.98 MB / 414.1 MB Notification: Performance of Templates: time 0.06334/0.8232, allocations: 37.84 MB / 0.6408 GB, free: 5.191 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