Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009932/0.0009934, allocations: 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.0009584/0.0009587, allocations: 177.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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143.2 MB / 435.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003476, allocations: 11.98 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 83.41 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4): time 0.5444/0.7143, allocations: 232.4 MB / 0.8254 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.7356, allocations: 15.77 MB / 0.8408 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.7381, allocations: 55.62 kB / 0.8409 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.741, allocations: 0.8627 MB / 0.8417 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008114/0.7491, allocations: 2.79 MB / 0.8444 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.7536, allocations: 1.525 MB / 0.8459 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006305/0.7599, allocations: 4.652 MB / 0.8505 GB, free: 9.859 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.7618, allocations: 1.04 MB / 0.8515 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/0.7688, allocations: 2.209 MB / 0.8536 GB, free: 6.582 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.7718, allocations: 1.085 MB / 0.8547 GB, free: 5.508 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.7721, allocations: 44 kB / 0.8547 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006861/0.7789, allocations: 3.573 MB / 0.8582 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.7797, allocations: 402.5 kB / 0.8586 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.7809, allocations: 0.7476 MB / 0.8594 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.4187/1.2, allocations: 2.239 MB / 0.8615 GB, free: 12.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.2, allocations: 0 / 0.8615 GB, free: 12.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.206e-06/1.2, allocations: 0 / 0.8615 GB, free: 12.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.077e-05/1.2, allocations: 0 / 0.8615 GB, free: 12.27 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.003265/1.203, allocations: 1.721 MB / 0.8632 GB, free: 11.47 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.203, allocations: 10.59 kB / 0.8632 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002754/1.206, allocations: 0.5431 MB / 0.8638 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/1.208, allocations: 1.113 MB / 0.8648 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009038/1.209, allocations: 276.5 kB / 0.8651 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/1.209, allocations: 101.1 kB / 0.8652 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.211, allocations: 1.335 MB / 0.8665 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.211, allocations: 7.125 kB / 0.8665 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/1.211, allocations: 45.8 kB / 0.8666 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/1.211, allocations: 45.3 kB / 0.8666 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/1.214, allocations: 1.111 MB / 0.8677 GB, free: 10.65 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.00713/1.221, allocations: 6.655 MB / 0.8742 GB, free: 22.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/1.223, allocations: 0.6033 MB / 0.8748 GB, free: 22.45 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/1.223, allocations: 293 kB / 0.8751 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/1.224, allocations: 280.5 kB / 0.8753 GB, free: 22.15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.224, allocations: 43.16 kB / 0.8754 GB, free: 22.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/1.224, allocations: 4 kB / 0.8754 GB, free: 22.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.002443/1.226, allocations: 0.9069 MB / 0.8763 GB, free: 21.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/1.226, allocations: 59.72 kB / 0.8763 GB, free: 21.91 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/1.228, allocations: 1.366 MB / 0.8776 GB, free: 21.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/1.228, allocations: 39.61 kB / 0.8777 GB, free: 21.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/1.229, allocations: 0.6779 MB / 0.8783 GB, free: 21.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.797e-05/1.229, allocations: 120.2 kB / 0.8785 GB, free: 21.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/1.229, allocations: 58.02 kB / 0.8785 GB, free: 21.36 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.229, allocations: 336.2 kB / 0.8788 GB, free: 21.05 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008204/1.23, allocations: 334.2 kB / 0.8792 GB, free: 21.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/1.231, allocations: 0.6522 MB / 0.8798 GB, free: 20.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.232, allocations: 0.9034 MB / 0.8807 GB, free: 20.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.232, allocations: 2.281 kB / 0.8807 GB, free: 20.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002454/1.235, allocations: 1.055 MB / 0.8817 GB, free: 20.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/1.235, allocations: 377.2 kB / 0.8821 GB, free: 19.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.235, allocations: 8.125 kB / 0.8821 GB, free: 19.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/1.235, allocations: 14.09 kB / 0.8821 GB, free: 19.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/1.236, allocations: 214 kB / 0.8823 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.236, allocations: 26.02 kB / 0.8823 GB, free: 19.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.238, allocations: 230.9 kB / 0.8825 GB, free: 19.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/1.238, allocations: 38.67 kB / 0.8826 GB, free: 19.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/1.238, allocations: 1.688 kB / 0.8826 GB, free: 19.62 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/1.24, allocations: 0.9099 MB / 0.8835 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.24, allocations: 10.22 kB / 0.8835 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/1.24, allocations: 12.62 kB / 0.8835 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000773/1.241, allocations: 215.2 kB / 0.8837 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/1.241, allocations: 16.36 kB / 0.8837 GB, free: 19.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.242, allocations: 202.1 kB / 0.8839 GB, free: 19.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/1.242, allocations: 42.23 kB / 0.8839 GB, free: 19.53 MB / 0.6856 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.0007191/1.243, allocations: 419.2 kB / 0.8843 GB, free: 19.33 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/1.243, allocations: 138.1 kB / 0.8845 GB, free: 19.26 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/1.245, allocations: 0.6852 MB / 0.8851 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.245, allocations: 3.781 kB / 0.8851 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.245, allocations: 2.391 kB / 0.8851 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.245, allocations: 4.875 kB / 0.8851 GB, free: 19.17 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.249, allocations: 1.969 MB / 0.8871 GB, free: 18.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.249, allocations: 3.688 kB / 0.8871 GB, free: 18.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005528/1.249, allocations: 104.9 kB / 0.8872 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.249, allocations: 4.281 kB / 0.8872 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/1.249, allocations: 13.67 kB / 0.8872 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.249, allocations: 7.25 kB / 0.8872 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.249, allocations: 7.031 kB / 0.8872 GB, free: 18.67 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/1.251, allocations: 0.8578 MB / 0.888 GB, free: 18.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006208/1.252, allocations: 293.2 kB / 0.8883 GB, free: 18.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.252, allocations: 13.38 kB / 0.8883 GB, free: 18.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.253, allocations: 111.7 kB / 0.8884 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/1.253, allocations: 37.27 kB / 0.8885 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/1.253, allocations: 23.47 kB / 0.8885 GB, free: 18.11 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001704/1.255, allocations: 0.9899 MB / 0.8895 GB, free: 18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/1.255, allocations: 0.9688 kB / 0.8895 GB, free: 18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002015/1.257, allocations: 0.5758 MB / 0.89 GB, free: 17.95 MB / 0.6856 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.0006293/1.258, allocations: 271.5 kB / 0.8903 GB, free: 17.83 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003215/1.261, allocations: 1.158 MB / 0.8914 GB, free: 17.79 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/1.261, allocations: 8.203 kB / 0.8914 GB, free: 17.79 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/1.262, allocations: 275.2 kB / 0.8917 GB, free: 17.78 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.267, allocations: 0.7754 MB / 0.8924 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/1.273, allocations: 2.784 MB / 0.8952 GB, free: 16.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/1.274, allocations: 1.178 MB / 0.8963 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.274, allocations: 106.9 kB / 0.8964 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/1.274, allocations: 1.094 kB / 0.8964 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.03807/1.312, allocations: 21.78 MB / 0.9177 GB, free: 11.22 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4Initialize.cpp:4587: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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4Initialize.cpp:4608: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: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1