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.MultiMax.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.342/4.342, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.959e-05/4.993e-05, allocations: 6.594 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.4457, allocations: 123.8 MB / 0.7556 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.446, allocations: 71.95 kB / 0.7557 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00214/0.4482, allocations: 0.689 MB / 0.7564 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4482, allocations: 0 / 0.7564 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4482, allocations: 0 / 0.7564 GB, free: 5.188 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003352/0.4486, allocations: 334.5 kB / 0.7567 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.4486, allocations: 12.02 kB / 0.7567 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.011e-05/0.4487, allocations: 38.5 kB / 0.7567 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.4487, allocations: 11.86 kB / 0.7567 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.449, allocations: 183 kB / 0.7569 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.449, allocations: 4 kB / 0.7569 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.449, allocations: 7.984 kB / 0.7569 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4492, allocations: 81.55 kB / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4493, allocations: 0 / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4493, allocations: 0 / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4493, allocations: 0 / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4494, allocations: 43.97 kB / 0.757 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.4501, allocations: 495.1 kB / 0.7575 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.4502, allocations: 169.1 kB / 0.7577 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.4503, allocations: 84.14 kB / 0.7578 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.4503, allocations: 75.28 kB / 0.7578 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.4504, allocations: 117.8 kB / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.4504, allocations: 0 / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.114e-05/0.4505, allocations: 35.42 kB / 0.758 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.4506, allocations: 126.7 kB / 0.7581 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4508, allocations: 156.6 kB / 0.7582 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4508, allocations: 25.7 kB / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.4509, allocations: 100 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.4509, allocations: 4 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4509, allocations: 4 kB / 0.7584 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4511, allocations: 318.8 kB / 0.7587 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.4511, allocations: 4.109 kB / 0.7587 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.4512, allocations: 15.92 kB / 0.7587 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.4512, allocations: 7.938 kB / 0.7587 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4512, allocations: 4 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000151/0.4514, allocations: 53.55 kB / 0.7588 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4514, allocations: 12.08 kB / 0.7588 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4514, allocations: 0 / 0.7588 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4515, allocations: 4 kB / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.4515, allocations: 0 / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4515, allocations: 0 / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.4516, allocations: 7.938 kB / 0.7588 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4516, allocations: 4 kB / 0.7588 GB, free: 2.477 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 (1): * Single equations (assignments): 1 * 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.0001319/0.4518, allocations: 176.3 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.4519, allocations: 116.8 kB / 0.7591 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.452, allocations: 124.4 kB / 0.7592 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-05/0.452, allocations: 176.3 kB / 0.7593 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-05/0.4521, allocations: 180.2 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.4522, allocations: 176.3 kB / 0.7597 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.4525, allocations: 437.1 kB / 0.7601 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/0.4526, allocations: 105 kB / 0.7602 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.4526, allocations: 101 kB / 0.7603 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.4527, allocations: 180.2 kB / 0.7605 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.4528, allocations: 188.2 kB / 0.7607 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-05/0.4529, allocations: 180.2 kB / 0.7608 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.261e-05/0.453, allocations: 180.2 kB / 0.761 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4532, allocations: 312.8 kB / 0.7613 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4533, allocations: 190 kB / 0.7615 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.4534, allocations: 180.2 kB / 0.7616 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4535, allocations: 104.9 kB / 0.7617 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.4536, allocations: 192.2 kB / 0.7619 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.4537, allocations: 101 kB / 0.762 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001676/0.4539, allocations: 129.4 kB / 0.7621 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4539, allocations: 0 / 0.7621 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002711/0.4542, allocations: 4 kB / 0.7622 GB, free: 14.8 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0005089/0.4547, allocations: 0.8203 MB / 0.763 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.336e-05/0.4548, allocations: 11.98 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4548, allocations: 0 / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.4548, allocations: 3.938 kB / 0.763 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4552, allocations: 0.5342 MB / 0.7635 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.4557, allocations: 200.2 kB / 0.7637 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4561, allocations: 0.6965 MB / 0.7644 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.4561, allocations: 4 kB / 0.7644 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.4562, allocations: 19.42 kB / 0.7644 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/0.4562, allocations: 0 / 0.7644 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.4761, allocations: 1.364 MB / 0.7657 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.4764, allocations: 162 kB / 0.7659 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.794, allocations: 0 / 0.7659 GB, free: 10.9 MB / 0.6511 GB