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.00121/0.00121, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001186/0.001186, allocations: 187 kB / 17.34 MB, free: 5.734 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.827/0.827, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.17 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6697/0.8338, allocations: 237.5 MB / 0.8973 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.856, allocations: 15.76 MB / 0.9126 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.8589, allocations: 63.62 kB / 0.9127 GB, free: 1.691 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.8618, allocations: 1.045 MB / 0.9137 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008255/0.8701, allocations: 2.963 MB / 0.9166 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.8747, allocations: 1.695 MB / 0.9183 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.88, allocations: 3.433 MB / 0.9216 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.8822, allocations: 1.292 MB / 0.9229 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/0.8886, allocations: 2.524 MB / 0.9254 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.8911, allocations: 1.078 MB / 0.9264 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000459/0.8916, allocations: 120 kB / 0.9265 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006432/0.898, allocations: 3.091 MB / 0.9295 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007954/0.8988, allocations: 478.5 kB / 0.93 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.9006, allocations: 0.8123 MB / 0.9308 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006582/0.9072, allocations: 2.988 MB / 0.9337 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9073, allocations: 0 / 0.9337 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9073, allocations: 0 / 0.9337 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.591e-05/0.9074, allocations: 0 / 0.9337 GB, free: 12.13 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.004872/0.9122, allocations: 2.005 MB / 0.9357 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.9123, allocations: 17.11 kB / 0.9357 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.9153, allocations: 0.4974 MB / 0.9362 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.9184, allocations: 1.164 MB / 0.9373 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.9185, allocations: 82 kB / 0.9374 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/0.9187, allocations: 104 kB / 0.9375 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.9216, allocations: 1.346 MB / 0.9388 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.9216, allocations: 11.92 kB / 0.9388 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.9218, allocations: 44 kB / 0.9389 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.9218, allocations: 45.98 kB / 0.9389 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.9243, allocations: 1.05 MB / 0.9399 GB, free: 5.535 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.00925/0.9336, allocations: 7.395 MB / 0.9471 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.9352, allocations: 0.5443 MB / 0.9477 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006746/0.9359, allocations: 261.2 kB / 0.9479 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.9364, allocations: 283.6 kB / 0.9482 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.9364, allocations: 34.84 kB / 0.9482 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.9364, allocations: 0 / 0.9482 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002602/0.939, allocations: 0.8438 MB / 0.9491 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.9391, allocations: 55.41 kB / 0.9491 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.9415, allocations: 1.391 MB / 0.9505 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.9416, allocations: 33.7 kB / 0.9505 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.9422, allocations: 0.6987 MB / 0.9512 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.9424, allocations: 122.3 kB / 0.9513 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/0.9427, allocations: 170.4 kB / 0.9515 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9428, allocations: 334 kB / 0.9518 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.9437, allocations: 324.6 kB / 0.9521 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.9448, allocations: 0.7073 MB / 0.9528 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.9465, allocations: 0.9501 MB / 0.9537 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.9466, allocations: 4 kB / 0.9537 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002506/0.9491, allocations: 1.07 MB / 0.9548 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.9491, allocations: 12.03 kB / 0.9548 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.9491, allocations: 12 kB / 0.9548 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.9492, allocations: 16 kB / 0.9548 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.95, allocations: 207.7 kB / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.9501, allocations: 23.88 kB / 0.955 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9516, allocations: 186.6 kB / 0.9552 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.9517, allocations: 43.98 kB / 0.9552 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.953, allocations: 0.5682 MB / 0.9558 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.954, allocations: 0.7182 MB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001727/0.9558, allocations: 0.9379 MB / 0.9574 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.848e-06/0.9558, allocations: 4 kB / 0.9574 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002448/0.9583, allocations: 1.062 MB / 0.9584 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9583, allocations: 12 kB / 0.9585 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.9583, allocations: 17.55 kB / 0.9585 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.9583, allocations: 16.78 kB / 0.9585 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.9592, allocations: 219.6 kB / 0.9587 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.9592, allocations: 23.92 kB / 0.9587 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9608, allocations: 135.4 kB / 0.9588 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.9609, allocations: 40 kB / 0.9589 GB, free: 0.7891 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.0003089/0.9612, allocations: 251.8 kB / 0.9591 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.9615, allocations: 138.2 kB / 0.9593 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.9633, allocations: 0.6366 MB / 0.9599 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.9633, allocations: 8 kB / 0.9599 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9633, allocations: 0 / 0.9599 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9633, allocations: 3.984 kB / 0.9599 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.9673, allocations: 1.892 MB / 0.9617 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.9673, allocations: 4 kB / 0.9617 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.9678, allocations: 91.86 kB / 0.9618 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.9679, allocations: 4 kB / 0.9618 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.9679, allocations: 15.98 kB / 0.9618 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.9679, allocations: 8.125 kB / 0.9619 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/0.9679, allocations: 7.938 kB / 0.9619 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.9696, allocations: 0.7997 MB / 0.9626 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/0.9703, allocations: 299 kB / 0.9629 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/0.9707, allocations: 15.98 kB / 0.9629 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9719, allocations: 67.92 kB / 0.963 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.972, allocations: 31.84 kB / 0.963 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.972, allocations: 23.98 kB / 0.9631 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001686/0.9737, allocations: 1.005 MB / 0.964 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9737, allocations: 0 / 0.964 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002029/0.9758, allocations: 0.5813 MB / 0.9646 GB, free: 10.71 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.0006215/0.9764, allocations: 264 kB / 0.9649 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.9793, allocations: 1.132 MB / 0.966 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9793, allocations: 3.938 kB / 0.966 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.98, allocations: 257.4 kB / 0.9662 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/0.9836, allocations: 0.7353 MB / 0.9669 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.9888, allocations: 2.308 MB / 0.9692 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000899/0.9897, allocations: 1.179 MB / 0.9703 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.9901, allocations: 103.4 kB / 0.9704 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.9901, allocations: 0 / 0.9704 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of Templates: time 0.03825/1.028, allocations: 22.37 MB / 0.9923 GB, free: 14.41 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