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.001103/0.001103, allocations: 92.7 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.001596/0.001597, allocations: 177.1 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 13.41 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2958, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.9311/1.227, allocations: 232.2 MB / 1.286 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02229/1.249, allocations: 15.75 MB / 1.301 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/1.252, allocations: 52.81 kB / 1.302 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003064/1.255, allocations: 0.8684 MB / 1.302 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009124/1.265, allocations: 2.802 MB / 1.305 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005107/1.27, allocations: 1.516 MB / 1.307 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007086/1.277, allocations: 4.65 MB / 1.311 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/1.279, allocations: 1.037 MB / 1.312 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007478/1.287, allocations: 2.219 MB / 1.314 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/1.29, allocations: 1.068 MB / 1.315 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003514/1.29, allocations: 47.59 kB / 1.315 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007737/1.298, allocations: 3.576 MB / 1.319 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007663/1.299, allocations: 402.9 kB / 1.319 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001686/1.3, allocations: 0.7473 MB / 1.32 GB, free: 17.65 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/1.304, allocations: 2.154 MB / 1.322 GB, free: 17.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.304, allocations: 1.031 kB / 1.322 GB, free: 17.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/1.304, allocations: 0 / 1.322 GB, free: 17.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.818e-05/1.304, allocations: 0 / 1.322 GB, free: 17.46 MB / 1.014 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.004132/1.308, allocations: 1.714 MB / 1.324 GB, free: 16.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.308, allocations: 12.19 kB / 1.324 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/1.311, allocations: 0.543 MB / 1.324 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/1.314, allocations: 1.118 MB / 1.325 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008929/1.315, allocations: 276.7 kB / 1.326 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.315, allocations: 96.28 kB / 1.326 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/1.317, allocations: 1.344 MB / 1.327 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/1.317, allocations: 2.906 kB / 1.327 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/1.317, allocations: 49.36 kB / 1.327 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/1.317, allocations: 43.34 kB / 1.327 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/1.32, allocations: 1.118 MB / 1.328 GB, free: 15.61 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.007988/1.328, allocations: 6.645 MB / 1.335 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.329, allocations: 0.5955 MB / 1.335 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/1.33, allocations: 292 kB / 1.336 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/1.331, allocations: 286.7 kB / 1.336 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.331, allocations: 35.36 kB / 1.336 GB, free: 11.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/1.331, allocations: 0 / 1.336 GB, free: 11.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002672/1.333, allocations: 0.9097 MB / 1.337 GB, free: 10.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.333, allocations: 58.38 kB / 1.337 GB, free: 10.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.335, allocations: 1.367 MB / 1.338 GB, free: 10.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.335, allocations: 32.27 kB / 1.338 GB, free: 10.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/1.336, allocations: 0.6805 MB / 1.339 GB, free: 10.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.336, allocations: 120.2 kB / 1.339 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/1.336, allocations: 56.77 kB / 1.339 GB, free: 10.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.336, allocations: 334.8 kB / 1.339 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008311/1.337, allocations: 325.5 kB / 1.34 GB, free: 9.973 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.338, allocations: 0.6396 MB / 1.34 GB, free: 9.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/1.34, allocations: 0.8892 MB / 1.341 GB, free: 9.199 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.34, allocations: 5.094 kB / 1.341 GB, free: 9.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002629/1.343, allocations: 1.038 MB / 1.342 GB, free: 9.066 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/1.343, allocations: 370.1 kB / 1.343 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.343, allocations: 12.56 kB / 1.343 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.343, allocations: 11.91 kB / 1.343 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/1.344, allocations: 200.5 kB / 1.343 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.344, allocations: 23.84 kB / 1.343 GB, free: 8.629 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.346, allocations: 236.4 kB / 1.343 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/1.346, allocations: 39.11 kB / 1.343 GB, free: 8.555 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/1.346, allocations: 10.25 kB / 1.343 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00201/1.348, allocations: 0.875 MB / 1.344 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.348, allocations: 11.25 kB / 1.344 GB, free: 8.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.348, allocations: 26.86 kB / 1.344 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/1.348, allocations: 199.9 kB / 1.344 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.348, allocations: 22.47 kB / 1.344 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.35, allocations: 192.9 kB / 1.344 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/1.35, allocations: 35.33 kB / 1.344 GB, free: 8.457 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.000759/1.351, allocations: 421.4 kB / 1.345 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/1.351, allocations: 134.5 kB / 1.345 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.353, allocations: 0.696 MB / 1.346 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/1.353, allocations: 3.531 kB / 1.346 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.353, allocations: 0 / 1.346 GB, free: 8.094 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.353, allocations: 5.016 kB / 1.346 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/1.356, allocations: 1.966 MB / 1.348 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/1.356, allocations: 9.844 kB / 1.348 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/1.357, allocations: 108.1 kB / 1.348 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/1.357, allocations: 2.844 kB / 1.348 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/1.357, allocations: 14.84 kB / 1.348 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.357, allocations: 8.75 kB / 1.348 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.357, allocations: 9.875 kB / 1.348 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/1.359, allocations: 0.8494 MB / 1.349 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/1.359, allocations: 299.8 kB / 1.349 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.36, allocations: 10.06 kB / 1.349 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.361, allocations: 114.3 kB / 1.349 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/1.361, allocations: 34.22 kB / 1.349 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/1.361, allocations: 20.44 kB / 1.349 GB, free: 7.035 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00154/1.362, allocations: 0.9972 MB / 1.35 GB, free: 6.922 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.362, allocations: 0 / 1.35 GB, free: 6.922 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001839/1.364, allocations: 0.5732 MB / 1.351 GB, free: 6.867 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.0005816/1.365, allocations: 267.5 kB / 1.351 GB, free: 6.738 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.368, allocations: 1.138 MB / 1.352 GB, free: 6.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.368, allocations: 7.406 kB / 1.352 GB, free: 6.695 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/1.368, allocations: 282.9 kB / 1.352 GB, free: 6.688 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/1.373, allocations: 0.7757 MB / 1.353 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/1.378, allocations: 2.78 MB / 1.356 GB, free: 5.203 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/1.379, allocations: 1.178 MB / 1.357 GB, free: 4.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/1.38, allocations: 108.8 kB / 1.357 GB, free: 4.473 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.38, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.014 GB Notification: Performance of Templates: time 0.03692/1.417, allocations: 21.73 MB / 1.378 GB, free: 9.738 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