Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 103.7 kB / 16.4 MB, free: 6.453 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.001143/0.001143, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7916/0.7916, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.19 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 80.9 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6063/0.747, allocations: 237.6 MB / 0.8973 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.7674, allocations: 15.76 MB / 0.9127 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002718/0.7701, allocations: 63.62 kB / 0.9127 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003087/0.7732, allocations: 1.084 MB / 0.9138 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008006/0.7813, allocations: 3.081 MB / 0.9168 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.786, allocations: 1.703 MB / 0.9184 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005198/0.7913, allocations: 3.437 MB / 0.9218 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.7933, allocations: 1.293 MB / 0.9231 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006401/0.7997, allocations: 2.574 MB / 0.9256 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.802, allocations: 1.081 MB / 0.9266 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.8023, allocations: 120 kB / 0.9267 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/0.8079, allocations: 3.11 MB / 0.9298 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.8085, allocations: 474.5 kB / 0.9302 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.8097, allocations: 0.8162 MB / 0.931 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.8151, allocations: 2.98 MB / 0.9339 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8152, allocations: 0 / 0.9339 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8152, allocations: 4 kB / 0.9339 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.8152, allocations: 0 / 0.9339 GB, free: 11.86 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003556/0.8188, allocations: 2.013 MB / 0.9359 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8188, allocations: 9.109 kB / 0.9359 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.8216, allocations: 0.4975 MB / 0.9364 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.8237, allocations: 1.164 MB / 0.9375 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.8238, allocations: 78 kB / 0.9376 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.824, allocations: 104 kB / 0.9377 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.8263, allocations: 1.35 MB / 0.939 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.8264, allocations: 7.938 kB / 0.939 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.8265, allocations: 44 kB / 0.9391 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.8265, allocations: 41.98 kB / 0.9391 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.8289, allocations: 1.054 MB / 0.9402 GB, free: 5.262 MB / 0.7012 GB 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.007936/0.8368, allocations: 7.399 MB / 0.9474 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.8384, allocations: 0.537 MB / 0.9479 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006183/0.839, allocations: 261.2 kB / 0.9482 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.8394, allocations: 291.5 kB / 0.9484 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8395, allocations: 38.84 kB / 0.9485 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.445e-06/0.8395, allocations: 0 / 0.9485 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002423/0.8419, allocations: 0.836 MB / 0.9493 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8419, allocations: 55.39 kB / 0.9493 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.8438, allocations: 1.395 MB / 0.9507 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.8438, allocations: 33.7 kB / 0.9507 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.8444, allocations: 0.7025 MB / 0.9514 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.8445, allocations: 122.3 kB / 0.9515 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.8447, allocations: 166.4 kB / 0.9517 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8448, allocations: 334 kB / 0.952 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/0.8456, allocations: 324.6 kB / 0.9523 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.8467, allocations: 0.7034 MB / 0.953 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.8484, allocations: 0.9501 MB / 0.9539 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.8484, allocations: 4 kB / 0.9539 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002328/0.8507, allocations: 1.07 MB / 0.955 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.8508, allocations: 16 kB / 0.955 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.8508, allocations: 12 kB / 0.955 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.8508, allocations: 16 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.8517, allocations: 207.7 kB / 0.9552 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.8517, allocations: 24.86 kB / 0.9552 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8531, allocations: 182.6 kB / 0.9554 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.8531, allocations: 43.98 kB / 0.9555 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/0.8543, allocations: 0.5721 MB / 0.956 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/0.8554, allocations: 0.711 MB / 0.9567 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001644/0.8571, allocations: 0.938 MB / 0.9576 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.823e-06/0.8571, allocations: 7.938 kB / 0.9576 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002366/0.8594, allocations: 1.066 MB / 0.9587 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.8595, allocations: 12 kB / 0.9587 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.8595, allocations: 12 kB / 0.9587 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8595, allocations: 16.81 kB / 0.9587 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.8603, allocations: 215.6 kB / 0.9589 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.8604, allocations: 24.55 kB / 0.9589 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8617, allocations: 131.4 kB / 0.9591 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.8617, allocations: 47.98 kB / 0.9591 GB, free: 0.5156 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002778/0.862, allocations: 235.9 kB / 0.9593 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.8622, allocations: 142.2 kB / 0.9595 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.8639, allocations: 0.6443 MB / 0.9601 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8639, allocations: 8 kB / 0.9601 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8639, allocations: 0 / 0.9601 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8639, allocations: 0 / 0.9601 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.8673, allocations: 1.892 MB / 0.962 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.8673, allocations: 4 kB / 0.962 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.8678, allocations: 91.8 kB / 0.9621 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.8678, allocations: 8 kB / 0.9621 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.8678, allocations: 12.16 kB / 0.9621 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.8679, allocations: 11.98 kB / 0.9621 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8679, allocations: 4 kB / 0.9621 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.8694, allocations: 0.7995 MB / 0.9629 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.8699, allocations: 303 kB / 0.9632 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.8701, allocations: 12 kB / 0.9632 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.8711, allocations: 67.92 kB / 0.9632 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.8712, allocations: 39.89 kB / 0.9633 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.8712, allocations: 15.98 kB / 0.9633 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00146/0.8727, allocations: 1.009 MB / 0.9643 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8727, allocations: 0 / 0.9643 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001698/0.8744, allocations: 0.5735 MB / 0.9648 GB, free: 10.45 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005376/0.8749, allocations: 272.3 kB / 0.9651 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.8777, allocations: 1.136 MB / 0.9662 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8777, allocations: 4 kB / 0.9662 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.8784, allocations: 257.4 kB / 0.9665 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/0.8819, allocations: 0.7328 MB / 0.9672 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.8866, allocations: 2.322 MB / 0.9694 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.8873, allocations: 1.175 MB / 0.9706 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.8877, allocations: 103.4 kB / 0.9707 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of SimCode: time 1.031e-06/0.8877, allocations: 0 / 0.9707 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.02988/0.9176, allocations: 22.18 MB / 0.9923 GB, free: 14.32 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++17 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4Initialize.cpp:4785:127: error: no matching function for call to 'max' if (!((_res_P_m_flow_ >= max(-1e60,max(-1e5,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0.0,max(0,0.0)))))))))))))) && (_res_P_m_flow_ <= 1e5))) ^~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:407:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'double') max(const _Tp&, const _Tp&); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3467:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3461:5: note: candidate function not viable: requires single argument '__l', but 2 arguments were provided max(initializer_list<_Tp> __l) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:412:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1