Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006609/0.0006611, allocations: 93.34 kB / 17.31 MB, free: 6.535 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.000707/0.000707, allocations: 181 kB / 18.21 MB, free: 5.676 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.143/1.143, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2294/0.2294, 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.000451/0.0004511, allocations: 13.3 kB / 392.5 MB, free: 50.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07927/0.07973, allocations: 60.27 MB / 452.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow2): time 0.03894/0.1187, allocations: 46.43 MB / 499.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1298, allocations: 10.41 MB / 0.4976 GB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.1301, allocations: 7.938 kB / 0.4976 GB, free: 156 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006158/0.1308, allocations: 202.9 kB / 0.4978 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.1313, allocations: 282.3 kB / 0.4981 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009047/0.1404, allocations: 3.746 MB / 0.5017 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009628/0.1413, allocations: 1.075 MB / 0.5028 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.1417, allocations: 209.6 kB / 0.503 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.142, allocations: 258.8 kB / 0.5032 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.1423, allocations: 290.8 kB / 0.5035 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.1423, allocations: 20 kB / 0.5035 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008693/0.151, allocations: 6.142 MB / 0.5095 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1511, allocations: 75.56 kB / 0.5096 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1513, allocations: 236.6 kB / 0.5098 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.1539, allocations: 2.499 MB / 0.5123 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.154, allocations: 7.984 kB / 0.5123 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.154, allocations: 0 / 0.5123 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.154, allocations: 3.938 kB / 0.5123 GB, free: 1.094 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00213/0.1561, allocations: 1.056 MB / 0.5133 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1561, allocations: 11.97 kB / 0.5133 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.1565, allocations: 88.28 kB / 0.5134 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1568, allocations: 331.2 kB / 0.5137 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1569, allocations: 25.03 kB / 0.5138 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.1569, allocations: 36.31 kB / 0.5138 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.1577, allocations: 422.1 kB / 0.5142 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1577, allocations: 3.938 kB / 0.5142 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.1577, allocations: 12 kB / 0.5142 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1577, allocations: 8 kB / 0.5142 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.1583, allocations: 298.4 kB / 0.5145 GB, free: 14.71 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.001793/0.1601, allocations: 2.216 MB / 0.5167 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.1607, allocations: 258.7 kB / 0.5169 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1609, allocations: 104.8 kB / 0.517 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2139/0.3748, allocations: 32.28 MB / 0.5485 GB, free: 51.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3749, allocations: 39.11 kB / 0.5486 GB, free: 51.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.3749, allocations: 0 / 0.5486 GB, free: 51.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.004101/0.379, allocations: 1.475 MB / 0.55 GB, free: 51.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.379, allocations: 54.66 kB / 0.5501 GB, free: 51.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3793, allocations: 321.6 kB / 0.5504 GB, free: 51.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3793, allocations: 32.92 kB / 0.5504 GB, free: 51.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.3794, allocations: 203.2 kB / 0.5506 GB, free: 50.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.3795, allocations: 121.7 kB / 0.5507 GB, free: 50.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.3795, allocations: 36.44 kB / 0.5507 GB, free: 50.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.3796, allocations: 344.5 kB / 0.5511 GB, free: 50.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3798, allocations: 122.9 kB / 0.5512 GB, free: 50.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.38, allocations: 167.9 kB / 0.5513 GB, free: 50.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.3805, allocations: 306.9 kB / 0.5516 GB, free: 50.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3805, allocations: 1 kB / 0.5516 GB, free: 50.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008092/0.3814, allocations: 450 kB / 0.5521 GB, free: 50.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/0.3814, allocations: 131.4 kB / 0.5522 GB, free: 50.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3814, allocations: 1.125 kB / 0.5522 GB, free: 50.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/0.3819, allocations: 93.11 kB / 0.5523 GB, free: 50.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.3822, allocations: 78.77 kB / 0.5524 GB, free: 50.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005483/0.3827, allocations: 1.114 MB / 0.5535 GB, free: 49.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.383, allocations: 38.22 kB / 0.5535 GB, free: 49.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.383, allocations: 17.38 kB / 0.5535 GB, free: 49.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.3831, allocations: 8.312 kB / 0.5535 GB, free: 49.16 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006605/0.3837, allocations: 376.1 kB / 0.5539 GB, free: 49.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3837, allocations: 1.156 kB / 0.5539 GB, free: 49.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.3841, allocations: 89.08 kB / 0.554 GB, free: 49.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.3844, allocations: 83.73 kB / 0.554 GB, free: 49.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004908/0.3849, allocations: 1.115 MB / 0.5551 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.3852, allocations: 35.88 kB / 0.5552 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3852, allocations: 14.72 kB / 0.5552 GB, free: 48.07 MB / 414.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: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.3853, allocations: 233.5 kB / 0.5554 GB, free: 47.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.3854, allocations: 42 kB / 0.5554 GB, free: 47.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.3867, allocations: 1.172 MB / 0.5566 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3867, allocations: 16.17 kB / 0.5566 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3867, allocations: 4.719 kB / 0.5566 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3868, allocations: 3.188 kB / 0.5566 GB, free: 47.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.3873, allocations: 0.6728 MB / 0.5573 GB, free: 47.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3873, allocations: 0 / 0.5573 GB, free: 47.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.3876, allocations: 69 kB / 0.5573 GB, free: 47.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.3881, allocations: 145.9 kB / 0.5575 GB, free: 47.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3882, allocations: 9.812 kB / 0.5575 GB, free: 47.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00055/0.3887, allocations: 1.191 MB / 0.5586 GB, free: 46.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3887, allocations: 0 / 0.5586 GB, free: 46.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3902, allocations: 1.225 MB / 0.5598 GB, free: 46.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.3903, allocations: 158.8 kB / 0.56 GB, free: 46.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3904, allocations: 6.438 kB / 0.56 GB, free: 46.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3906, allocations: 27.22 kB / 0.56 GB, free: 46.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.3907, allocations: 23.05 kB / 0.56 GB, free: 46.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3907, allocations: 15.55 kB / 0.5601 GB, free: 46.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.3908, allocations: 224.3 kB / 0.5603 GB, free: 46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3909, allocations: 2.625 kB / 0.5603 GB, free: 46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001899/0.3928, allocations: 0.9281 MB / 0.5612 GB, free: 45.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002711/0.3955, allocations: 0.9771 MB / 0.5621 GB, free: 45.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3966, allocations: 0.686 MB / 0.5628 GB, free: 45.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3966, allocations: 4 kB / 0.5628 GB, free: 45.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.3971, allocations: 387.8 kB / 0.5632 GB, free: 45.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3982, allocations: 199.2 kB / 0.5634 GB, free: 45.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3995, allocations: 1.617 MB / 0.5649 GB, free: 44.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3997, allocations: 0.8505 MB / 0.5658 GB, free: 44.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3998, allocations: 42.98 kB / 0.5658 GB, free: 44.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3998, allocations: 3.844 kB / 0.5658 GB, free: 44.25 MB / 414.1 MB Notification: Performance of Templates: time 0.02187/0.4217, allocations: 23.88 MB / 0.5891 GB, free: 24.57 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2CalcHelperMain.o] Error 1