Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.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.001449/0.001449, allocations: 109.2 kB / 15.99 MB, free: 6.359 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.001456/0.001456, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.52 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7363/1.006, allocations: 234.7 MB / 1.179 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02248/1.028, allocations: 15.69 MB / 1.194 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/1.033, allocations: 60.28 kB / 1.194 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003586/1.036, allocations: 0.9177 MB / 1.195 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00927/1.046, allocations: 2.794 MB / 1.198 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/1.051, allocations: 1.54 MB / 1.199 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005715/1.056, allocations: 3.448 MB / 1.203 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.059, allocations: 1.242 MB / 1.204 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007448/1.066, allocations: 2.49 MB / 1.206 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/1.069, allocations: 1.14 MB / 1.208 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/1.069, allocations: 120.4 kB / 1.208 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006301/1.076, allocations: 3.262 MB / 1.211 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007923/1.076, allocations: 484.2 kB / 1.211 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001704/1.078, allocations: 0.8122 MB / 1.212 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003928/1.082, allocations: 2.214 MB / 1.214 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.082, allocations: 4 kB / 1.214 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.565e-06/1.082, allocations: 0 / 1.214 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.294e-05/1.082, allocations: 0 / 1.214 GB, free: 10.78 MB / 0.8887 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.003706/1.086, allocations: 2 MB / 1.216 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.086, allocations: 10.78 kB / 1.216 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/1.089, allocations: 0.4974 MB / 1.217 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/1.091, allocations: 1.11 MB / 1.218 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008714/1.092, allocations: 243.1 kB / 1.218 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.092, allocations: 98.38 kB / 1.218 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/1.095, allocations: 1.32 MB / 1.219 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.095, allocations: 7.938 kB / 1.219 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.095, allocations: 44.84 kB / 1.219 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/1.095, allocations: 39.38 kB / 1.22 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/1.097, allocations: 1.072 MB / 1.221 GB, free: 6.594 MB / 0.8887 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.007996/1.105, allocations: 6.641 MB / 1.227 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.107, allocations: 0.575 MB / 1.228 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/1.108, allocations: 268.4 kB / 1.228 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/1.108, allocations: 286.6 kB / 1.228 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.108, allocations: 41.75 kB / 1.228 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 3.687e-06/1.108, allocations: 0 / 1.228 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.00265/1.111, allocations: 0.86 MB / 1.229 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.111, allocations: 53.81 kB / 1.229 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/1.113, allocations: 1.361 MB / 1.23 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.74e-05/1.113, allocations: 32.42 kB / 1.23 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/1.114, allocations: 0.6882 MB / 1.231 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.114, allocations: 123.8 kB / 1.231 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/1.114, allocations: 142.6 kB / 1.231 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.114, allocations: 333.1 kB / 1.232 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/1.115, allocations: 322.5 kB / 1.232 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.116, allocations: 0.6248 MB / 1.233 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.118, allocations: 0.8519 MB / 1.233 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.118, allocations: 6.719 kB / 1.233 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002456/1.12, allocations: 0.9968 MB / 1.234 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.12, allocations: 14.69 kB / 1.234 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.12, allocations: 9.844 kB / 1.234 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.12, allocations: 12.75 kB / 1.234 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/1.121, allocations: 189.8 kB / 1.235 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/1.121, allocations: 20.23 kB / 1.235 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.123, allocations: 209.5 kB / 1.235 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/1.123, allocations: 40.52 kB / 1.235 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/1.124, allocations: 0.5691 MB / 1.235 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00105/1.125, allocations: 0.6225 MB / 1.236 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001752/1.127, allocations: 0.8525 MB / 1.237 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.199e-05/1.127, allocations: 2.562 kB / 1.237 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002544/1.13, allocations: 1.004 MB / 1.238 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.13, allocations: 7.375 kB / 1.238 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.13, allocations: 9.531 kB / 1.238 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.13, allocations: 15.56 kB / 1.238 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/1.131, allocations: 188.1 kB / 1.238 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/1.131, allocations: 27.3 kB / 1.238 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.132, allocations: 155.4 kB / 1.238 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/1.132, allocations: 38.3 kB / 1.238 GB, free: 9.199 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0002867/1.133, allocations: 230.6 kB / 1.239 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/1.133, allocations: 135.6 kB / 1.239 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.135, allocations: 0.6625 MB / 1.239 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.135, allocations: 4 kB / 1.239 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.135, allocations: 0 / 1.239 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.135, allocations: 3.938 kB / 1.239 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/1.139, allocations: 1.936 MB / 1.241 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/1.139, allocations: 4 kB / 1.241 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/1.139, allocations: 100.1 kB / 1.241 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.139, allocations: 4 kB / 1.241 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/1.139, allocations: 12 kB / 1.241 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/1.139, allocations: 15.98 kB / 1.241 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.139, allocations: 7.938 kB / 1.241 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/1.141, allocations: 0.8149 MB / 1.242 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/1.142, allocations: 299.2 kB / 1.242 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/1.142, allocations: 11.98 kB / 1.242 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.143, allocations: 99.83 kB / 1.243 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/1.143, allocations: 39.84 kB / 1.243 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/1.143, allocations: 15.98 kB / 1.243 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001673/1.145, allocations: 0.9964 MB / 1.244 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/1.145, allocations: 0 / 1.244 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002258/1.147, allocations: 0.5694 MB / 1.244 GB, free: 3.195 MB / 0.9044 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.0007174/1.148, allocations: 264.2 kB / 1.244 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003011/1.151, allocations: 1.108 MB / 1.245 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.151, allocations: 0 / 1.245 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007907/1.152, allocations: 269.4 kB / 1.246 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.156, allocations: 0.7361 MB / 1.246 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/1.161, allocations: 2.745 MB / 1.249 GB, free: 14.01 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/1.162, allocations: 1.179 MB / 1.25 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/1.163, allocations: 99.41 kB / 1.25 GB, free: 12.7 MB / 0.92 GB Notification: Performance of SimCode: time 8.01e-07/1.163, allocations: 0 / 1.25 GB, free: 12.7 MB / 0.92 GB Notification: Performance of Templates: time 0.03453/1.197, allocations: 21.81 MB / 1.272 GB, free: 7.074 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4574: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); ^ 1 error generated. make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1