Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.108/4.108, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.107e-05, allocations: 5.125 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2048, allocations: 98.74 MB / 0.6289 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.4306, allocations: 123.9 MB / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4309, allocations: 67.97 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006633/0.4376, allocations: 1.442 MB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4376, allocations: 0 / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4377, allocations: 4 kB / 0.7514 GB, free: 11.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007242/0.4384, allocations: 390.3 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4385, allocations: 8.031 kB / 0.7518 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.4385, allocations: 15.8 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.4387, allocations: 178.9 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4387, allocations: 0 / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4388, allocations: 4 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000208/0.439, allocations: 47.98 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4392, allocations: 69.66 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4392, allocations: 4 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4392, allocations: 0 / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4393, allocations: 0 / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.44, allocations: 321.2 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.4407, allocations: 90.59 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.312e-05/0.4408, allocations: 28.92 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.4408, allocations: 0 / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4409, allocations: 38.55 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.4409, allocations: 0 / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003253/0.4412, allocations: 89.62 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4413, allocations: 55.41 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4414, allocations: 109 kB / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4415, allocations: 25.7 kB / 0.7528 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.4415, allocations: 100 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.4416, allocations: 19.69 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.4416, allocations: 0 / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4417, allocations: 318.8 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/0.4418, allocations: 20 kB / 0.7533 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.4419, allocations: 20 kB / 0.7533 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.852e-05/0.442, allocations: 27.98 kB / 0.7533 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.442, allocations: 0 / 0.7533 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002273/0.4422, allocations: 77.59 kB / 0.7534 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4423, allocations: 8 kB / 0.7534 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4423, allocations: 7.922 kB / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4423, allocations: 0 / 0.7534 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.4426, allocations: 31.92 kB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4427, allocations: 0 / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4429, allocations: 23.98 kB / 0.7534 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.4429, allocations: 0 / 0.7534 GB, free: 9.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.443, allocations: 101 kB / 0.7535 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002423/0.4433, allocations: 93.56 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.4433, allocations: 7.906 kB / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.4436, allocations: 106.5 kB / 0.7537 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4437, allocations: 4 kB / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4437, allocations: 0 / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4437, allocations: 0 / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.444, allocations: 174.1 kB / 0.7539 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.444, allocations: 0 / 0.7539 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.4443, allocations: 27.97 kB / 0.7539 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-06/0.4443, allocations: 4 kB / 0.7539 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4443, allocations: 7.969 kB / 0.7539 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4444, allocations: 4 kB / 0.7539 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4444, allocations: 3.953 kB / 0.754 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.4446, allocations: 191.4 kB / 0.7541 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.4447, allocations: 85.02 kB / 0.7542 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4447, allocations: 0 / 0.7542 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.445, allocations: 19.98 kB / 0.7542 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4451, allocations: 27.92 kB / 0.7543 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4452, allocations: 3.984 kB / 0.7543 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.4452, allocations: 87.28 kB / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4453, allocations: 4 kB / 0.7544 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003179/0.4456, allocations: 12 kB / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006083/0.4462, allocations: 0.7279 MB / 0.7551 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4464, allocations: 51.98 kB / 0.7551 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4464, allocations: 0 / 0.7551 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4466, allocations: 35.98 kB / 0.7552 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.4468, allocations: 7.984 kB / 0.7552 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.4474, allocations: 152.5 kB / 0.7553 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.4477, allocations: 0.6963 MB / 0.756 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.4479, allocations: 16.17 kB / 0.756 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.448, allocations: 31.36 kB / 0.756 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.448, allocations: 0 / 0.756 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.4816, allocations: 1.889 MB / 0.7579 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.482, allocations: 139.3 kB / 0.758 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.767, allocations: 4.031 kB / 0.758 GB, free: 4.242 MB / 0.6355 GB