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.0009215/0.0009218, allocations: 91.61 kB / 16.95 MB, free: 5.543 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.0008362/0.0008362, allocations: 189.3 kB / 17.85 MB, free: 5.223 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.886/1.886, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3915/0.3915, allocations: 48.78 MB / 321.1 MB, free: 11.21 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.0005389/0.0005389, allocations: 17 kB / 391.8 MB, free: 50.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.0744/0.2244, allocations: 67.55 MB / 0.5074 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2395, allocations: 10.21 MB / 0.5174 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2406, allocations: 19.88 kB / 0.5174 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2418, allocations: 258.3 kB / 0.5177 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.243, allocations: 472.9 kB / 0.5181 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01662/0.2597, allocations: 4.098 MB / 0.5221 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.2625, allocations: 1.436 MB / 0.5235 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007189/0.2633, allocations: 295 kB / 0.5238 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000744/0.264, allocations: 390.4 kB / 0.5242 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.2647, allocations: 414.2 kB / 0.5246 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.2647, allocations: 28 kB / 0.5246 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4052/0.6699, allocations: 6.005 MB / 0.5305 GB, free: 16.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.6702, allocations: 95.17 kB / 0.5306 GB, free: 16.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.6706, allocations: 148.1 kB / 0.5307 GB, free: 16.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008982/0.6796, allocations: 2.671 MB / 0.5333 GB, free: 16.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6797, allocations: 0.625 kB / 0.5333 GB, free: 16.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.6797, allocations: 0 / 0.5333 GB, free: 16.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.6797, allocations: 4.531 kB / 0.5333 GB, free: 16.08 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.007235/0.687, allocations: 1.235 MB / 0.5345 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.687, allocations: 9.406 kB / 0.5345 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.6876, allocations: 120.5 kB / 0.5346 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.6884, allocations: 399.2 kB / 0.535 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.6885, allocations: 35.47 kB / 0.5351 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.6886, allocations: 55.48 kB / 0.5351 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.6906, allocations: 0.6796 MB / 0.5358 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6906, allocations: 2.719 kB / 0.5358 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.6907, allocations: 22.03 kB / 0.5358 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.6907, allocations: 10.81 kB / 0.5358 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.6923, allocations: 0.5265 MB / 0.5363 GB, free: 15 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.003061/0.6953, allocations: 2.639 MB / 0.5389 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6967, allocations: 0.5636 MB / 0.5394 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.697, allocations: 133.6 kB / 0.5396 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07016/0.7672, allocations: 32.29 MB / 0.5711 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.7673, allocations: 37.5 kB / 0.5711 GB, free: 8.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 5.74e-06/0.7674, allocations: 1.453 kB / 0.5711 GB, free: 8.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.00656/0.7739, allocations: 1.867 MB / 0.573 GB, free: 7.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.7741, allocations: 108.3 kB / 0.5731 GB, free: 7.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.7748, allocations: 461.5 kB / 0.5735 GB, free: 7.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.7749, allocations: 29.14 kB / 0.5735 GB, free: 7.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.7751, allocations: 271.6 kB / 0.5738 GB, free: 7.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.7752, allocations: 112.2 kB / 0.5739 GB, free: 7.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.7752, allocations: 9.406 kB / 0.5739 GB, free: 7.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005875/0.7758, allocations: 359.6 kB / 0.5743 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.7762, allocations: 157.5 kB / 0.5744 GB, free: 22.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.7766, allocations: 223.7 kB / 0.5746 GB, free: 22.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.7769, allocations: 179.9 kB / 0.5748 GB, free: 22.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.777, allocations: 0 / 0.5748 GB, free: 22.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00189/0.7789, allocations: 0.7587 MB / 0.5755 GB, free: 22.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.779, allocations: 136.5 kB / 0.5757 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.779, allocations: 0 / 0.5757 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.7811, allocations: 0.5289 MB / 0.5762 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.7813, allocations: 37.11 kB / 0.5762 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.7832, allocations: 1.502 MB / 0.5777 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.7838, allocations: 59.59 kB / 0.5777 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.7839, allocations: 19.94 kB / 0.5778 GB, free: 21.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7839, allocations: 9.844 kB / 0.5778 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/0.7856, allocations: 0.6235 MB / 0.5784 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.7856, allocations: 3.375 kB / 0.5784 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.7871, allocations: 465.4 kB / 0.5788 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.7872, allocations: 39.3 kB / 0.5789 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.7891, allocations: 1.443 MB / 0.5803 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.7897, allocations: 54.12 kB / 0.5803 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.7898, allocations: 25.28 kB / 0.5803 GB, free: 20.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.7902, allocations: 238.5 kB / 0.5806 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.7903, allocations: 58.41 kB / 0.5806 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.7943, allocations: 3.014 MB / 0.5836 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.7944, allocations: 9.609 kB / 0.5836 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.7944, allocations: 6.406 kB / 0.5836 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.7944, allocations: 0 / 0.5836 GB, free: 19.68 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.005437/0.7998, allocations: 4.522 MB / 0.588 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.7999, allocations: 3.5 kB / 0.588 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.8001, allocations: 50.34 kB / 0.5881 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.8025, allocations: 1.207 MB / 0.5892 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.8026, allocations: 8.562 kB / 0.5892 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.8057, allocations: 2.736 MB / 0.5919 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8057, allocations: 4.156 kB / 0.5919 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/0.8107, allocations: 3.962 MB / 0.5958 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.8111, allocations: 141 kB / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.8113, allocations: 13.27 kB / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.8118, allocations: 46.59 kB / 0.596 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.812, allocations: 24.8 kB / 0.596 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.812, allocations: 13.81 kB / 0.596 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004907/0.8125, allocations: 317 kB / 0.5963 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8125, allocations: 0 / 0.5963 GB, free: 14.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006747/0.8193, allocations: 0.988 MB / 0.5973 GB, free: 13.46 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/0.8296, allocations: 0.975 MB / 0.5982 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.8323, allocations: 0.8096 MB / 0.599 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8324, allocations: 0 / 0.599 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.8335, allocations: 457.8 kB / 0.5995 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.8355, allocations: 317.2 kB / 0.5998 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.8384, allocations: 1.683 MB / 0.6014 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.839, allocations: 0.8834 MB / 0.6023 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.8392, allocations: 39.44 kB / 0.6023 GB, free: 8.977 MB / 446.1 MB Notification: Performance of SimCode: time 1.853e-06/0.8392, allocations: 0 / 0.6023 GB, free: 8.977 MB / 446.1 MB Notification: Performance of Templates: time 0.05415/0.8934, allocations: 28.03 MB / 0.6297 GB, free: 13.15 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.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