Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007033/0.0007034, allocations: 91.77 kB / 17.31 MB, free: 6.023 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.0007084/0.0007084, allocations: 175.9 kB / 18.21 MB, free: 5.41 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.171/1.171, 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.2321/0.2321, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.0004644/0.0004648, allocations: 14.05 kB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0771/0.07758, allocations: 60.27 MB / 452.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.03655/0.1142, allocations: 42.03 MB / 494.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.1254, allocations: 10.46 MB / 0.4934 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1257, allocations: 19.88 kB / 0.4934 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.1263, allocations: 190.9 kB / 0.4936 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.1268, allocations: 282.3 kB / 0.4938 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.1364, allocations: 3.77 MB / 0.4975 GB, free: 256 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1375, allocations: 0.9922 MB / 0.4985 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1378, allocations: 211.2 kB / 0.4987 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.1381, allocations: 250.8 kB / 0.4989 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.1384, allocations: 278.7 kB / 0.4992 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1384, allocations: 12 kB / 0.4992 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009175/0.1476, allocations: 6.169 MB / 0.5052 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.1477, allocations: 71.62 kB / 0.5053 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.148, allocations: 248.5 kB / 0.5055 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.1512, allocations: 2.518 MB / 0.508 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1512, allocations: 0 / 0.508 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1513, allocations: 0 / 0.508 GB, free: 5.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1513, allocations: 0 / 0.508 GB, free: 5.5 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00233/0.1536, allocations: 1.103 MB / 0.5091 GB, free: 4.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1536, allocations: 11.97 kB / 0.5091 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.1539, allocations: 76.27 kB / 0.5092 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.1543, allocations: 366.2 kB / 0.5095 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1543, allocations: 21.03 kB / 0.5095 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.1543, allocations: 36.3 kB / 0.5096 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006989/0.155, allocations: 393 kB / 0.5099 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1551, allocations: 3.938 kB / 0.5099 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.1551, allocations: 12 kB / 0.51 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1551, allocations: 8 kB / 0.51 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/0.1557, allocations: 274 kB / 0.5102 GB, free: 3.105 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.0018/0.1575, allocations: 2.042 MB / 0.5122 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1579, allocations: 158.5 kB / 0.5124 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1581, allocations: 80.81 kB / 0.5124 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2205/0.3786, allocations: 32.28 MB / 0.544 GB, free: 74.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3787, allocations: 35.38 kB / 0.544 GB, free: 74.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3787, allocations: 3.062 kB / 0.544 GB, free: 74.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.00226/0.3809, allocations: 0.5995 MB / 0.5446 GB, free: 74.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.381, allocations: 54 kB / 0.5446 GB, free: 74.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3814, allocations: 401.1 kB / 0.545 GB, free: 74.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3814, allocations: 30.23 kB / 0.5451 GB, free: 74.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3815, allocations: 216.7 kB / 0.5453 GB, free: 74.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.3816, allocations: 59.05 kB / 0.5453 GB, free: 74.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.3816, allocations: 27.08 kB / 0.5453 GB, free: 74.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.3817, allocations: 353.5 kB / 0.5457 GB, free: 73.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3819, allocations: 73.83 kB / 0.5458 GB, free: 73.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.382, allocations: 118.8 kB / 0.5459 GB, free: 73.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3824, allocations: 185.4 kB / 0.546 GB, free: 73.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3824, allocations: 0 / 0.546 GB, free: 73.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005933/0.383, allocations: 326.5 kB / 0.5464 GB, free: 73.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.383, allocations: 127.2 kB / 0.5465 GB, free: 73.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.383, allocations: 1.031 kB / 0.5465 GB, free: 73.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002313/0.3854, allocations: 327.8 kB / 0.5468 GB, free: 73.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.3856, allocations: 59.77 kB / 0.5469 GB, free: 73.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006573/0.3863, allocations: 0.6438 MB / 0.5475 GB, free: 73.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3866, allocations: 42.3 kB / 0.5475 GB, free: 73.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3866, allocations: 11.75 kB / 0.5475 GB, free: 73.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.3867, allocations: 3.344 kB / 0.5475 GB, free: 73.08 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006171/0.3873, allocations: 238.1 kB / 0.5478 GB, free: 73.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.3873, allocations: 1.031 kB / 0.5478 GB, free: 73.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.3876, allocations: 76 kB / 0.5478 GB, free: 73.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3879, allocations: 65.75 kB / 0.5479 GB, free: 73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.3892, allocations: 1.452 MB / 0.5493 GB, free: 71.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.3894, allocations: 39.92 kB / 0.5494 GB, free: 71.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3895, allocations: 15.67 kB / 0.5494 GB, free: 71.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.3896, allocations: 215.4 kB / 0.5496 GB, free: 71.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3897, allocations: 48.7 kB / 0.5496 GB, free: 71.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3908, allocations: 0.9211 MB / 0.5505 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.3908, allocations: 11.42 kB / 0.5505 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.3908, allocations: 1.641 kB / 0.5505 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3908, allocations: 7.719 kB / 0.5505 GB, free: 71.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.3912, allocations: 0.5473 MB / 0.5511 GB, free: 70.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3913, allocations: 0 / 0.5511 GB, free: 70.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.3913, allocations: 23.58 kB / 0.5511 GB, free: 70.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.3932, allocations: 0.8713 MB / 0.5519 GB, free: 70.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3932, allocations: 5.375 kB / 0.552 GB, free: 70.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007051/0.3939, allocations: 1.088 MB / 0.553 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3939, allocations: 0 / 0.553 GB, free: 69.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.3948, allocations: 0.797 MB / 0.5538 GB, free: 69.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.3949, allocations: 150.2 kB / 0.5539 GB, free: 68.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.3949, allocations: 9.812 kB / 0.5539 GB, free: 68.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3951, allocations: 26.44 kB / 0.554 GB, free: 68.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.3952, allocations: 21.12 kB / 0.554 GB, free: 68.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3952, allocations: 8.312 kB / 0.554 GB, free: 68.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3955, allocations: 335.3 kB / 0.5543 GB, free: 68.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3955, allocations: 0 / 0.5543 GB, free: 68.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002308/0.3978, allocations: 0.9494 MB / 0.5552 GB, free: 68.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003171/0.401, allocations: 0.9778 MB / 0.5562 GB, free: 68.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.4022, allocations: 0.4934 MB / 0.5567 GB, free: 68.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4022, allocations: 0 / 0.5567 GB, free: 68.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.4025, allocations: 193.9 kB / 0.5569 GB, free: 68.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4036, allocations: 221.5 kB / 0.5571 GB, free: 67.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.4046, allocations: 1.116 MB / 0.5582 GB, free: 67.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.4048, allocations: 0.8458 MB / 0.559 GB, free: 66.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.4048, allocations: 27.22 kB / 0.559 GB, free: 66.34 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4048, allocations: 0 / 0.559 GB, free: 66.34 MB / 414.1 MB Notification: Performance of Templates: time 0.02056/0.4254, allocations: 22.01 MB / 0.5805 GB, free: 45.99 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlowCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlowCalcHelperMain.o] Error 1