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.001498/0.001498, allocations: 109.7 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.001646/0.001646, 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.842/1.842, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4044/0.4044, allocations: 48.84 MB / 320.1 MB, free: 11.33 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.001493/0.001494, allocations: 67.95 kB / 390 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1741, allocations: 59.17 MB / 449.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04843/0.2226, allocations: 45.29 MB / 494.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.2373, allocations: 10.04 MB / 0.4927 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.238, allocations: 11.94 kB / 0.4927 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.239, allocations: 178.9 kB / 0.4929 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.2397, allocations: 258.4 kB / 0.4931 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.2575, allocations: 4.085 MB / 0.4971 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2591, allocations: 1.028 MB / 0.4981 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.2596, allocations: 218.3 kB / 0.4983 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.2604, allocations: 370.3 kB / 0.4987 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.2608, allocations: 286.6 kB / 0.4989 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.2608, allocations: 24 kB / 0.4989 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.2748, allocations: 6.079 MB / 0.5049 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.275, allocations: 75.62 kB / 0.505 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.2756, allocations: 230.8 kB / 0.5052 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006278/0.2818, allocations: 2.499 MB / 0.5076 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2819, allocations: 0 / 0.5076 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2819, allocations: 0 / 0.5076 GB, free: 3.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.2819, allocations: 0 / 0.5076 GB, free: 3.422 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.004959/0.2869, allocations: 1.179 MB / 0.5088 GB, free: 2.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.2869, allocations: 8.031 kB / 0.5088 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.2874, allocations: 72.27 kB / 0.5088 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.2881, allocations: 366 kB / 0.5092 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.2882, allocations: 25.03 kB / 0.5092 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2882, allocations: 36.38 kB / 0.5093 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2895, allocations: 446.3 kB / 0.5097 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2895, allocations: 3.938 kB / 0.5097 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.2895, allocations: 12 kB / 0.5097 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2896, allocations: 8 kB / 0.5097 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.2909, allocations: 359.6 kB / 0.51 GB, free: 0.8086 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.003254/0.2942, allocations: 2.128 MB / 0.5121 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.2955, allocations: 301 kB / 0.5124 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.2959, allocations: 109.7 kB / 0.5125 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4231/0.7191, allocations: 32.09 MB / 0.5439 GB, free: 73.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.7192, allocations: 32.12 kB / 0.5439 GB, free: 73.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 3.847e-06/0.7192, allocations: 4 kB / 0.5439 GB, free: 73.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001946/0.7211, allocations: 420.4 kB / 0.5443 GB, free: 73.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7212, allocations: 82.2 kB / 0.5444 GB, free: 73.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.7218, allocations: 438.7 kB / 0.5448 GB, free: 73.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.7219, allocations: 29.64 kB / 0.5448 GB, free: 73.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.7221, allocations: 230.2 kB / 0.545 GB, free: 73.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.7221, allocations: 56.11 kB / 0.5451 GB, free: 73.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.7223, allocations: 53.08 kB / 0.5451 GB, free: 73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7224, allocations: 357.4 kB / 0.5455 GB, free: 72.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.7228, allocations: 102.7 kB / 0.5456 GB, free: 72.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.7232, allocations: 157.6 kB / 0.5457 GB, free: 72.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008029/0.724, allocations: 256.2 kB / 0.546 GB, free: 72.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.724, allocations: 0 / 0.546 GB, free: 72.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009981/0.725, allocations: 334 kB / 0.5463 GB, free: 72.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7251, allocations: 5.156 kB / 0.5463 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.7251, allocations: 6.031 kB / 0.5463 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.7251, allocations: 8 kB / 0.5463 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.7255, allocations: 70.12 kB / 0.5464 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.7256, allocations: 4.031 kB / 0.5464 GB, free: 72.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.726, allocations: 57.94 kB / 0.5464 GB, free: 72.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.726, allocations: 16.92 kB / 0.5465 GB, free: 72.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004538/0.7265, allocations: 194 kB / 0.5466 GB, free: 72.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003855/0.7269, allocations: 160.5 kB / 0.5468 GB, free: 72.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007399/0.7276, allocations: 259.9 kB / 0.547 GB, free: 72.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.7276, allocations: 0 / 0.547 GB, free: 72.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008936/0.7285, allocations: 318.4 kB / 0.5473 GB, free: 72.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7286, allocations: 5.75 kB / 0.5473 GB, free: 72.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7286, allocations: 8.547 kB / 0.5474 GB, free: 72.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.7286, allocations: 3.781 kB / 0.5474 GB, free: 72.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.7289, allocations: 66.28 kB / 0.5474 GB, free: 72.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.7289, allocations: 2.531 kB / 0.5474 GB, free: 72.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.7293, allocations: 42.27 kB / 0.5475 GB, free: 72.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.7293, allocations: 12.25 kB / 0.5475 GB, free: 72.02 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.0001131/0.7295, allocations: 198.3 kB / 0.5477 GB, free: 71.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7296, allocations: 46.75 kB / 0.5477 GB, free: 71.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.7307, allocations: 444 kB / 0.5481 GB, free: 71.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7307, allocations: 7.375 kB / 0.5481 GB, free: 71.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7307, allocations: 0 / 0.5481 GB, free: 71.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7307, allocations: 5.047 kB / 0.5481 GB, free: 71.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.7314, allocations: 465.4 kB / 0.5486 GB, free: 71.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7314, allocations: 2.344 kB / 0.5486 GB, free: 71.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.7317, allocations: 48.45 kB / 0.5486 GB, free: 71.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7317, allocations: 1.219 kB / 0.5486 GB, free: 71.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.7317, allocations: 6.125 kB / 0.5486 GB, free: 71.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7317, allocations: 8.562 kB / 0.5487 GB, free: 71.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7317, allocations: 1.094 kB / 0.5487 GB, free: 71.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.7326, allocations: 460.1 kB / 0.5491 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.7328, allocations: 123 kB / 0.5492 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/0.7328, allocations: 16.53 kB / 0.5492 GB, free: 70.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.7332, allocations: 33.41 kB / 0.5493 GB, free: 70.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.7333, allocations: 21.3 kB / 0.5493 GB, free: 70.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.7333, allocations: 8.234 kB / 0.5493 GB, free: 70.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005172/0.7338, allocations: 410 kB / 0.5497 GB, free: 70.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7339, allocations: 0 / 0.5497 GB, free: 70.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00407/0.7379, allocations: 0.9286 MB / 0.5506 GB, free: 70.33 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.00421/0.7422, allocations: 0.9722 MB / 0.5515 GB, free: 70.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.7436, allocations: 362.3 kB / 0.5519 GB, free: 69.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7436, allocations: 0.5 kB / 0.5519 GB, free: 69.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.7441, allocations: 110.7 kB / 0.552 GB, free: 69.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.7457, allocations: 228.7 kB / 0.5522 GB, free: 69.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.7477, allocations: 0.952 MB / 0.5531 GB, free: 69.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.748, allocations: 0.8282 MB / 0.5539 GB, free: 68.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.7481, allocations: 42.77 kB / 0.554 GB, free: 68.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.7481, allocations: 0 / 0.554 GB, free: 68.35 MB / 414.1 MB Notification: Performance of Templates: time 0.0295/0.7776, allocations: 20.17 MB / 0.5737 GB, free: 51.31 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