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.001246/0.001246, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001136/0.001136, allocations: 187 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.17 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.306/2.306, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8347, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2701/1.105, allocations: 237.6 MB / 1.321 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02279/1.128, allocations: 15.79 MB / 1.336 GB, free: 88 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/1.131, allocations: 59.69 kB / 1.336 GB, free: 28 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/1.134, allocations: 1.072 MB / 1.337 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008869/1.143, allocations: 3.111 MB / 1.34 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004824/1.148, allocations: 1.7 MB / 1.342 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005485/1.153, allocations: 3.442 MB / 1.345 GB, free: 6.684 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/1.156, allocations: 1.291 MB / 1.346 GB, free: 5.359 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/1.162, allocations: 2.57 MB / 1.349 GB, free: 2.793 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/1.165, allocations: 1.08 MB / 1.35 GB, free: 1.719 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004109/1.166, allocations: 116 kB / 1.35 GB, free: 1.605 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006721/1.172, allocations: 3.11 MB / 1.353 GB, free: 14.49 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007947/1.173, allocations: 474.5 kB / 1.354 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.175, allocations: 0.8123 MB / 1.354 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006693/1.181, allocations: 2.968 MB / 1.357 GB, free: 10.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.181, allocations: 0 / 1.357 GB, free: 10.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.084e-06/1.181, allocations: 0 / 1.357 GB, free: 10.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.025e-05/1.181, allocations: 0 / 1.357 GB, free: 10.23 MB / 1.092 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.00423/1.186, allocations: 1.993 MB / 1.359 GB, free: 8.184 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.186, allocations: 16.03 kB / 1.359 GB, free: 8.168 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/1.189, allocations: 0.4975 MB / 1.36 GB, free: 7.668 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.191, allocations: 1.172 MB / 1.361 GB, free: 6.438 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.191, allocations: 78 kB / 1.361 GB, free: 6.363 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/1.191, allocations: 96 kB / 1.361 GB, free: 6.27 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/1.194, allocations: 1.354 MB / 1.362 GB, free: 4.793 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/1.194, allocations: 4 kB / 1.362 GB, free: 4.789 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.194, allocations: 43.94 kB / 1.362 GB, free: 4.746 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/1.194, allocations: 49.98 kB / 1.362 GB, free: 4.699 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/1.197, allocations: 1.05 MB / 1.364 GB, free: 3.645 MB / 1.092 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.009261/1.206, allocations: 7.387 MB / 1.371 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.208, allocations: 0.5425 MB / 1.371 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/1.208, allocations: 261.2 kB / 1.371 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/1.209, allocations: 287.6 kB / 1.372 GB, free: 10.64 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.209, allocations: 34.84 kB / 1.372 GB, free: 10.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/1.209, allocations: 0 / 1.372 GB, free: 10.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002647/1.212, allocations: 0.8361 MB / 1.373 GB, free: 9.75 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.212, allocations: 55.41 kB / 1.373 GB, free: 9.684 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/1.214, allocations: 1.395 MB / 1.374 GB, free: 8.277 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.214, allocations: 33.7 kB / 1.374 GB, free: 8.238 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/1.215, allocations: 0.7064 MB / 1.375 GB, free: 7.527 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.215, allocations: 110.5 kB / 1.375 GB, free: 7.418 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/1.215, allocations: 166.3 kB / 1.375 GB, free: 7.25 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.215, allocations: 337.9 kB / 1.375 GB, free: 6.914 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/1.216, allocations: 320.5 kB / 1.376 GB, free: 6.598 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.217, allocations: 0.6814 MB / 1.376 GB, free: 5.738 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.219, allocations: 0.9331 MB / 1.377 GB, free: 4.645 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.219, allocations: 11.94 kB / 1.377 GB, free: 4.633 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002566/1.222, allocations: 1.047 MB / 1.378 GB, free: 3.578 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.222, allocations: 8.938 kB / 1.378 GB, free: 3.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.222, allocations: 15.98 kB / 1.378 GB, free: 3.555 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/1.222, allocations: 16 kB / 1.378 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/1.223, allocations: 199.7 kB / 1.378 GB, free: 3.344 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/1.223, allocations: 23.92 kB / 1.379 GB, free: 3.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/1.224, allocations: 182.7 kB / 1.379 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/1.224, allocations: 47.98 kB / 1.379 GB, free: 3.094 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/1.226, allocations: 0.5643 MB / 1.379 GB, free: 2.523 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/1.227, allocations: 0.6852 MB / 1.38 GB, free: 1.66 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001723/1.229, allocations: 0.9253 MB / 1.381 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/1.229, allocations: 7.984 kB / 1.381 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002453/1.231, allocations: 1.055 MB / 1.382 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.231, allocations: 9.719 kB / 1.382 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.231, allocations: 12 kB / 1.382 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.231, allocations: 19.94 kB / 1.382 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/1.232, allocations: 199.9 kB / 1.382 GB, free: 15.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/1.232, allocations: 23.92 kB / 1.382 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.233, allocations: 127.5 kB / 1.382 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/1.233, allocations: 44 kB / 1.382 GB, free: 15.07 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002594/1.234, allocations: 239.8 kB / 1.383 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/1.234, allocations: 146.2 kB / 1.383 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.236, allocations: 0.6326 MB / 1.383 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.236, allocations: 4 kB / 1.383 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.236, allocations: 0 / 1.383 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/1.236, allocations: 7.922 kB / 1.383 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.239, allocations: 1.898 MB / 1.385 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.239, allocations: 7.938 kB / 1.385 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/1.24, allocations: 92.08 kB / 1.385 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.24, allocations: 4.094 kB / 1.385 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/1.24, allocations: 15.98 kB / 1.385 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/1.24, allocations: 8 kB / 1.385 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.24, allocations: 11.92 kB / 1.385 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/1.242, allocations: 0.7956 MB / 1.386 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/1.242, allocations: 303.1 kB / 1.386 GB, free: 10.7 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003338/1.243, allocations: 15.98 kB / 1.386 GB, free: 10.69 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.244, allocations: 67.92 kB / 1.386 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/1.244, allocations: 35.84 kB / 1.386 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/1.244, allocations: 23.98 kB / 1.386 GB, free: 10.56 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001755/1.246, allocations: 1.005 MB / 1.387 GB, free: 9.562 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.1e-07/1.246, allocations: 0 / 1.387 GB, free: 9.562 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002163/1.248, allocations: 0.5774 MB / 1.388 GB, free: 8.984 MB / 1.123 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.0007256/1.249, allocations: 264.5 kB / 1.388 GB, free: 8.727 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.252, allocations: 1.133 MB / 1.389 GB, free: 7.598 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.252, allocations: 0 / 1.389 GB, free: 7.598 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/1.252, allocations: 256.1 kB / 1.39 GB, free: 7.348 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.256, allocations: 0.7398 MB / 1.39 GB, free: 6.617 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/1.261, allocations: 2.296 MB / 1.393 GB, free: 4.238 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/1.262, allocations: 1.179 MB / 1.394 GB, free: 3.031 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/1.263, allocations: 103.4 kB / 1.394 GB, free: 2.93 MB / 1.123 GB Notification: Performance of SimCode: time 5.91e-07/1.263, allocations: 4 kB / 1.394 GB, free: 2.926 MB / 1.123 GB Notification: Performance of Templates: time 0.03395/1.297, allocations: 22.15 MB / 1.415 GB, free: 12.96 MB / 1.154 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++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 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:4754: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: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1