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.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.Continuous.Validation.Min,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.105/4.105, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.313e-05, allocations: 13.19 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.219, allocations: 98.74 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.4408, allocations: 123.5 MB / 0.7495 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.4411, allocations: 71.95 kB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003215/0.4444, allocations: 0.8328 MB / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4444, allocations: 0 / 0.7504 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4444, allocations: 0 / 0.7504 GB, free: 12.51 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.0005554/0.445, allocations: 358.5 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4451, allocations: 15.95 kB / 0.7508 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.4451, allocations: 11.86 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4453, allocations: 159.1 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4453, allocations: 8 kB / 0.751 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4453, allocations: 0 / 0.751 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.4454, allocations: 16 kB / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.4456, allocations: 45.69 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4456, allocations: 0 / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4456, allocations: 0 / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4456, allocations: 0 / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.4463, allocations: 285.3 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.948e-05/0.4464, allocations: 30.58 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.4464, allocations: 16.86 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4465, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4465, allocations: 34.56 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4465, allocations: 0 / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000212/0.4467, allocations: 53.62 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.4468, allocations: 55.41 kB / 0.7515 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.4469, allocations: 104.9 kB / 0.7516 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4469, allocations: 25.7 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.447, allocations: 84.14 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.447, allocations: 7.906 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.447, allocations: 3.938 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4472, allocations: 322.8 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.4472, allocations: 8 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.4473, allocations: 8 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.4473, allocations: 4 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4473, allocations: 0 / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/0.4475, allocations: 57.73 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4475, allocations: 4 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4475, allocations: 48 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4475, allocations: 3.984 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4478, allocations: 27.92 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4478, allocations: 0 / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.4479, allocations: 19.98 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.448, allocations: 3.953 kB / 0.7521 GB, free: 10.57 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.307e-05/0.4481, allocations: 113.7 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001222/0.4482, allocations: 45.7 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.4482, allocations: 7.906 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.4484, allocations: 61.95 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4484, allocations: 0 / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4484, allocations: 3.953 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4484, allocations: 3.938 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.4487, allocations: 146.2 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4487, allocations: 0 / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4489, allocations: 31.97 kB / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4489, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4489, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4489, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4489, allocations: 0 / 0.7525 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4491, allocations: 147.5 kB / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.4492, allocations: 85.02 kB / 0.7527 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4492, allocations: 4 kB / 0.7527 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4494, allocations: 15.98 kB / 0.7528 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.4495, allocations: 3.984 kB / 0.7528 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4495, allocations: 0 / 0.7528 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.4496, allocations: 95.52 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.544e-06/0.4496, allocations: 0 / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002878/0.4499, allocations: 11.88 kB / 0.7529 GB, free: 9.719 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.000497/0.4504, allocations: 0.6851 MB / 0.7535 GB, free: 9.004 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.4505, allocations: 20 kB / 0.7536 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4505, allocations: 4 kB / 0.7536 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.4506, allocations: 15.94 kB / 0.7536 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4509, allocations: 4 kB / 0.7536 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.4513, allocations: 102.5 kB / 0.7537 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4516, allocations: 0.6807 MB / 0.7543 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.4517, allocations: 7.984 kB / 0.7543 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.4517, allocations: 11.44 kB / 0.7544 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4517, allocations: 0 / 0.7544 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.4859, allocations: 0.9558 MB / 0.7553 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.4862, allocations: 142.1 kB / 0.7554 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.663, allocations: 0 / 0.7554 GB, free: 6.969 MB / 0.6355 GB