Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 217.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06439/0.06439, allocations: 11.35 MB / 324.5 MB, free: 8.262 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ProcessControl.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") translateModel(IndustrialControlSystems.Applications.ProcessControl.LevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 71.88 kB / 453.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1258, allocations: 56.06 MB / 0.4977 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.LevelControl): time 0.2546/0.3804, allocations: 22.44 MB / 0.5196 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.389, allocations: 6.63 MB / 0.526 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.3902, allocations: 51.84 kB / 0.5261 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3914, allocations: 413.9 kB / 0.5265 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.3945, allocations: 1.127 MB / 0.5276 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.3981, allocations: 1.205 MB / 0.5288 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003434/0.4015, allocations: 2.473 MB / 0.5312 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.4028, allocations: 0.6184 MB / 0.5318 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.4053, allocations: 1.037 MB / 0.5328 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.4071, allocations: 0.9022 MB / 0.5337 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.4074, allocations: 97.09 kB / 0.5338 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.4091, allocations: 0.5334 MB / 0.5343 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.4096, allocations: 380 kB / 0.5347 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.4104, allocations: 0.5871 MB / 0.5352 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.4131, allocations: 1.635 MB / 0.5368 GB, free: 5.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4131, allocations: 0 / 0.5368 GB, free: 5.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4131, allocations: 0 / 0.5368 GB, free: 5.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.4131, allocations: 0 / 0.5368 GB, free: 5.684 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003156/0.4163, allocations: 1.456 MB / 0.5383 GB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4163, allocations: 10.38 kB / 0.5383 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.4168, allocations: 144 kB / 0.5384 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4181, allocations: 0.6915 MB / 0.5391 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.4184, allocations: 349.3 kB / 0.5394 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.4185, allocations: 77.69 kB / 0.5395 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.4206, allocations: 1.27 MB / 0.5407 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.4207, allocations: 6.438 kB / 0.5407 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.4208, allocations: 40.59 kB / 0.5408 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.4209, allocations: 49.39 kB / 0.5408 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.4227, allocations: 1.012 MB / 0.5418 GB, free: 2.891 MB / 382.1 MB 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.007213/0.43, allocations: 5.96 MB / 0.5476 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4314, allocations: 0.6775 MB / 0.5483 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.4321, allocations: 368.8 kB / 0.5486 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002558/0.4347, allocations: 1.117 MB / 0.5497 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.4357, allocations: 0.5431 MB / 0.5503 GB, free: 12.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/0.4357, allocations: 0 / 0.5503 GB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=76): time 0.007241/0.4429, allocations: 2.687 MB / 0.5529 GB, free: 10.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.4431, allocations: 250.3 kB / 0.5531 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.4444, allocations: 0.832 MB / 0.5539 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.4446, allocations: 42.33 kB / 0.554 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.445, allocations: 0.5495 MB / 0.5545 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.4453, allocations: 270.1 kB / 0.5548 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.4456, allocations: 234.7 kB / 0.555 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4458, allocations: 350.5 kB / 0.5553 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000755/0.4465, allocations: 399 kB / 0.5557 GB, free: 8.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.4478, allocations: 0.892 MB / 0.5566 GB, free: 7.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.4588, allocations: 2.876 MB / 0.5594 GB, free: 5.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.4588, allocations: 5.25 kB / 0.5594 GB, free: 5.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003344/0.4621, allocations: 1.558 MB / 0.5609 GB, free: 4.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.4622, allocations: 18.25 kB / 0.5609 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4622, allocations: 21.22 kB / 0.5609 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008825/0.4631, allocations: 364.8 kB / 0.5613 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.464, allocations: 251.6 kB / 0.5615 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.4681, allocations: 4.096 MB / 0.5655 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4693, allocations: 60.02 kB / 0.5656 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4694, allocations: 63.92 kB / 0.5657 GB, free: 0.7422 MB / 398.1 MB Warning: Assuming fixed start value for the following 8 variables: PI_Level.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real PI_Level.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real sub.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer tank.level:VARIABLE(min = 0.0 start = tank.level_start_eps unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"Level height of tank\" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) \"Temperature of medium\" type: Real actuator.y:VARIABLE(flow=false min = 0.0 max = 1.0 start = actuator.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI_Level.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real div.Yfp:DISCRETE(fixed = true ) \"floating point converted output\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 27 (PI_Level.FBout,$PRE.PI_Level.FBout,$PRE.PI_Level.cs,PI_Level.cs,$PRE.PI_Level.satin,PI_Level.satin,$whenCondition1,$PRE.sub.Yfp,sub.Yfp,div.U1fp,$PRE.PI_Level.CS,sub.U1fp,tank.inFlow[3],tank.inFlow[2],tank.inFlow[1],tank.regularFlow[3],tank.regularFlow[2],tank.regularFlow[1],PI_Level.CS,PI_Level.TS_in,$PRE.div.Yfp,div.U2fp,div.Yfp,sub.U2fp,PI_Level.satLOW_in,PI_Level.satHIGH_in,PI_Level.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,7), (2,1), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007344/0.4702, allocations: 362.7 kB / 0.566 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.4704, allocations: 111.3 kB / 0.5661 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.4736, allocations: 1.441 MB / 0.5675 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.4736, allocations: 12 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4736, allocations: 0 / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4736, allocations: 3.984 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.4783, allocations: 2.292 MB / 0.5698 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4783, allocations: 0 / 0.5698 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.4789, allocations: 133 kB / 0.5699 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008264/0.4798, allocations: 344.4 kB / 0.5702 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.717e-05/0.4798, allocations: 27.98 kB / 0.5702 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.4838, allocations: 4.07 MB / 0.5742 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4838, allocations: 3.938 kB / 0.5742 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.4876, allocations: 1.855 MB / 0.576 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/0.4883, allocations: 191.2 kB / 0.5762 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.4885, allocations: 23.98 kB / 0.5762 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.4892, allocations: 44.03 kB / 0.5763 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.4894, allocations: 92.38 kB / 0.5764 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.4895, allocations: 39.97 kB / 0.5764 GB, free: 5.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008813/0.4904, allocations: 0.5744 MB / 0.577 GB, free: 4.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4904, allocations: 0 / 0.577 GB, free: 4.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001581/0.492, allocations: 351.7 kB / 0.5773 GB, free: 4.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (tank.level,tank.medium.T,actuator.y) * Number of discrete variables: 15 ($whenCondition1,PI_Level.CS,PI_Level.FBout,PI_Level.cs,PI_Level.satin,tank.regularFlow[1],tank.regularFlow[2],tank.regularFlow[3],tank.inFlow[1],tank.inFlow[2],tank.inFlow[3],div.U1fp,div.Yfp,sub.U1fp,sub.Yfp) * Number of discrete states: 2 (PI_Level.FBout,PI_Level.cs) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,9), (2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000603/0.4926, allocations: 289.8 kB / 0.5776 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.4952, allocations: 1.29 MB / 0.5788 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4953, allocations: 0 / 0.5788 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4966, allocations: 0.7207 MB / 0.5795 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.4992, allocations: 478.7 kB / 0.58 GB, free: 1.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.5035, allocations: 2.118 MB / 0.5821 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.5044, allocations: 1.07 MB / 0.5831 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/0.5047, allocations: 111.4 kB / 0.5832 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5047, allocations: 3.938 kB / 0.5832 GB, free: 14.23 MB / 430.1 MB Notification: Performance of Templates: time 0.04185/0.5466, allocations: 29.17 MB / 0.6117 GB, free: 1.129 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.makefile [Timeout 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControlCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControlCalcHelperMain.cpp In file included from OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControlCalcHelperMain.cpp:33: ./OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControl.cpp:500:32: error: no matching function for call to 'min' _div_P_Yfp_ = max(-8388607,min(8388608,ldiv(_div_P_U1fp_,_div_P_U2fp_).quot)); ^~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:420:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('int' vs. 'long') min(const _Tp&, const _Tp&); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3455:5: note: candidate template ignored: could not match 'initializer_list<_Tp>' against 'int' min(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_algo.h:3449:5: note: candidate function not viable: requires single argument '__l', but 2 arguments were provided min(initializer_list<_Tp> __l) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/algorithmfwd.h:425:5: note: candidate function not viable: requires 3 arguments, but 2 were provided min(const _Tp&, const _Tp&, _Compare); ^ 1 error generated. make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.LevelControlCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.52088723401539] Failed to read output from testmodel.py, exit status != 0: 0.5580986719578505 0.5726924769999999 0.156095219 Calling exit ...