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.Max.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.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.142/4.142, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.719e-05, allocations: 12 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6585, allocations: 98.72 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/0.9115, allocations: 123.9 MB / 0.7499 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.9118, allocations: 71.95 kB / 0.75 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.007879/0.9197, allocations: 1.451 MB / 0.7514 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9198, allocations: 0 / 0.7514 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.954e-06/0.9198, allocations: 0 / 0.7514 GB, free: 2.203 MB / 0.6198 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.0007657/0.9206, allocations: 382.3 kB / 0.7518 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.9206, allocations: 12.03 kB / 0.7518 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.9207, allocations: 7.906 kB / 0.7518 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.9209, allocations: 178.8 kB / 0.752 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.9209, allocations: 4 kB / 0.752 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.921, allocations: 4 kB / 0.752 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001933/0.9212, allocations: 55.98 kB / 0.752 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.9214, allocations: 73.58 kB / 0.7521 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9214, allocations: 0 / 0.7521 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.9214, allocations: 0 / 0.7521 GB, free: 1.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.9214, allocations: 4 kB / 0.7521 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.9222, allocations: 325.2 kB / 0.7524 GB, free: 1.051 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/0.9229, allocations: 82.67 kB / 0.7525 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.923, allocations: 28.86 kB / 0.7525 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.923, allocations: 3.984 kB / 0.7525 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.9231, allocations: 34.56 kB / 0.7525 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.9231, allocations: 3.938 kB / 0.7526 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003615/0.9235, allocations: 85.55 kB / 0.7526 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.9235, allocations: 55.41 kB / 0.7527 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.9237, allocations: 112.9 kB / 0.7528 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.9237, allocations: 25.7 kB / 0.7528 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.9238, allocations: 96.03 kB / 0.7529 GB, free: 488 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.9238, allocations: 15.75 kB / 0.7529 GB, free: 472 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.9238, allocations: 0 / 0.7529 GB, free: 472 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.924, allocations: 318.8 kB / 0.7532 GB, free: 144 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.9241, allocations: 24 kB / 0.7533 GB, free: 120 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.9241, allocations: 16 kB / 0.7533 GB, free: 104 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.9242, allocations: 23.98 kB / 0.7533 GB, free: 80 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9243, allocations: 0 / 0.7533 GB, free: 80 kB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.9245, allocations: 93.66 kB / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.9246, allocations: 4 kB / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9246, allocations: 0 / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9246, allocations: 0 / 0.7534 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.9249, allocations: 35.97 kB / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.925, allocations: 3.953 kB / 0.7534 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.9252, allocations: 15.98 kB / 0.7534 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.9252, allocations: 0 / 0.7534 GB, free: 15.92 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 (max1.u1,max1.u2,max1.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 0.0001006/0.9253, allocations: 109 kB / 0.7535 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002727/0.9256, allocations: 85.53 kB / 0.7536 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.9257, allocations: 3.906 kB / 0.7536 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.926, allocations: 106.2 kB / 0.7537 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.926, allocations: 3.938 kB / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.926, allocations: 0 / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.926, allocations: 0 / 0.7537 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.9264, allocations: 170.2 kB / 0.7539 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9264, allocations: 0 / 0.7539 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.9269, allocations: 39.97 kB / 0.7539 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.9269, allocations: 3.984 kB / 0.7539 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.9269, allocations: 0 / 0.7539 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.9269, allocations: 3.938 kB / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.927, allocations: 3.953 kB / 0.7539 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.9273, allocations: 183.8 kB / 0.7541 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.9273, allocations: 81.02 kB / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.9274, allocations: 0 / 0.7542 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.9277, allocations: 27.97 kB / 0.7542 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9278, allocations: 19.98 kB / 0.7542 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.9278, allocations: 11.94 kB / 0.7543 GB, free: 15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.9279, allocations: 87.28 kB / 0.7543 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9279, allocations: 0 / 0.7543 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003366/0.9282, allocations: 16.12 kB / 0.7544 GB, free: 14.89 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 (max1.u1,max1.u2,max1.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.0006672/0.9289, allocations: 0.7379 MB / 0.7551 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9292, allocations: 51.98 kB / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.9292, allocations: 0 / 0.7551 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.9293, allocations: 39.94 kB / 0.7552 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.9296, allocations: 11.92 kB / 0.7552 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.9302, allocations: 144.4 kB / 0.7553 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.9305, allocations: 0.6924 MB / 0.756 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.9306, allocations: 16.17 kB / 0.756 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.9307, allocations: 23.42 kB / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.9308, allocations: 0 / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.9686, allocations: 1.893 MB / 0.7579 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/0.969, allocations: 139.3 kB / 0.758 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.367, allocations: 0 / 0.758 GB, free: 11.02 MB / 0.6355 GB