Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001522/0.001522, allocations: 100.1 kB / 15.88 MB, free: 12 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.002024/0.002024, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.627/2.627, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 70.28 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8435/1.135, allocations: 235.4 MB / 1.283 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02265/1.157, allocations: 15.93 MB / 1.298 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/1.161, allocations: 56.69 kB / 1.298 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003299/1.164, allocations: 0.8705 MB / 1.299 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008797/1.173, allocations: 2.803 MB / 1.302 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004951/1.178, allocations: 1.518 MB / 1.303 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006044/1.184, allocations: 4.648 MB / 1.308 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/1.186, allocations: 1.077 MB / 1.309 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007334/1.194, allocations: 2.256 MB / 1.311 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/1.197, allocations: 1.118 MB / 1.312 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005349/1.198, allocations: 63.72 kB / 1.312 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007463/1.205, allocations: 3.6 MB / 1.316 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009586/1.206, allocations: 425.7 kB / 1.316 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002021/1.208, allocations: 0.754 MB / 1.317 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/1.212, allocations: 2.182 MB / 1.319 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.212, allocations: 0 / 1.319 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/1.212, allocations: 5 kB / 1.319 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001213/1.213, allocations: 0 / 1.319 GB, free: 0.6602 MB / 0.9981 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.005826/1.218, allocations: 2.003 MB / 1.321 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.219, allocations: 13.56 kB / 1.321 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/1.222, allocations: 0.4989 MB / 1.322 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/1.224, allocations: 1.11 MB / 1.323 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009269/1.225, allocations: 246.3 kB / 1.323 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/1.226, allocations: 95.19 kB / 1.323 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/1.228, allocations: 1.319 MB / 1.324 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/1.229, allocations: 9.172 kB / 1.324 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.229, allocations: 41.66 kB / 1.324 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/1.229, allocations: 43.45 kB / 1.324 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/1.231, allocations: 1.079 MB / 1.325 GB, free: 14.77 MB / 1.014 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.008128/1.239, allocations: 6.626 MB / 1.332 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.241, allocations: 0.5628 MB / 1.332 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/1.242, allocations: 278.2 kB / 1.333 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/1.242, allocations: 280 kB / 1.333 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.242, allocations: 40.09 kB / 1.333 GB, free: 10.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/1.242, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002484/1.245, allocations: 0.8615 MB / 1.334 GB, free: 10.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/1.245, allocations: 60.03 kB / 1.334 GB, free: 9.988 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/1.247, allocations: 1.359 MB / 1.335 GB, free: 9.816 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.568e-05/1.247, allocations: 34.52 kB / 1.335 GB, free: 9.785 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/1.247, allocations: 0.6887 MB / 1.336 GB, free: 9.531 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/1.247, allocations: 114 kB / 1.336 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.248, allocations: 153.2 kB / 1.336 GB, free: 9.434 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.248, allocations: 328.5 kB / 1.336 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/1.249, allocations: 315.5 kB / 1.337 GB, free: 9.105 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.25, allocations: 0.6232 MB / 1.337 GB, free: 8.707 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/1.251, allocations: 0.8565 MB / 1.338 GB, free: 8.344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.251, allocations: 2.438 kB / 1.338 GB, free: 8.344 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002455/1.254, allocations: 1 MB / 1.339 GB, free: 8.211 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.254, allocations: 10.31 kB / 1.339 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.254, allocations: 11.14 kB / 1.339 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.254, allocations: 15.38 kB / 1.339 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/1.255, allocations: 192.1 kB / 1.339 GB, free: 8.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/1.255, allocations: 23.75 kB / 1.339 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.257, allocations: 212.6 kB / 1.34 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/1.257, allocations: 39.09 kB / 1.34 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/1.258, allocations: 0.5618 MB / 1.34 GB, free: 8.047 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009929/1.259, allocations: 0.6292 MB / 1.341 GB, free: 7.645 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.261, allocations: 0.847 MB / 1.342 GB, free: 7.281 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.261, allocations: 3.438 kB / 1.342 GB, free: 7.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002449/1.263, allocations: 0.9921 MB / 1.343 GB, free: 7.156 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.263, allocations: 10.12 kB / 1.343 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.263, allocations: 15 kB / 1.343 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.263, allocations: 13.03 kB / 1.343 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/1.264, allocations: 188.3 kB / 1.343 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.264, allocations: 21.19 kB / 1.343 GB, free: 7.148 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.265, allocations: 160.5 kB / 1.343 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/1.266, allocations: 35.27 kB / 1.343 GB, free: 7.117 MB / 1.014 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.0002744/1.266, allocations: 235.5 kB / 1.343 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/1.266, allocations: 141.8 kB / 1.343 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.268, allocations: 0.6582 MB / 1.344 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.268, allocations: 8.297 kB / 1.344 GB, free: 6.762 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.268, allocations: 11.94 kB / 1.344 GB, free: 6.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.268, allocations: 2.953 kB / 1.344 GB, free: 6.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/1.271, allocations: 1.934 MB / 1.346 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.271, allocations: 5.125 kB / 1.346 GB, free: 6.262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/1.272, allocations: 98.06 kB / 1.346 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.272, allocations: 4.969 kB / 1.346 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/1.272, allocations: 14.59 kB / 1.346 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/1.272, allocations: 7.438 kB / 1.346 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.272, allocations: 9.75 kB / 1.346 GB, free: 6.254 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.273, allocations: 0.8195 MB / 1.347 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/1.274, allocations: 301.2 kB / 1.347 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.274, allocations: 8.688 kB / 1.347 GB, free: 5.715 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.275, allocations: 104 kB / 1.347 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/1.275, allocations: 30.44 kB / 1.347 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/1.275, allocations: 27.08 kB / 1.347 GB, free: 5.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001284/1.277, allocations: 0.9942 MB / 1.348 GB, free: 5.582 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.277, allocations: 0 / 1.348 GB, free: 5.582 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001878/1.279, allocations: 0.5662 MB / 1.349 GB, free: 5.531 MB / 1.014 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.0005564/1.279, allocations: 268.5 kB / 1.349 GB, free: 5.398 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002632/1.282, allocations: 1.086 MB / 1.35 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.282, allocations: 0.9375 kB / 1.35 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006301/1.282, allocations: 262.9 kB / 1.35 GB, free: 5.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/1.286, allocations: 0.7408 MB / 1.351 GB, free: 5.297 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/1.291, allocations: 2.741 MB / 1.354 GB, free: 3.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006272/1.292, allocations: 1.174 MB / 1.355 GB, free: 3.152 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.292, allocations: 104.3 kB / 1.355 GB, free: 3.148 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.292, allocations: 0 / 1.355 GB, free: 3.148 MB / 1.014 GB Notification: Performance of Templates: time 0.032/1.324, allocations: 21.94 MB / 1.376 GB, free: 8.66 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_latest_Buildings.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: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1