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.Continuous.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.Continuous.Validation.Max,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.044/4.044, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.298e-05, allocations: 9.594 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2032, allocations: 98.75 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.4334, allocations: 123.5 MB / 0.7495 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4337, allocations: 67.97 kB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003351/0.4371, allocations: 0.8367 MB / 0.7504 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4372, allocations: 4 kB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.4372, allocations: 0 / 0.7504 GB, free: 12.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005835/0.4378, allocations: 354.5 kB / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4378, allocations: 8.031 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.4379, allocations: 15.84 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4381, allocations: 163.1 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.4381, allocations: 4 kB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4381, allocations: 0 / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/0.4382, allocations: 19.98 kB / 0.751 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4383, allocations: 41.7 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4384, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4384, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4384, allocations: 3.984 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.4391, allocations: 285.3 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.4392, allocations: 30.58 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4393, allocations: 16.86 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4393, allocations: 4 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4394, allocations: 30.56 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.4394, allocations: 0 / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002114/0.4396, allocations: 53.62 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.4397, allocations: 59.41 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.4398, allocations: 100.9 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4398, allocations: 29.7 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.4399, allocations: 84.12 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4399, allocations: 11.91 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.4399, allocations: 3.938 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4401, allocations: 314.8 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.4401, allocations: 8 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.4402, allocations: 11.94 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.4402, allocations: 7.984 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4402, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/0.4404, allocations: 53.61 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4404, allocations: 4 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4404, allocations: 4 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4404, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.4407, allocations: 27.91 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4407, allocations: 0 / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4409, allocations: 15.98 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.4409, allocations: 7.953 kB / 0.7521 GB, free: 10.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.071e-05/0.441, allocations: 105 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001318/0.4411, allocations: 49.69 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.4412, allocations: 7.906 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.4413, allocations: 57.97 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4414, allocations: 4.266 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4414, allocations: 3.953 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4414, allocations: 3.984 kB / 0.7524 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4416, allocations: 150.2 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4416, allocations: 4 kB / 0.7525 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.4418, allocations: 19.98 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4418, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4418, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4419, allocations: 4 kB / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4419, allocations: 0 / 0.7525 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.4421, allocations: 151.5 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.4421, allocations: 89 kB / 0.7528 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4421, allocations: 0 / 0.7528 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4423, allocations: 15.98 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.4424, allocations: 0 / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.4424, allocations: 0 / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.4425, allocations: 95.2 kB / 0.7529 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.424e-06/0.4425, allocations: 4 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003006/0.4428, allocations: 11.88 kB / 0.7529 GB, free: 9.734 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005349/0.4434, allocations: 0.6773 MB / 0.7535 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.4435, allocations: 20 kB / 0.7536 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4436, allocations: 4 kB / 0.7536 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.4436, allocations: 19.94 kB / 0.7536 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4439, allocations: 7.922 kB / 0.7536 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.4444, allocations: 99 kB / 0.7537 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4447, allocations: 0.6846 MB / 0.7543 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.204e-05/0.4448, allocations: 4 kB / 0.7543 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4448, allocations: 11.44 kB / 0.7544 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.4449, allocations: 4 kB / 0.7544 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4832, allocations: 0.9519 MB / 0.7553 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.4836, allocations: 141.8 kB / 0.7554 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.641, allocations: 3.938 kB / 0.7554 GB, free: 6.98 MB / 0.6355 GB