Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006704/0.0006704, allocations: 92.03 kB / 17.31 MB, free: 5.59 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.0007056/0.0007056, allocations: 179.2 kB / 18.21 MB, free: 5.191 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.168/1.168, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2355/0.2355, allocations: 48.79 MB / 321.5 MB, free: 11.09 MB / 270.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.0004901/0.0004903, allocations: 17.25 kB / 392.5 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08234/0.08285, allocations: 60.26 MB / 452.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04109/0.124, allocations: 44.39 MB / 497.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.1356, allocations: 9.874 MB / 0.4951 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.136, allocations: 11.94 kB / 0.4951 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.1365, allocations: 174.9 kB / 0.4953 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.1371, allocations: 270.3 kB / 0.4955 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01109/0.1482, allocations: 4.073 MB / 0.4995 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.1492, allocations: 1.032 MB / 0.5005 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.1496, allocations: 222.3 kB / 0.5007 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.1502, allocations: 354.4 kB / 0.5011 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.1505, allocations: 282.6 kB / 0.5013 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.1506, allocations: 16 kB / 0.5014 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009426/0.16, allocations: 6.079 MB / 0.5073 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.1601, allocations: 67.7 kB / 0.5074 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.1604, allocations: 256.4 kB / 0.5076 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.1638, allocations: 2.479 MB / 0.51 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1638, allocations: 0 / 0.51 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1638, allocations: 0 / 0.51 GB, free: 3.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1639, allocations: 0 / 0.51 GB, free: 3.398 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003409/0.1673, allocations: 1.111 MB / 0.5111 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1673, allocations: 8.031 kB / 0.5111 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.1677, allocations: 64.36 kB / 0.5112 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.1682, allocations: 370 kB / 0.5115 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1682, allocations: 25.03 kB / 0.5116 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1683, allocations: 32.38 kB / 0.5116 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1693, allocations: 454.4 kB / 0.512 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1694, allocations: 0 / 0.512 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.1694, allocations: 15.94 kB / 0.512 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1694, allocations: 8 kB / 0.512 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.1708, allocations: 387.6 kB / 0.5124 GB, free: 0.8242 MB / 398.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.002058/0.1729, allocations: 2.136 MB / 0.5145 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.174, allocations: 349 kB / 0.5148 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.1744, allocations: 125.6 kB / 0.515 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2125/0.3869, allocations: 32.41 MB / 0.5466 GB, free: 71.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.3869, allocations: 31.56 kB / 0.5466 GB, free: 71.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.3869, allocations: 4 kB / 0.5466 GB, free: 71.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001505/0.3884, allocations: 445.2 kB / 0.5471 GB, free: 71.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3885, allocations: 82.11 kB / 0.5471 GB, free: 71.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.389, allocations: 436.8 kB / 0.5476 GB, free: 71.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.389, allocations: 30.45 kB / 0.5476 GB, free: 71.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3891, allocations: 227.4 kB / 0.5478 GB, free: 71.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.3892, allocations: 63.11 kB / 0.5479 GB, free: 71.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3892, allocations: 27.3 kB / 0.5479 GB, free: 71.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3893, allocations: 358.8 kB / 0.5482 GB, free: 71.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.3896, allocations: 102.7 kB / 0.5483 GB, free: 71.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.39, allocations: 170 kB / 0.5485 GB, free: 71.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.3907, allocations: 281.5 kB / 0.5488 GB, free: 70.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3907, allocations: 0 / 0.5488 GB, free: 70.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000828/0.3915, allocations: 356.5 kB / 0.5491 GB, free: 70.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3916, allocations: 142 kB / 0.5492 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3916, allocations: 2.562 kB / 0.5492 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3916, allocations: 4.594 kB / 0.5492 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.392, allocations: 73.97 kB / 0.5493 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.392, allocations: 4.219 kB / 0.5493 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.3923, allocations: 67.27 kB / 0.5494 GB, free: 70.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.3924, allocations: 11.36 kB / 0.5494 GB, free: 70.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.3924, allocations: 8.938 kB / 0.5494 GB, free: 70.67 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007157/0.3931, allocations: 263.8 kB / 0.5496 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.3931, allocations: 2.219 kB / 0.5497 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.3931, allocations: 3.469 kB / 0.5497 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.3934, allocations: 68.88 kB / 0.5497 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3934, allocations: 7.188 kB / 0.5497 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.3937, allocations: 53.81 kB / 0.5498 GB, free: 70.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.3937, allocations: 14.59 kB / 0.5498 GB, free: 70.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001183/0.3939, allocations: 227 kB / 0.55 GB, free: 70.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3939, allocations: 47.75 kB / 0.5501 GB, free: 70.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009308/0.3949, allocations: 469.9 kB / 0.5505 GB, free: 70.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3949, allocations: 2.219 kB / 0.5505 GB, free: 70.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3949, allocations: 1.125 kB / 0.5505 GB, free: 70.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3949, allocations: 0 / 0.5505 GB, free: 70.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.3954, allocations: 463.7 kB / 0.5509 GB, free: 69.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3954, allocations: 1.438 kB / 0.551 GB, free: 69.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.3956, allocations: 58.61 kB / 0.551 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3957, allocations: 1.938 kB / 0.551 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3957, allocations: 7.359 kB / 0.551 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3957, allocations: 1.125 kB / 0.551 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3957, allocations: 0.9688 kB / 0.551 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.3965, allocations: 483.5 kB / 0.5515 GB, free: 69.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.3966, allocations: 164.1 kB / 0.5516 GB, free: 69.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/0.3966, allocations: 8.266 kB / 0.5516 GB, free: 69.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.397, allocations: 31.3 kB / 0.5517 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.397, allocations: 20.52 kB / 0.5517 GB, free: 69.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3971, allocations: 6.375 kB / 0.5517 GB, free: 69.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000401/0.3975, allocations: 414.4 kB / 0.5521 GB, free: 69.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3975, allocations: 0 / 0.5521 GB, free: 69.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002064/0.3995, allocations: 0.932 MB / 0.553 GB, free: 69.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002797/0.4023, allocations: 0.9658 MB / 0.5539 GB, free: 69.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.4035, allocations: 388.2 kB / 0.5543 GB, free: 68.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4035, allocations: 0 / 0.5543 GB, free: 68.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.4038, allocations: 123.2 kB / 0.5544 GB, free: 68.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.4052, allocations: 225.3 kB / 0.5546 GB, free: 68.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4064, allocations: 0.9958 MB / 0.5556 GB, free: 68.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4066, allocations: 0.8337 MB / 0.5564 GB, free: 67.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4067, allocations: 42.48 kB / 0.5565 GB, free: 67.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4067, allocations: 0 / 0.5565 GB, free: 67.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01744/0.4241, allocations: 20.11 MB / 0.5761 GB, free: 50.35 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.WaterComponents.TestValveChokedCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValveChokedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValveChokedCalcHelperMain.o] Error 1