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.0009518/0.0009519, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9189/0.9189, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003424, allocations: 13.27 kB / 0.5082 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1623, allocations: 82.3 MB / 0.5886 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.533/0.6954, allocations: 232.2 MB / 0.8154 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.7177, allocations: 15.72 MB / 0.8307 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.7207, allocations: 59.62 kB / 0.8308 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.7238, allocations: 0.8666 MB / 0.8316 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008496/0.7323, allocations: 2.779 MB / 0.8343 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.7369, allocations: 1.526 MB / 0.8358 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006189/0.7431, allocations: 4.649 MB / 0.8404 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.7454, allocations: 1.044 MB / 0.8414 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007015/0.7524, allocations: 2.223 MB / 0.8436 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.7554, allocations: 1.076 MB / 0.8446 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.7559, allocations: 48 kB / 0.8446 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006759/0.7626, allocations: 3.565 MB / 0.8481 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008054/0.7635, allocations: 402.5 kB / 0.8485 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.7652, allocations: 0.7438 MB / 0.8492 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.7692, allocations: 2.151 MB / 0.8513 GB, free: 15.29 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7693, allocations: 0 / 0.8513 GB, free: 15.29 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7693, allocations: 4 kB / 0.8513 GB, free: 15.29 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.974e-05/0.7694, allocations: 4 kB / 0.8513 GB, free: 15.29 MB / 0.67 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.00418/0.7736, allocations: 1.715 MB / 0.853 GB, free: 13.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7736, allocations: 11.97 kB / 0.853 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/0.7767, allocations: 0.5444 MB / 0.8536 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/0.7794, allocations: 1.118 MB / 0.8547 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/0.7805, allocations: 273.8 kB / 0.8549 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.7808, allocations: 100 kB / 0.855 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.7839, allocations: 1.338 MB / 0.8563 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.7839, allocations: 4 kB / 0.8563 GB, free: 9.988 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.784, allocations: 43.98 kB / 0.8564 GB, free: 9.945 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-05/0.7841, allocations: 42 kB / 0.8564 GB, free: 9.902 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.7869, allocations: 1.116 MB / 0.8575 GB, free: 8.785 MB / 0.67 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.008891/0.7958, allocations: 6.675 MB / 0.864 GB, free: 1.664 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.7975, allocations: 0.6027 MB / 0.8646 GB, free: 1.055 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.7982, allocations: 285.2 kB / 0.8649 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.7987, allocations: 287.6 kB / 0.8652 GB, free: 448 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7987, allocations: 34.84 kB / 0.8652 GB, free: 404 kB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/0.7987, allocations: 4 kB / 0.8652 GB, free: 400 kB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.3146/1.113, allocations: 0.895 MB / 0.8661 GB, free: 220.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/1.113, allocations: 58.03 kB / 0.8661 GB, free: 220 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/1.115, allocations: 1.367 MB / 0.8675 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-05/1.115, allocations: 35.48 kB / 0.8675 GB, free: 219.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/1.116, allocations: 0.682 MB / 0.8682 GB, free: 219.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/1.116, allocations: 119.3 kB / 0.8683 GB, free: 219.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/1.116, allocations: 56.8 kB / 0.8683 GB, free: 219.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/1.116, allocations: 336.6 kB / 0.8686 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/1.117, allocations: 330.7 kB / 0.869 GB, free: 219.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/1.118, allocations: 0.6662 MB / 0.8696 GB, free: 218.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/1.119, allocations: 0.9049 MB / 0.8705 GB, free: 218.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/1.119, allocations: 2.844 kB / 0.8705 GB, free: 218.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002469/1.122, allocations: 1.061 MB / 0.8715 GB, free: 218.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/1.122, allocations: 374.7 kB / 0.8719 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.122, allocations: 9.281 kB / 0.8719 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.122, allocations: 12.81 kB / 0.8719 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/1.123, allocations: 206.3 kB / 0.8721 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/1.123, allocations: 21.28 kB / 0.8721 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.125, allocations: 233.7 kB / 0.8723 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/1.125, allocations: 40.5 kB / 0.8724 GB, free: 218 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.125, allocations: 3.719 kB / 0.8724 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/1.127, allocations: 0.9128 MB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.127, allocations: 11.66 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.127, allocations: 15.53 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/1.127, allocations: 207.5 kB / 0.8735 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/1.127, allocations: 22.03 kB / 0.8735 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.129, allocations: 206.3 kB / 0.8737 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/1.129, allocations: 41.89 kB / 0.8738 GB, free: 217.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.0006912/1.13, allocations: 408.7 kB / 0.8742 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.13, allocations: 136.7 kB / 0.8743 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/1.132, allocations: 0.6876 MB / 0.875 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.132, allocations: 3 kB / 0.875 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.132, allocations: 0 / 0.875 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.132, allocations: 3.234 kB / 0.875 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/1.135, allocations: 1.968 MB / 0.8769 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.135, allocations: 3.125 kB / 0.8769 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/1.135, allocations: 103.7 kB / 0.877 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.135, allocations: 5.25 kB / 0.877 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/1.136, allocations: 22.52 kB / 0.877 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/1.136, allocations: 2.875 kB / 0.877 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.136, allocations: 9.594 kB / 0.877 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/1.137, allocations: 0.8532 MB / 0.8779 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/1.138, allocations: 289.3 kB / 0.8781 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/1.138, allocations: 16.25 kB / 0.8781 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.139, allocations: 118.2 kB / 0.8783 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.139, allocations: 38.23 kB / 0.8783 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/1.139, allocations: 20.31 kB / 0.8783 GB, free: 215.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001356/1.14, allocations: 0.9956 MB / 0.8793 GB, free: 215.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.71e-07/1.14, allocations: 3.125 kB / 0.8793 GB, free: 215.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001897/1.142, allocations: 0.5686 MB / 0.8798 GB, free: 215.5 MB / 0.67 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.0006012/1.143, allocations: 265.7 kB / 0.8801 GB, free: 215.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002736/1.146, allocations: 1.157 MB / 0.8812 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.146, allocations: 0 / 0.8812 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/1.146, allocations: 286.8 kB / 0.8815 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.151, allocations: 0.7691 MB / 0.8823 GB, free: 214.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/1.156, allocations: 2.787 MB / 0.885 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/1.156, allocations: 1.172 MB / 0.8861 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/1.157, allocations: 106.8 kB / 0.8862 GB, free: 212.4 MB / 0.67 GB Notification: Performance of SimCode: time 6.92e-07/1.157, allocations: 0 / 0.8862 GB, free: 212.4 MB / 0.67 GB Notification: Performance of Templates: time 0.04119/1.198, allocations: 21.71 MB / 0.9074 GB, free: 210.2 MB / 0.67 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++14 -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:4617:140: error: no matching function for call to 'max' if (!((tmp31 >= max(-9.999999999999999e+59,max(-100000.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,max(0,0.0)))))))))))))) && (tmp32 <= 100000.0))) ^~~ /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); ^ In file included from OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4Initialize.cpp:4638:149: error: no matching function for call to 'max' if (!((_res_P_m_flow_ >= max(-9.999999999999999e+59,max(-100000.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,max(0,0.0)))))))))))))) && (_res_P_m_flow_ <= 100000.0))) ^~~ /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); ^ 2 errors generated. make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1