Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.8 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.001433/0.001433, 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.809/1.809, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.366/0.366, allocations: 48.85 MB / 320.1 MB, free: 11.31 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 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.002016/0.002017, allocations: 68.06 kB / 390 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1494, allocations: 59.16 MB / 449.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02226/0.1717, allocations: 16.89 MB / 466.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01826/0.19, allocations: 14.55 MB / 480.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.1906, allocations: 7.938 kB / 480.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006082/0.1912, allocations: 119.4 kB / 480.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.1917, allocations: 199 kB / 480.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.2093, allocations: 4.21 MB / 485.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.2119, allocations: 2.176 MB / 487.3 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.2122, allocations: 97.22 kB / 487.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/0.2131, allocations: 0.5458 MB / 488 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.2143, allocations: 0.8027 MB / 488.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.2145, allocations: 76 kB / 488.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/0.2312, allocations: 6.653 MB / 495.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.2319, allocations: 411 kB / 495.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2331, allocations: 0.5254 MB / 496.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008563/0.2417, allocations: 3.466 MB / 499.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.2417, allocations: 0 / 499.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2417, allocations: 0 / 499.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.2417, allocations: 4 kB / 499.9 MB, free: 7.391 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01113/0.2529, allocations: 2.587 MB / 0.4907 GB, free: 4.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.253, allocations: 12.03 kB / 0.4907 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.2546, allocations: 291.9 kB / 0.491 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.2558, allocations: 0.5902 MB / 0.4916 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.257, allocations: 466.1 kB / 0.492 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.2573, allocations: 68 kB / 0.4921 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008959/0.2662, allocations: 3.367 MB / 0.4954 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2663, allocations: 0 / 0.4954 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.2665, allocations: 32 kB / 0.4954 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.511e-05/0.2666, allocations: 53.97 kB / 0.4954 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.2813, allocations: 5.393 MB / 0.5007 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.2993, allocations: 10.09 MB / 0.5106 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.3071, allocations: 2.742 MB / 0.5132 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006213/0.3134, allocations: 2.275 MB / 0.5155 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3708/0.6843, allocations: 53.42 MB / 0.5676 GB, free: 52.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6844, allocations: 43.09 kB / 0.5677 GB, free: 52.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.815e-06/0.6844, allocations: 0 / 0.5677 GB, free: 52.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01734/0.7017, allocations: 6.635 MB / 0.5741 GB, free: 46.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7018, allocations: 64.41 kB / 0.5742 GB, free: 46.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.7021, allocations: 250.4 kB / 0.5744 GB, free: 46.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.7022, allocations: 37.7 kB / 0.5745 GB, free: 46.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.7024, allocations: 252.7 kB / 0.5747 GB, free: 45.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.7027, allocations: 303.3 kB / 0.575 GB, free: 45.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005774/0.7033, allocations: 286.2 kB / 0.5753 GB, free: 45.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.7033, allocations: 350.8 kB / 0.5756 GB, free: 45.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005025/0.7084, allocations: 2.148 MB / 0.5777 GB, free: 42.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/0.7134, allocations: 2.255 MB / 0.5799 GB, free: 40.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/0.7221, allocations: 3.397 MB / 0.5832 GB, free: 37.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7221, allocations: 0.9375 kB / 0.5832 GB, free: 37.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01029/0.7324, allocations: 4.141 MB / 0.5873 GB, free: 33.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7324, allocations: 4 kB / 0.5873 GB, free: 33.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.7325, allocations: 4 kB / 0.5873 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.7325, allocations: 7.562 kB / 0.5873 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.7356, allocations: 0.8244 MB / 0.5881 GB, free: 32.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.7357, allocations: 11.38 kB / 0.5881 GB, free: 32.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.7383, allocations: 0.6215 MB / 0.5887 GB, free: 31.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.7385, allocations: 91.81 kB / 0.5888 GB, free: 31.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0007362/0.7392, allocations: 274.7 kB / 0.5891 GB, free: 31.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.7395, allocations: 51.28 kB / 0.5891 GB, free: 31.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.7517, allocations: 6.528 MB / 0.5955 GB, free: 24.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01109/0.7629, allocations: 5.933 MB / 0.6013 GB, free: 18.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.7629, allocations: 3.938 kB / 0.6013 GB, free: 18.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.7629, allocations: 7.969 kB / 0.6013 GB, free: 18.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.7795, allocations: 9.103 MB / 0.6102 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.7795, allocations: 4 kB / 0.6102 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/0.7825, allocations: 0.8077 MB / 0.611 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.7825, allocations: 4 kB / 0.611 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.7827, allocations: 80.89 kB / 0.6111 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/0.7827, allocations: 6.25 kB / 0.6111 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7828, allocations: 7.844 kB / 0.6111 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.7937, allocations: 4.837 MB / 0.6158 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.794, allocations: 195.5 kB / 0.616 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/0.7943, allocations: 19.91 kB / 0.616 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/0.7968, allocations: 0.5928 MB / 0.6166 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.7972, allocations: 136.6 kB / 0.6167 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.7974, allocations: 83.81 kB / 0.6168 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.7976, allocations: 199.6 kB / 0.617 GB, free: 2.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7976, allocations: 2.062 kB / 0.617 GB, free: 2.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005/0.8026, allocations: 1.271 MB / 0.6182 GB, free: 1.414 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.006889/0.8095, allocations: 1.157 MB / 0.6194 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01271/0.8223, allocations: 4.879 MB / 0.6241 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8223, allocations: 0 / 0.6241 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007273/0.8296, allocations: 2.718 MB / 0.6268 GB, free: 8.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.8322, allocations: 340.5 kB / 0.6271 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.8442, allocations: 5.077 MB / 0.6321 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/0.8451, allocations: 1.121 MB / 0.6332 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/0.8467, allocations: 254.9 kB / 0.6334 GB, free: 1.996 MB / 430.1 MB Notification: Performance of SimCode: time 1.292e-06/0.8467, allocations: 0 / 0.6334 GB, free: 1.996 MB / 430.1 MB Notification: Performance of Templates: time 0.06741/0.9141, allocations: 37.25 MB / 0.6698 GB, free: 12.68 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.TestHeatTransfer2phDBCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDBCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDBCalcHelperMain.o] Error 1