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/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.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.032/4.032, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.2e-05, allocations: 8.75 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 98.74 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.4471, allocations: 123.1 MB / 0.7491 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4474, allocations: 67.95 kB / 0.7492 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002099/0.4495, allocations: 0.6849 MB / 0.7499 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4496, allocations: 4 kB / 0.7499 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.4496, allocations: 4 kB / 0.7499 GB, free: 13.09 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.000338/0.4499, allocations: 338.4 kB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.45, allocations: 8.031 kB / 0.7502 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.4501, allocations: 11.86 kB / 0.7502 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.4503, allocations: 183 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4503, allocations: 4 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4503, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/0.4505, allocations: 43.91 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4506, allocations: 73.61 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4506, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.4507, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.4507, allocations: 4 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.4513, allocations: 443.7 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.4514, allocations: 177.1 kB / 0.7511 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.4514, allocations: 84.08 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.4515, allocations: 75.28 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.4515, allocations: 109.8 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.4515, allocations: 0 / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.74e-05/0.4516, allocations: 29.7 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4517, allocations: 51.41 kB / 0.7514 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.4518, allocations: 124.9 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4518, allocations: 25.7 kB / 0.7516 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.4519, allocations: 99.89 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.4519, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.4519, allocations: 0 / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4521, allocations: 314.8 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.4521, allocations: 8 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.4521, allocations: 15.92 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.4522, allocations: 8 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4522, allocations: 0 / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001346/0.4523, allocations: 49.67 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4524, allocations: 9.625 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4524, allocations: 3.938 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4524, allocations: 0 / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.4525, allocations: 4 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4525, allocations: 0 / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.4525, allocations: 8.094 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4526, allocations: 4 kB / 0.7521 GB, free: 10.62 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 9.143e-05/0.4527, allocations: 177 kB / 0.7523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.215e-05/0.4528, allocations: 143.2 kB / 0.7524 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.4529, allocations: 112.8 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.4529, allocations: 110.1 kB / 0.7526 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.453, allocations: 188.2 kB / 0.7528 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-05/0.4531, allocations: 180.2 kB / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.225e-05/0.4532, allocations: 180.2 kB / 0.7531 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.4534, allocations: 397.7 kB / 0.7535 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.4535, allocations: 109 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.4535, allocations: 105 kB / 0.7537 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.041e-05/0.4536, allocations: 188.2 kB / 0.7539 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.4537, allocations: 176.3 kB / 0.7541 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.4538, allocations: 180.2 kB / 0.7542 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-05/0.4538, allocations: 176.3 kB / 0.7544 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.454, allocations: 315.8 kB / 0.7547 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.4541, allocations: 178.1 kB / 0.7549 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.4542, allocations: 184.2 kB / 0.7551 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4543, allocations: 105 kB / 0.7552 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.4544, allocations: 180.2 kB / 0.7553 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.4545, allocations: 101 kB / 0.7554 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.732e-05/0.4546, allocations: 103.3 kB / 0.7555 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4546, allocations: 0 / 0.7555 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003058/0.4549, allocations: 11.84 kB / 0.7555 GB, free: 6.879 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 (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.0004601/0.4554, allocations: 0.8087 MB / 0.7563 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.4555, allocations: 12 kB / 0.7563 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4555, allocations: 0 / 0.7563 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.4555, allocations: 3.938 kB / 0.7563 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.4559, allocations: 0.5263 MB / 0.7568 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.4564, allocations: 200.8 kB / 0.757 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4567, allocations: 0.704 MB / 0.7577 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.4568, allocations: 0 / 0.7577 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.4568, allocations: 15.44 kB / 0.7577 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.4568, allocations: 0 / 0.7577 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.49, allocations: 0.7426 MB / 0.7585 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.4904, allocations: 147.9 kB / 0.7586 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.605, allocations: 3.938 kB / 0.7586 GB, free: 3.582 MB / 0.6355 GB