Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001351/0.001351, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.00136/0.00136, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 296.9 kB / 291.3 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8989/0.8989, allocations: 169.3 MB / 0.4988 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 98.81 kB / 0.5959 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1648, allocations: 86.97 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.518/0.6829, allocations: 237.5 MB / 0.9128 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.7029, allocations: 15.77 MB / 0.9282 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.7052, allocations: 63.62 kB / 0.9283 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.708, allocations: 1.037 MB / 0.9293 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008521/0.7165, allocations: 2.981 MB / 0.9322 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.7212, allocations: 1.667 MB / 0.9338 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.726, allocations: 3.434 MB / 0.9372 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.7281, allocations: 1.283 MB / 0.9384 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006494/0.7346, allocations: 2.498 MB / 0.9409 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.737, allocations: 1.075 MB / 0.9419 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004826/0.7375, allocations: 116 kB / 0.942 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006334/0.7439, allocations: 3.098 MB / 0.945 GB, free: 52 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008953/0.7448, allocations: 478.5 kB / 0.9455 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.7466, allocations: 0.8084 MB / 0.9463 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006148/0.7528, allocations: 2.949 MB / 0.9492 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7528, allocations: 0 / 0.9492 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7528, allocations: 0 / 0.9492 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.204e-05/0.7529, allocations: 0 / 0.9492 GB, free: 11.81 MB / 0.7169 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.004468/0.7574, allocations: 2.006 MB / 0.9511 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7574, allocations: 11.97 kB / 0.9511 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.7603, allocations: 0.4976 MB / 0.9516 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.7628, allocations: 1.11 MB / 0.9527 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009193/0.7637, allocations: 237.8 kB / 0.9529 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7639, allocations: 104 kB / 0.953 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.7665, allocations: 1.365 MB / 0.9544 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.7666, allocations: 7.938 kB / 0.9544 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7667, allocations: 47.98 kB / 0.9544 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.7668, allocations: 42 kB / 0.9545 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.7694, allocations: 1.081 MB / 0.9555 GB, free: 5.074 MB / 0.7169 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.2816/1.051, allocations: 7.435 MB / 0.9628 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.053, allocations: 0.5643 MB / 0.9633 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/1.053, allocations: 276.6 kB / 0.9636 GB, free: 247 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/1.054, allocations: 283.4 kB / 0.9639 GB, free: 246.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.054, allocations: 36.69 kB / 0.9639 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/1.054, allocations: 0 / 0.9639 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002646/1.057, allocations: 0.8679 MB / 0.9647 GB, free: 246.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.057, allocations: 55.92 kB / 0.9648 GB, free: 246.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/1.059, allocations: 1.397 MB / 0.9662 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/1.059, allocations: 33.86 kB / 0.9662 GB, free: 246.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/1.059, allocations: 0.702 MB / 0.9669 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/1.059, allocations: 126.8 kB / 0.967 GB, free: 245.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.06, allocations: 166.8 kB / 0.9672 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/1.06, allocations: 334.3 kB / 0.9675 GB, free: 245.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/1.061, allocations: 325.5 kB / 0.9678 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.062, allocations: 0.6994 MB / 0.9685 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/1.063, allocations: 0.9509 MB / 0.9694 GB, free: 244 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/1.064, allocations: 6.625 kB / 0.9694 GB, free: 244 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002651/1.066, allocations: 1.079 MB / 0.9705 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.066, allocations: 13.12 kB / 0.9705 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.066, allocations: 11.66 kB / 0.9705 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/1.066, allocations: 17.48 kB / 0.9705 GB, free: 243.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/1.067, allocations: 212.4 kB / 0.9707 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/1.067, allocations: 22.66 kB / 0.9707 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.069, allocations: 197.2 kB / 0.9709 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/1.069, allocations: 46.67 kB / 0.971 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00131/1.07, allocations: 0.5822 MB / 0.9715 GB, free: 243.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/1.071, allocations: 0.6964 MB / 0.9722 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/1.073, allocations: 0.9551 MB / 0.9731 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.742e-06/1.073, allocations: 2.938 kB / 0.9731 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002576/1.075, allocations: 1.073 MB / 0.9742 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.075, allocations: 10.66 kB / 0.9742 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.075, allocations: 15.62 kB / 0.9742 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.075, allocations: 16.62 kB / 0.9742 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/1.076, allocations: 210.2 kB / 0.9744 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/1.076, allocations: 26.45 kB / 0.9745 GB, free: 241.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.078, allocations: 140.7 kB / 0.9746 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.078, allocations: 44.23 kB / 0.9746 GB, free: 241.6 MB / 0.7169 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.0002652/1.078, allocations: 237.1 kB / 0.9749 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/1.078, allocations: 141.2 kB / 0.975 GB, free: 241.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.08, allocations: 0.6642 MB / 0.9756 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.08, allocations: 3.094 kB / 0.9756 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.08, allocations: 0.6562 kB / 0.9756 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.08, allocations: 3.562 kB / 0.9756 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/1.084, allocations: 1.925 MB / 0.9775 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.084, allocations: 3.562 kB / 0.9775 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/1.084, allocations: 99.78 kB / 0.9776 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.084, allocations: 5.344 kB / 0.9776 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/1.084, allocations: 13.59 kB / 0.9776 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/1.084, allocations: 9.531 kB / 0.9777 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.084, allocations: 4.875 kB / 0.9777 GB, free: 240.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.086, allocations: 0.8225 MB / 0.9785 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/1.086, allocations: 292.5 kB / 0.9787 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/1.087, allocations: 10.59 kB / 0.9787 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.088, allocations: 81.81 kB / 0.9788 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/1.088, allocations: 38.14 kB / 0.9789 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/1.088, allocations: 19.88 kB / 0.9789 GB, free: 239.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00155/1.089, allocations: 1.015 MB / 0.9799 GB, free: 239 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 0.9799 GB, free: 239 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00192/1.091, allocations: 0.577 MB / 0.9804 GB, free: 238.9 MB / 0.7169 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.0005691/1.092, allocations: 267.7 kB / 0.9807 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003151/1.095, allocations: 1.181 MB / 0.9818 GB, free: 238.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.095, allocations: 1.281 kB / 0.9818 GB, free: 238.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/1.096, allocations: 267.9 kB / 0.9821 GB, free: 238.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.099, allocations: 0.7525 MB / 0.9828 GB, free: 238.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/1.104, allocations: 2.347 MB / 0.9851 GB, free: 237 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/1.104, allocations: 1.171 MB / 0.9863 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.105, allocations: 105.6 kB / 0.9864 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.105, allocations: 0 / 0.9864 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.03124/1.136, allocations: 22.04 MB / 1.008 GB, free: 226.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.cpp In file included from OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.cpp:29: ./OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4Initialize.cpp:4754: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: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4CalcHelperMain.o] Error 1