Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007167/0.0007168, allocations: 90.91 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.0007193/0.0007193, allocations: 172.7 kB / 18.21 MB, free: 5.195 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.317/1.317, allocations: 205.4 MB / 224.4 MB, free: 12.92 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2711/0.2711, allocations: 48.79 MB / 321.5 MB, free: 11.08 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.0005411/0.0005411, allocations: 13.72 kB / 392.5 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.112, allocations: 60.26 MB / 452.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.06571/0.1777, allocations: 72.26 MB / 0.5127 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.1925, allocations: 11.5 MB / 0.5239 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005733/0.1931, allocations: 15.88 kB / 0.5239 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.194, allocations: 278.5 kB / 0.5242 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.1949, allocations: 425.5 kB / 0.5246 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.2094, allocations: 4.341 MB / 0.5288 GB, free: 84 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2552/0.4647, allocations: 1.678 MB / 0.5305 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.4653, allocations: 312.8 kB / 0.5308 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.466, allocations: 389.9 kB / 0.5311 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.4666, allocations: 437.3 kB / 0.5316 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.35e-05/0.4667, allocations: 28.12 kB / 0.5316 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/0.4807, allocations: 6.268 MB / 0.5377 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.4809, allocations: 93.66 kB / 0.5378 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.4815, allocations: 342.2 kB / 0.5381 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004425/0.4859, allocations: 2.695 MB / 0.5408 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.486, allocations: 0 / 0.5408 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.486, allocations: 1.219 kB / 0.5408 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.486, allocations: 0 / 0.5408 GB, free: 10.69 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002494/0.4885, allocations: 1.23 MB / 0.542 GB, free: 10.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4885, allocations: 10.19 kB / 0.542 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.4889, allocations: 121.4 kB / 0.5421 GB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.4894, allocations: 419.9 kB / 0.5425 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.4894, allocations: 37.31 kB / 0.5425 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.4895, allocations: 54.75 kB / 0.5426 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.4909, allocations: 0.6851 MB / 0.5432 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4909, allocations: 2.328 kB / 0.5432 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.491, allocations: 23.94 kB / 0.5433 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.491, allocations: 12.06 kB / 0.5433 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.4922, allocations: 0.5241 MB / 0.5438 GB, free: 9.594 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.001868/0.4941, allocations: 2.648 MB / 0.5464 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4952, allocations: 0.5577 MB / 0.5469 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4954, allocations: 130.5 kB / 0.547 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05988/0.5553, allocations: 32.3 MB / 0.5786 GB, free: 17.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.5554, allocations: 41.34 kB / 0.5786 GB, free: 17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.5555, allocations: 0 / 0.5786 GB, free: 17 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.005812/0.5613, allocations: 1.865 MB / 0.5804 GB, free: 16.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.5614, allocations: 109.2 kB / 0.5806 GB, free: 16.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.5619, allocations: 466.4 kB / 0.581 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.562, allocations: 32.14 kB / 0.581 GB, free: 15.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.5621, allocations: 278.5 kB / 0.5813 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.5622, allocations: 112.9 kB / 0.5814 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.5623, allocations: 39.72 kB / 0.5814 GB, free: 15.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5625, allocations: 363.4 kB / 0.5818 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.5628, allocations: 157.2 kB / 0.5819 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.5631, allocations: 229 kB / 0.5822 GB, free: 15.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/0.5637, allocations: 380.8 kB / 0.5825 GB, free: 15.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5637, allocations: 0 / 0.5825 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001715/0.5654, allocations: 0.7417 MB / 0.5832 GB, free: 14.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.103e-05/0.5655, allocations: 127.5 kB / 0.5834 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5655, allocations: 1.375 kB / 0.5834 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/0.5677, allocations: 0.5294 MB / 0.5839 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5678, allocations: 31.7 kB / 0.5839 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.5695, allocations: 1.514 MB / 0.5854 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.57, allocations: 56.03 kB / 0.5854 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.57, allocations: 24.75 kB / 0.5855 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.5701, allocations: 9 kB / 0.5855 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.5716, allocations: 0.6217 MB / 0.5861 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.5716, allocations: 3.75 kB / 0.5861 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.573, allocations: 465.6 kB / 0.5865 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5732, allocations: 45.89 kB / 0.5866 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.5749, allocations: 1.433 MB / 0.588 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.5754, allocations: 66.58 kB / 0.588 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.5754, allocations: 21.52 kB / 0.5881 GB, free: 12.06 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: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.5757, allocations: 235.1 kB / 0.5883 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.5758, allocations: 50.41 kB / 0.5883 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003294/0.5791, allocations: 3.024 MB / 0.5913 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5791, allocations: 5.406 kB / 0.5913 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5791, allocations: 3.984 kB / 0.5913 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5791, allocations: 3.094 kB / 0.5913 GB, free: 11.29 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.005042/0.5842, allocations: 4.52 MB / 0.5957 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5842, allocations: 0 / 0.5957 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.5844, allocations: 50.09 kB / 0.5958 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.5869, allocations: 1.209 MB / 0.5969 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.587, allocations: 11.92 kB / 0.5969 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.5899, allocations: 2.73 MB / 0.5996 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.5899, allocations: 7.969 kB / 0.5996 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.594, allocations: 3.961 MB / 0.6035 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5942, allocations: 141.3 kB / 0.6036 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.5943, allocations: 11.62 kB / 0.6036 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.5947, allocations: 54.53 kB / 0.6037 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.5948, allocations: 19.97 kB / 0.6037 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5948, allocations: 19.3 kB / 0.6037 GB, free: 1.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003208/0.5951, allocations: 318 kB / 0.604 GB, free: 1.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5951, allocations: 0 / 0.604 GB, free: 1.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00351/0.5987, allocations: 0.988 MB / 0.605 GB, free: 0.7617 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.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 (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003393/0.6021, allocations: 0.9673 MB / 0.6059 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.6042, allocations: 0.7962 MB / 0.6067 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6043, allocations: 7.219 kB / 0.6067 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.6053, allocations: 462.5 kB / 0.6072 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6071, allocations: 303.4 kB / 0.6075 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.6094, allocations: 1.744 MB / 0.6092 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.6099, allocations: 0.8872 MB / 0.61 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.61, allocations: 39.44 kB / 0.6101 GB, free: 12.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.61, allocations: 0 / 0.6101 GB, free: 12.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04242/0.6525, allocations: 28.03 MB / 0.6374 GB, free: 392 kB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.TestMixerCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestMixerCalcHelperMain.o] Error 1