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.00148/0.00148, allocations: 111.2 kB / 16.41 MB, free: 6.496 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.001387/0.001387, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8336/0.8336, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 70.88 kB / 0.5863 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1722, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6648/0.837, allocations: 238.1 MB / 0.8979 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.8614, allocations: 15.81 MB / 0.9133 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.8642, allocations: 63.62 kB / 0.9134 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.8676, allocations: 1.087 MB / 0.9144 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008788/0.8764, allocations: 3.08 MB / 0.9175 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005003/0.8814, allocations: 1.705 MB / 0.9191 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006291/0.8877, allocations: 3.426 MB / 0.9225 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.8899, allocations: 1.072 MB / 0.9235 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007602/0.8975, allocations: 2.579 MB / 0.926 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.9004, allocations: 1.076 MB / 0.9271 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.9008, allocations: 124 kB / 0.9272 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006726/0.9075, allocations: 3.106 MB / 0.9302 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009497/0.9085, allocations: 490.3 kB / 0.9307 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.9099, allocations: 0.8123 MB / 0.9315 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007702/0.9176, allocations: 2.998 MB / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9176, allocations: 0 / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9176, allocations: 0 / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.808e-05/0.9177, allocations: 4 kB / 0.9344 GB, free: 11.43 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.004716/0.9224, allocations: 2.068 MB / 0.9364 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.9224, allocations: 13.11 kB / 0.9365 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.9253, allocations: 0.5024 MB / 0.9369 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.928, allocations: 1.169 MB / 0.9381 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.9281, allocations: 82 kB / 0.9382 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.9282, allocations: 99.98 kB / 0.9383 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.9309, allocations: 1.354 MB / 0.9396 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.9309, allocations: 11.94 kB / 0.9396 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.931, allocations: 44 kB / 0.9396 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.456e-05/0.9311, allocations: 45.97 kB / 0.9397 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.9336, allocations: 1.054 MB / 0.9407 GB, free: 4.758 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.009661/0.9433, allocations: 7.392 MB / 0.9479 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.9449, allocations: 0.5274 MB / 0.9484 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.9455, allocations: 253.2 kB / 0.9487 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.946, allocations: 283.6 kB / 0.949 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.946, allocations: 38.84 kB / 0.949 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.946, allocations: 0 / 0.949 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002591/0.9486, allocations: 0.8446 MB / 0.9498 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.9487, allocations: 59.39 kB / 0.9499 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.9508, allocations: 1.391 MB / 0.9512 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/0.9509, allocations: 37.64 kB / 0.9513 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.9516, allocations: 0.7157 MB / 0.952 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.9517, allocations: 130.9 kB / 0.9521 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.952, allocations: 170.5 kB / 0.9523 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9522, allocations: 330 kB / 0.9526 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.953, allocations: 324.6 kB / 0.9529 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.9543, allocations: 0.7073 MB / 0.9536 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.9562, allocations: 0.9462 MB / 0.9545 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.9562, allocations: 4 kB / 0.9545 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002644/0.9588, allocations: 1.078 MB / 0.9555 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.9588, allocations: 12.22 kB / 0.9556 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.9589, allocations: 12 kB / 0.9556 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.9589, allocations: 16 kB / 0.9556 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.9597, allocations: 203.7 kB / 0.9558 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/0.9598, allocations: 31.86 kB / 0.9558 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.9612, allocations: 194.3 kB / 0.956 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-05/0.9613, allocations: 43.98 kB / 0.956 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.9626, allocations: 0.5694 MB / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001165/0.9638, allocations: 0.7111 MB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001829/0.9656, allocations: 0.9418 MB / 0.9582 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.333e-06/0.9656, allocations: 4 kB / 0.9582 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002618/0.9682, allocations: 1.07 MB / 0.9593 GB, free: 452 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.9683, allocations: 12 kB / 0.9593 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9683, allocations: 12 kB / 0.9593 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.9683, allocations: 16.72 kB / 0.9593 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.9691, allocations: 215.6 kB / 0.9595 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.9691, allocations: 23.92 kB / 0.9595 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.9706, allocations: 131.6 kB / 0.9597 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.9707, allocations: 48.03 kB / 0.9597 GB, free: 15.99 MB / 0.7325 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.0003433/0.9711, allocations: 245.2 kB / 0.9599 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.9713, allocations: 143.1 kB / 0.9601 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.9731, allocations: 0.6442 MB / 0.9607 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.9731, allocations: 4 kB / 0.9607 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9731, allocations: 4 kB / 0.9607 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9731, allocations: 3.938 kB / 0.9607 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.9768, allocations: 1.9 MB / 0.9626 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9768, allocations: 4 kB / 0.9626 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.9773, allocations: 91.86 kB / 0.9627 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.9773, allocations: 4 kB / 0.9627 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.9773, allocations: 12 kB / 0.9627 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.9773, allocations: 12.08 kB / 0.9627 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9774, allocations: 7.938 kB / 0.9627 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.979, allocations: 0.8042 MB / 0.9635 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.9795, allocations: 304.1 kB / 0.9638 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.9797, allocations: 12 kB / 0.9638 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.9807, allocations: 67.92 kB / 0.9638 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.9808, allocations: 43.81 kB / 0.9639 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.9808, allocations: 15.98 kB / 0.9639 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00161/0.9824, allocations: 1.009 MB / 0.9649 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9824, allocations: 0 / 0.9649 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002007/0.9844, allocations: 0.5813 MB / 0.9655 GB, free: 9.887 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.0007253/0.9852, allocations: 263.3 kB / 0.9657 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003014/0.9882, allocations: 1.111 MB / 0.9668 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.9882, allocations: 0 / 0.9668 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.9889, allocations: 244.8 kB / 0.967 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/0.9925, allocations: 0.7325 MB / 0.9677 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.9978, allocations: 2.344 MB / 0.97 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/0.9987, allocations: 1.171 MB / 0.9712 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.9992, allocations: 111.4 kB / 0.9713 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of SimCode: time 1.423e-06/0.9992, allocations: 0 / 0.9713 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of Templates: time 0.03767/1.037, allocations: 22.3 MB / 0.9931 GB, free: 13.65 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