Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 177.7 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 86.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 9.375 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5422/0.6998, allocations: 232.6 MB / 1.129 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.7159, allocations: 15.75 MB / 1.144 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.7181, allocations: 50.94 kB / 1.144 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.7207, allocations: 0.8733 MB / 1.145 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/0.7284, allocations: 2.99 MB / 1.148 GB, free: 356 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.7322, allocations: 1.521 MB / 1.149 GB, free: 288 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006956/0.7392, allocations: 4.649 MB / 1.154 GB, free: 276 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.7412, allocations: 1.037 MB / 1.155 GB, free: 100 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.7473, allocations: 2.054 MB / 1.157 GB, free: 44 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.7507, allocations: 1.128 MB / 1.158 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.7509, allocations: 49.59 kB / 1.158 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006311/0.7573, allocations: 3.577 MB / 1.161 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000608/0.7579, allocations: 403.7 kB / 1.162 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.7591, allocations: 0.7518 MB / 1.163 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.7622, allocations: 2.15 MB / 1.165 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7622, allocations: 0 / 1.165 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7622, allocations: 0 / 1.165 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.7622, allocations: 0 / 1.165 GB, free: 12.95 MB / 0.7136 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.00315/0.7654, allocations: 1.718 MB / 1.166 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.7654, allocations: 9.406 kB / 1.166 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.7679, allocations: 0.5232 MB / 1.167 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.77, allocations: 1.122 MB / 1.168 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008546/0.7708, allocations: 271.9 kB / 1.168 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.771, allocations: 98.91 kB / 1.168 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7732, allocations: 1.336 MB / 1.17 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.7732, allocations: 8.281 kB / 1.17 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.7733, allocations: 44.06 kB / 1.17 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.7734, allocations: 40.25 kB / 1.17 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.7758, allocations: 1.124 MB / 1.171 GB, free: 9.055 MB / 0.7136 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.007504/0.7833, allocations: 6.737 MB / 1.177 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.7849, allocations: 0.6019 MB / 1.178 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.7855, allocations: 284.7 kB / 1.178 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/0.7859, allocations: 282.2 kB / 1.179 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.786, allocations: 40.81 kB / 1.179 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/0.786, allocations: 0 / 1.179 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002621/0.7886, allocations: 0.9031 MB / 1.179 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.7887, allocations: 54.81 kB / 1.18 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.7904, allocations: 1.359 MB / 1.181 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.7905, allocations: 39.55 kB / 1.181 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.791, allocations: 0.6869 MB / 1.182 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.7911, allocations: 126.4 kB / 1.182 GB, free: 404 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.7912, allocations: 15.06 kB / 1.182 GB, free: 392 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7913, allocations: 334.3 kB / 1.182 GB, free: 56 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.7921, allocations: 331.1 kB / 1.182 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.7932, allocations: 0.6738 MB / 1.183 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.7949, allocations: 0.8971 MB / 1.184 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7949, allocations: 3.438 kB / 1.184 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002254/0.7971, allocations: 1.057 MB / 1.185 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/0.7974, allocations: 372 kB / 1.185 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.7974, allocations: 8.562 kB / 1.185 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.7974, allocations: 17.25 kB / 1.185 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.7983, allocations: 204.3 kB / 1.185 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/0.7983, allocations: 30.5 kB / 1.185 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.7998, allocations: 230.7 kB / 1.186 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.7999, allocations: 39.98 kB / 1.186 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.7999, allocations: 6.188 kB / 1.186 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002047/0.802, allocations: 0.9038 MB / 1.187 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.802, allocations: 12 kB / 1.187 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.802, allocations: 12 kB / 1.187 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.8028, allocations: 209.2 kB / 1.187 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.8028, allocations: 18.52 kB / 1.187 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.8042, allocations: 205.6 kB / 1.187 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.8042, allocations: 39.98 kB / 1.187 GB, free: 12.05 MB / 0.7292 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.0006791/0.8049, allocations: 415.1 kB / 1.188 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.8052, allocations: 134.3 kB / 1.188 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.8068, allocations: 0.6862 MB / 1.188 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.8069, allocations: 4.188 kB / 1.188 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8069, allocations: 0 / 1.188 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8069, allocations: 3.984 kB / 1.188 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.8105, allocations: 1.969 MB / 1.19 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8105, allocations: 8.031 kB / 1.19 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.811, allocations: 103.6 kB / 1.19 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.811, allocations: 4 kB / 1.19 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.8111, allocations: 15.98 kB / 1.19 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.8111, allocations: 4 kB / 1.19 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8111, allocations: 6.25 kB / 1.19 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.8126, allocations: 0.8559 MB / 1.191 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.8132, allocations: 295.1 kB / 1.191 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.8134, allocations: 19.92 kB / 1.192 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8144, allocations: 111.8 kB / 1.192 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.8145, allocations: 39.38 kB / 1.192 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.8146, allocations: 23.97 kB / 1.192 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001404/0.816, allocations: 0.9923 MB / 1.193 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.816, allocations: 0 / 1.193 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00178/0.8178, allocations: 0.5655 MB / 1.193 GB, free: 5.656 MB / 0.7292 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.000569/0.8184, allocations: 256.3 kB / 1.193 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002837/0.8212, allocations: 1.166 MB / 1.195 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8212, allocations: 0 / 1.195 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.8219, allocations: 276.3 kB / 1.195 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/0.8263, allocations: 0.7707 MB / 1.196 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.8313, allocations: 2.779 MB / 1.198 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.8321, allocations: 1.175 MB / 1.199 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.8326, allocations: 111.4 kB / 1.2 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.8326, allocations: 0 / 1.2 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.03072/0.8633, allocations: 21.6 MB / 1.221 GB, free: 9.699 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile clang++ -std=c++14 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4608: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/9/../../../../include/c++/9/bits/algorithmfwd.h:370: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/9/../../../../include/c++/9/bits/stl_algo.h:3468:5: note: candidate template ignored: could not match 'initializer_list' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462: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/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4Initialize.cpp:4629: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/9/../../../../include/c++/9/bits/algorithmfwd.h:370: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/9/../../../../include/c++/9/bits/stl_algo.h:3468:5: note: candidate template ignored: could not match 'initializer_list' against 'int' max(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algo.h:3462: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/9/../../../../include/c++/9/bits/algorithmfwd.h:375:5: note: candidate function not viable: requires 3 arguments, but 2 were provided max(const _Tp&, const _Tp&, _Compare); ^ 2 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1