Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001301, allocations: 110.6 kB / 17.16 MB, free: 6.328 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.001211/0.001211, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3937/0.3937, allocations: 48.83 MB / 320.1 MB, free: 11.34 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 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.001497/0.001497, allocations: 70.3 kB / 390 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1401, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02203/0.1622, allocations: 16.46 MB / 465.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.182, allocations: 14.82 MB / 480.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1823, allocations: 3.938 kB / 480.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.1831, allocations: 127.4 kB / 480.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008021/0.1839, allocations: 242.7 kB / 480.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01868/0.2026, allocations: 4.365 MB / 485.2 MB, free: 6.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.2045, allocations: 1.283 MB / 486.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.2046, allocations: 32.69 kB / 486.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.2055, allocations: 466.7 kB / 487 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.2061, allocations: 462.8 kB / 487.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.2063, allocations: 36 kB / 487.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01549/0.2218, allocations: 6.301 MB / 493.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.2223, allocations: 171.5 kB / 493.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005874/0.2229, allocations: 247.1 kB / 494.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007516/0.2304, allocations: 2.635 MB / 496.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.2305, allocations: 8 kB / 496.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2305, allocations: 0 / 496.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.2305, allocations: 0 / 496.8 MB, free: 10.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00663/0.2372, allocations: 1.499 MB / 498.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.2373, allocations: 8.031 kB / 498.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.2388, allocations: 164.4 kB / 498.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/0.2395, allocations: 351.7 kB / 498.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.2398, allocations: 134.8 kB / 498.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.24, allocations: 32.12 kB / 499 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/0.2451, allocations: 1.88 MB / 0.4891 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2451, allocations: 4 kB / 0.4891 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.2452, allocations: 12 kB / 0.4891 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/0.2453, allocations: 12.56 kB / 0.4891 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/0.2528, allocations: 2.648 MB / 0.4917 GB, free: 3.641 MB / 382.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.006281/0.2592, allocations: 4.835 MB / 0.4964 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.2633, allocations: 1.357 MB / 0.4978 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00245/0.2658, allocations: 0.9771 MB / 0.4987 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5109/0.7767, allocations: 75.97 MB / 0.5729 GB, free: 46.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.7767, allocations: 34.89 kB / 0.5729 GB, free: 46.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/0.7767, allocations: 4 kB / 0.5729 GB, free: 46.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01992/0.7967, allocations: 5.852 MB / 0.5787 GB, free: 40.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.7967, allocations: 59.19 kB / 0.5787 GB, free: 40.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.7969, allocations: 149.7 kB / 0.5789 GB, free: 40.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.797, allocations: 37.7 kB / 0.5789 GB, free: 40.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.7971, allocations: 141.7 kB / 0.579 GB, free: 40.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.7973, allocations: 152.8 kB / 0.5792 GB, free: 40.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.7977, allocations: 225.8 kB / 0.5794 GB, free: 40.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7978, allocations: 332.7 kB / 0.5797 GB, free: 39.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.8008, allocations: 1.118 MB / 0.5808 GB, free: 38.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.8039, allocations: 1.208 MB / 0.582 GB, free: 37.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.8096, allocations: 1.972 MB / 0.5839 GB, free: 35.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8096, allocations: 4 kB / 0.5839 GB, free: 35.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.006558/0.8162, allocations: 2.331 MB / 0.5862 GB, free: 33.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.8162, allocations: 15.77 kB / 0.5862 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8163, allocations: 0 / 0.5862 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.8163, allocations: 4 kB / 0.5862 GB, free: 33.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.8186, allocations: 0.4899 MB / 0.5867 GB, free: 32.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.8186, allocations: 10.53 kB / 0.5867 GB, free: 32.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.8204, allocations: 255.5 kB / 0.5869 GB, free: 32.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.8206, allocations: 87.84 kB / 0.587 GB, free: 32.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.821, allocations: 166.9 kB / 0.5872 GB, free: 32.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.8212, allocations: 31.06 kB / 0.5872 GB, free: 32.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009359/0.8306, allocations: 7.121 MB / 0.5942 GB, free: 24.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008128/0.8388, allocations: 6.564 MB / 0.6006 GB, free: 18.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8388, allocations: 0 / 0.6006 GB, free: 18.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8388, allocations: 3.984 kB / 0.6006 GB, free: 18.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.8503, allocations: 10.45 MB / 0.6108 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8504, allocations: 0 / 0.6108 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/0.8527, allocations: 494.9 kB / 0.6113 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.8527, allocations: 4 kB / 0.6113 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.8528, allocations: 47.91 kB / 0.6113 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.8528, allocations: 8 kB / 0.6113 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8528, allocations: 2.5 kB / 0.6113 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009069/0.8619, allocations: 4.497 MB / 0.6157 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.8624, allocations: 279.9 kB / 0.616 GB, free: 2.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.8625, allocations: 17.53 kB / 0.616 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8641, allocations: 267.5 kB / 0.6162 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.8643, allocations: 80.83 kB / 0.6163 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.8644, allocations: 58.09 kB / 0.6164 GB, free: 1.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.885e-05/0.8645, allocations: 114.4 kB / 0.6165 GB, free: 1.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8645, allocations: 0 / 0.6165 GB, free: 1.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003006/0.8675, allocations: 0.9691 MB / 0.6174 GB, free: 0.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003427/0.871, allocations: 0.9921 MB / 0.6184 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007284/0.8783, allocations: 2.646 MB / 0.621 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8783, allocations: 0 / 0.621 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.8819, allocations: 1.546 MB / 0.6225 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008117/0.8827, allocations: 112.5 kB / 0.6226 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.8878, allocations: 2.483 MB / 0.625 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.8884, allocations: 0.9282 MB / 0.6259 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.8894, allocations: 175.1 kB / 0.6261 GB, free: 8.02 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.8894, allocations: 0 / 0.6261 GB, free: 8.02 MB / 430.1 MB Notification: Performance of Templates: time 0.04501/0.9344, allocations: 28.28 MB / 0.6537 GB, free: 11.76 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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 OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalanceCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalanceCalcHelperMain.o] Error 1