Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001433/0.001433, allocations: 183.5 kB / 17.84 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3821/0.3821, allocations: 48.76 MB / 321 MB, free: 11.23 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.0005412/0.0005413, allocations: 18.06 kB / 391.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1449, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.08236/0.2273, allocations: 76.8 MB / 0.5165 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.2434, allocations: 10.56 MB / 0.5268 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.2448, allocations: 35.75 kB / 0.5268 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.2461, allocations: 301.9 kB / 0.5271 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.2485, allocations: 0.6912 MB / 0.5278 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3314/0.5799, allocations: 4.249 MB / 0.5319 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.5842, allocations: 1.887 MB / 0.5338 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.5854, allocations: 455.2 kB / 0.5342 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.5905, allocations: 2.046 MB / 0.5362 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.5927, allocations: 0.9219 MB / 0.5371 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.5929, allocations: 33.22 kB / 0.5371 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/0.6093, allocations: 6.135 MB / 0.5431 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.6097, allocations: 136 kB / 0.5433 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007589/0.6105, allocations: 196.8 kB / 0.5434 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009061/0.6196, allocations: 2.909 MB / 0.5463 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6196, allocations: 0 / 0.5463 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.666e-06/0.6197, allocations: 0 / 0.5463 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.265e-05/0.6197, allocations: 1.312 kB / 0.5463 GB, free: 11.43 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.006753/0.6264, allocations: 1.497 MB / 0.5477 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6265, allocations: 9.469 kB / 0.5478 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004883/0.627, allocations: 123.3 kB / 0.5479 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.6279, allocations: 0.504 MB / 0.5484 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.6281, allocations: 137.9 kB / 0.5485 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6282, allocations: 69.5 kB / 0.5486 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.63, allocations: 0.7866 MB / 0.5493 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.63, allocations: 10.38 kB / 0.5493 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.6301, allocations: 25.98 kB / 0.5494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.6302, allocations: 18.64 kB / 0.5494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.6315, allocations: 0.5935 MB / 0.55 GB, free: 10.06 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.003505/0.635, allocations: 3.654 MB / 0.5535 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6363, allocations: 0.5313 MB / 0.554 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.6368, allocations: 221.3 kB / 0.5543 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06228/0.6991, allocations: 32.42 MB / 0.5859 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.6992, allocations: 44.27 kB / 0.586 GB, free: 15.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 3.957e-06/0.6992, allocations: 0 / 0.586 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.00478/0.704, allocations: 1.489 MB / 0.5874 GB, free: 14.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.7041, allocations: 60.12 kB / 0.5875 GB, free: 14.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.7048, allocations: 0.5586 MB / 0.588 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.7049, allocations: 35.27 kB / 0.5881 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.7052, allocations: 356.2 kB / 0.5884 GB, free: 14.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.7053, allocations: 183.4 kB / 0.5886 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.7054, allocations: 10.69 kB / 0.5886 GB, free: 13.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.7056, allocations: 383.4 kB / 0.5889 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.706, allocations: 169.1 kB / 0.5891 GB, free: 13.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.7065, allocations: 280 kB / 0.5894 GB, free: 13.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.7069, allocations: 195 kB / 0.5896 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.7069, allocations: 3.953 kB / 0.5896 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001728/0.7086, allocations: 0.7583 MB / 0.5903 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.7088, allocations: 171.5 kB / 0.5905 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7088, allocations: 4 kB / 0.5905 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.7101, allocations: 296.8 kB / 0.5908 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.7105, allocations: 101.2 kB / 0.5908 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.7125, allocations: 1.886 MB / 0.5927 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.7132, allocations: 112.4 kB / 0.5928 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.7133, allocations: 39.61 kB / 0.5928 GB, free: 10.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7133, allocations: 4 kB / 0.5928 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/0.7147, allocations: 0.6335 MB / 0.5935 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7147, allocations: 4 kB / 0.5935 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.7152, allocations: 164.9 kB / 0.5936 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.7156, allocations: 117.1 kB / 0.5937 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.721, allocations: 4.931 MB / 0.5985 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007911/0.7218, allocations: 108.1 kB / 0.5986 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.7219, allocations: 23.25 kB / 0.5987 GB, free: 4.844 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.7224, allocations: 262.1 kB / 0.5989 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.7225, allocations: 82.2 kB / 0.599 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/0.7252, allocations: 1.524 MB / 0.6005 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.7252, allocations: 15.23 kB / 0.6005 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.7252, allocations: 0 / 0.6005 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7253, allocations: 3.984 kB / 0.6005 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.7264, allocations: 0.8155 MB / 0.6013 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7265, allocations: 5.922 kB / 0.6013 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.7268, allocations: 82.11 kB / 0.6014 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.7286, allocations: 1.036 MB / 0.6024 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.7286, allocations: 15.23 kB / 0.6024 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.731, allocations: 2.51 MB / 0.6049 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.731, allocations: 288 / 0.6049 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.734, allocations: 1.856 MB / 0.6067 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.7345, allocations: 209.8 kB / 0.6069 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.7346, allocations: 18.8 kB / 0.6069 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.735, allocations: 63.05 kB / 0.607 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7351, allocations: 36 kB / 0.607 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.7352, allocations: 15.25 kB / 0.607 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005168/0.7357, allocations: 389.1 kB / 0.6074 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7357, allocations: 0 / 0.6074 GB, free: 13.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00655/0.7423, allocations: 1.177 MB / 0.6085 GB, free: 12.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006799/0.7491, allocations: 1.022 MB / 0.6095 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.7521, allocations: 1.287 MB / 0.6108 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7521, allocations: 2.734 kB / 0.6108 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.7531, allocations: 460.2 kB / 0.6112 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7551, allocations: 362.4 kB / 0.6116 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7583, allocations: 2.087 MB / 0.6136 GB, free: 8.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.7589, allocations: 0.9817 MB / 0.6146 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.759, allocations: 52.81 kB / 0.6146 GB, free: 7.246 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.759, allocations: 2.906 kB / 0.6146 GB, free: 7.246 MB / 462.1 MB Notification: Performance of Templates: time 0.05689/0.8159, allocations: 34.13 MB / 0.6479 GB, free: 5.32 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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.WaterPumpsCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpsCalcHelperMain.o] Error 1