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.001284/0.001284, allocations: 100.1 kB / 15.88 MB, free: 8 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.001103/0.001103, allocations: 197.4 kB / 16.79 MB, free: 6.828 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9615/0.9615, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.34 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1676, allocations: 80.91 MB / 0.5843 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5188/0.6865, allocations: 235.4 MB / 0.8142 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02255/0.7091, allocations: 15.9 MB / 0.8297 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.7122, allocations: 55.62 kB / 0.8298 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.7157, allocations: 0.8744 MB / 0.8306 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008544/0.7242, allocations: 2.787 MB / 0.8334 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.7287, allocations: 1.512 MB / 0.8348 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006043/0.7347, allocations: 4.653 MB / 0.8394 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.7367, allocations: 1.09 MB / 0.8404 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007019/0.7437, allocations: 2.25 MB / 0.8426 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.7467, allocations: 1.117 MB / 0.8437 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.747, allocations: 67.94 kB / 0.8438 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006906/0.7539, allocations: 3.589 MB / 0.8473 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007718/0.7547, allocations: 430.4 kB / 0.8477 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/0.7566, allocations: 0.7576 MB / 0.8485 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.7605, allocations: 2.187 MB / 0.8506 GB, free: 12.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7606, allocations: 4 kB / 0.8506 GB, free: 12.6 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7606, allocations: 0 / 0.8506 GB, free: 12.6 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.487e-05/0.7607, allocations: 0 / 0.8506 GB, free: 12.6 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.004543/0.7652, allocations: 2.005 MB / 0.8526 GB, free: 10.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.7653, allocations: 12.03 kB / 0.8526 GB, free: 10.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.7681, allocations: 0.4936 MB / 0.853 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.7705, allocations: 1.117 MB / 0.8541 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008611/0.7714, allocations: 249.7 kB / 0.8544 GB, free: 8.613 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.7716, allocations: 100 kB / 0.8545 GB, free: 8.516 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.7742, allocations: 1.318 MB / 0.8558 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.7742, allocations: 7.938 kB / 0.8558 GB, free: 7.102 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.7743, allocations: 47.98 kB / 0.8558 GB, free: 7.055 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.7744, allocations: 42 kB / 0.8559 GB, free: 7.012 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.7768, allocations: 1.077 MB / 0.8569 GB, free: 5.934 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.3118/1.089, allocations: 6.63 MB / 0.8634 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.09, allocations: 0.5631 MB / 0.8639 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/1.091, allocations: 275.2 kB / 0.8642 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.091, allocations: 285.8 kB / 0.8645 GB, free: 220.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.091, allocations: 37.25 kB / 0.8645 GB, free: 220.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/1.091, allocations: 0 / 0.8645 GB, free: 220.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002452/1.094, allocations: 0.865 MB / 0.8653 GB, free: 220.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.094, allocations: 58 kB / 0.8654 GB, free: 220 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/1.096, allocations: 1.358 MB / 0.8667 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/1.096, allocations: 35.8 kB / 0.8668 GB, free: 219.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/1.096, allocations: 0.6811 MB / 0.8674 GB, free: 219.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/1.096, allocations: 121.5 kB / 0.8675 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.096, allocations: 155.9 kB / 0.8677 GB, free: 219.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.729e-05/1.096, allocations: 329.3 kB / 0.868 GB, free: 219 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007737/1.097, allocations: 319.6 kB / 0.8683 GB, free: 218.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/1.098, allocations: 0.6458 MB / 0.8689 GB, free: 218.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/1.1, allocations: 0.8692 MB / 0.8698 GB, free: 218 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.1, allocations: 11.58 kB / 0.8698 GB, free: 218 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002366/1.102, allocations: 1.012 MB / 0.8708 GB, free: 217.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.102, allocations: 14.56 kB / 0.8708 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.102, allocations: 7.906 kB / 0.8708 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/1.102, allocations: 14.31 kB / 0.8708 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/1.103, allocations: 193.2 kB / 0.871 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/1.103, allocations: 21.23 kB / 0.871 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.105, allocations: 214.4 kB / 0.8712 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/1.105, allocations: 44.78 kB / 0.8713 GB, free: 217.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001169/1.106, allocations: 0.5743 MB / 0.8718 GB, free: 217.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009005/1.107, allocations: 0.6509 MB / 0.8725 GB, free: 216.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/1.108, allocations: 0.8667 MB / 0.8733 GB, free: 216.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.551e-06/1.108, allocations: 3.219 kB / 0.8733 GB, free: 216.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002205/1.11, allocations: 1.021 MB / 0.8743 GB, free: 216 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.11, allocations: 10.44 kB / 0.8743 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.11, allocations: 9.312 kB / 0.8743 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.11, allocations: 12.25 kB / 0.8743 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/1.111, allocations: 195.1 kB / 0.8745 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.111, allocations: 23.06 kB / 0.8746 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.113, allocations: 159.6 kB / 0.8747 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/1.113, allocations: 38.69 kB / 0.8747 GB, free: 215.9 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.0002823/1.113, allocations: 234.8 kB / 0.875 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/1.113, allocations: 135.4 kB / 0.8751 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/1.115, allocations: 0.6553 MB / 0.8757 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.115, allocations: 4.266 kB / 0.8757 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.115, allocations: 3.531 kB / 0.8757 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.115, allocations: 3.188 kB / 0.8757 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/1.118, allocations: 1.932 MB / 0.8776 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.118, allocations: 3.5 kB / 0.8776 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/1.119, allocations: 94.89 kB / 0.8777 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.119, allocations: 5.656 kB / 0.8777 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/1.119, allocations: 13.84 kB / 0.8777 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.119, allocations: 17.25 kB / 0.8778 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.119, allocations: 9.062 kB / 0.8778 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/1.12, allocations: 0.8171 MB / 0.8786 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/1.121, allocations: 301.4 kB / 0.8789 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/1.121, allocations: 12.19 kB / 0.8789 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.122, allocations: 96.77 kB / 0.879 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/1.122, allocations: 35.88 kB / 0.879 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.122, allocations: 26.11 kB / 0.879 GB, free: 213.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001339/1.123, allocations: 0.989 MB / 0.88 GB, free: 213.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.123, allocations: 0 / 0.88 GB, free: 213.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001845/1.125, allocations: 0.5635 MB / 0.8805 GB, free: 213.2 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.0006215/1.126, allocations: 273.8 kB / 0.8808 GB, free: 213.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002641/1.129, allocations: 1.111 MB / 0.8819 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.129, allocations: 0 / 0.8819 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/1.129, allocations: 259.9 kB / 0.8821 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.133, allocations: 0.7472 MB / 0.8829 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/1.138, allocations: 2.735 MB / 0.8855 GB, free: 210.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/1.138, allocations: 1.185 MB / 0.8867 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/1.139, allocations: 100.8 kB / 0.8868 GB, free: 210.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/1.139, allocations: 0 / 0.8868 GB, free: 210.2 MB / 0.67 GB Notification: Performance of Templates: time 0.04093/1.18, allocations: 21.91 MB / 0.9082 GB, free: 207.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