Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 89.58 kB / 16.95 MB, free: 5.66 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.001084/0.001084, allocations: 184.1 kB / 17.85 MB, free: 5.312 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.861/1.861, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3847/0.3847, allocations: 48.77 MB / 321.1 MB, free: 11.28 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.0007159/0.0007159, allocations: 12.62 kB / 391.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1663, allocations: 60.27 MB / 452.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.07107/0.2375, allocations: 66.03 MB / 0.506 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.2528, allocations: 11.18 MB / 0.5169 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.2539, allocations: 23.81 kB / 0.5169 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.2552, allocations: 317.9 kB / 0.5172 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.2568, allocations: 0.5395 MB / 0.5177 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.2727, allocations: 4.27 MB / 0.5219 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.2754, allocations: 1.571 MB / 0.5234 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.2762, allocations: 464.3 kB / 0.5239 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007805/0.277, allocations: 474.1 kB / 0.5243 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.2777, allocations: 0.5486 MB / 0.5249 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.2778, allocations: 40 kB / 0.5249 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3882/0.666, allocations: 6.104 MB / 0.5309 GB, free: 16.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.6664, allocations: 130.2 kB / 0.531 GB, free: 16.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.667, allocations: 177.2 kB / 0.5312 GB, free: 16.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009494/0.6765, allocations: 2.874 MB / 0.534 GB, free: 16.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.6766, allocations: 1.375 kB / 0.534 GB, free: 16.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.659e-06/0.6766, allocations: 0.6094 kB / 0.534 GB, free: 16.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.6766, allocations: 1.25 kB / 0.534 GB, free: 16.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.01102/0.6876, allocations: 1.673 MB / 0.5356 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.795e-05/0.6877, allocations: 10.09 kB / 0.5356 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.6886, allocations: 126.9 kB / 0.5357 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.6899, allocations: 0.5324 MB / 0.5363 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.69, allocations: 38.16 kB / 0.5363 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6901, allocations: 50.84 kB / 0.5363 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.6926, allocations: 0.8499 MB / 0.5372 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.6926, allocations: 0 / 0.5372 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.6927, allocations: 23.78 kB / 0.5372 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.6928, allocations: 12.97 kB / 0.5372 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.6949, allocations: 0.8671 MB / 0.538 GB, free: 15.04 MB / 414.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.004038/0.6989, allocations: 3.533 MB / 0.5415 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.7001, allocations: 428.6 kB / 0.5419 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.7005, allocations: 215.8 kB / 0.5421 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06644/0.767, allocations: 32.29 MB / 0.5736 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.7671, allocations: 40.2 kB / 0.5737 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009926/0.7681, allocations: 104.9 kB / 0.5738 GB, free: 7.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.835e-06/0.7681, allocations: 0 / 0.5738 GB, free: 7.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.007818/0.7759, allocations: 1.843 MB / 0.5756 GB, free: 7.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.776, allocations: 58.73 kB / 0.5756 GB, free: 7.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.7769, allocations: 0.6261 MB / 0.5763 GB, free: 7.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.7769, allocations: 29.39 kB / 0.5763 GB, free: 7.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.7772, allocations: 334.4 kB / 0.5766 GB, free: 7.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.7773, allocations: 108.8 kB / 0.5767 GB, free: 6.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.7774, allocations: 9.062 kB / 0.5767 GB, free: 6.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005467/0.7779, allocations: 318.5 kB / 0.577 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.7783, allocations: 165.3 kB / 0.5772 GB, free: 22.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.7787, allocations: 220.1 kB / 0.5774 GB, free: 22.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.7791, allocations: 181.7 kB / 0.5776 GB, free: 22.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7791, allocations: 0 / 0.5776 GB, free: 22.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001275/0.7804, allocations: 0.6192 MB / 0.5782 GB, free: 22.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/0.7805, allocations: 128.5 kB / 0.5783 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7805, allocations: 5.547 kB / 0.5783 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/0.787, allocations: 1.12 MB / 0.5794 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.7873, allocations: 55.09 kB / 0.5794 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.7889, allocations: 0.9685 MB / 0.5804 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.7897, allocations: 50.19 kB / 0.5804 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.7897, allocations: 19.67 kB / 0.5805 GB, free: 21.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7898, allocations: 3.219 kB / 0.5805 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/0.7908, allocations: 466.5 kB / 0.5809 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7909, allocations: 3.094 kB / 0.5809 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.7911, allocations: 68.83 kB / 0.581 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.7915, allocations: 98.11 kB / 0.5811 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.793, allocations: 1.454 MB / 0.5825 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/0.7936, allocations: 50.03 kB / 0.5825 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.7937, allocations: 17.73 kB / 0.5825 GB, free: 19.68 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004185/0.7941, allocations: 255.9 kB / 0.5828 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.7942, allocations: 73.94 kB / 0.5829 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.7969, allocations: 2.059 MB / 0.5849 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.7969, allocations: 22.41 kB / 0.5849 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.7969, allocations: 0 / 0.5849 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.797, allocations: 1.641 kB / 0.5849 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.7983, allocations: 0.9441 MB / 0.5858 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.7983, allocations: 0 / 0.5858 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.7985, allocations: 43.22 kB / 0.5859 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.8038, allocations: 2.771 MB / 0.5886 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.8039, allocations: 9.5 kB / 0.5886 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.8066, allocations: 2.056 MB / 0.5906 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8066, allocations: 0 / 0.5906 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.8089, allocations: 1.78 MB / 0.5923 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.8093, allocations: 180.9 kB / 0.5925 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/0.8094, allocations: 7.625 kB / 0.5925 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.8098, allocations: 57.86 kB / 0.5926 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8099, allocations: 34.16 kB / 0.5926 GB, free: 16.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.81, allocations: 20.27 kB / 0.5926 GB, free: 16.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006447/0.8106, allocations: 434.9 kB / 0.593 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8106, allocations: 0 / 0.593 GB, free: 15.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007773/0.8184, allocations: 1.099 MB / 0.5941 GB, free: 14.88 MB / 446.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: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.006977/0.8254, allocations: 1.016 MB / 0.5951 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.8278, allocations: 0.9282 MB / 0.596 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8278, allocations: 0 / 0.596 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.8287, allocations: 0.496 MB / 0.5965 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.831, allocations: 421.9 kB / 0.5969 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.8339, allocations: 1.952 MB / 0.5988 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.8345, allocations: 0.991 MB / 0.5998 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.8346, allocations: 47.36 kB / 0.5998 GB, free: 9.773 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8346, allocations: 0 / 0.5998 GB, free: 9.773 MB / 446.1 MB Notification: Performance of Templates: time 0.05236/0.887, allocations: 27.8 MB / 0.6269 GB, free: 14.22 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValvesCalcHelperMain.o] Error 1