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.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.114/4.114, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.328e-05, allocations: 5.188 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 98.74 MB / 0.6289 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.4471, allocations: 123 MB / 0.749 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4474, allocations: 75.94 kB / 0.7491 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005356/0.448, allocations: 376.9 kB / 0.7494 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.448, allocations: 0 / 0.7494 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.448, allocations: 0 / 0.7494 GB, free: 13.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002638/0.4483, allocations: 306.6 kB / 0.7497 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.4483, allocations: 8.031 kB / 0.7497 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.4484, allocations: 3.953 kB / 0.7498 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4485, allocations: 163.1 kB / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4485, allocations: 0 / 0.7499 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4486, allocations: 4 kB / 0.7499 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.089e-05/0.4486, allocations: 7.938 kB / 0.7499 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.989e-05/0.4487, allocations: 25.7 kB / 0.7499 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4487, allocations: 0 / 0.7499 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.4487, allocations: 0 / 0.7499 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4487, allocations: 0 / 0.7499 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.449, allocations: 364 kB / 0.7503 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.4491, allocations: 173.1 kB / 0.7505 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.4492, allocations: 84.08 kB / 0.7505 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.4492, allocations: 75.28 kB / 0.7506 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.4493, allocations: 113.9 kB / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.4493, allocations: 0 / 0.7507 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.108e-05/0.4494, allocations: 25.7 kB / 0.7507 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4494, allocations: 55.41 kB / 0.7508 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.4495, allocations: 85 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4495, allocations: 29.7 kB / 0.7509 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.4496, allocations: 88.06 kB / 0.751 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.4496, allocations: 0 / 0.751 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-07/0.4496, allocations: 0 / 0.751 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4497, allocations: 314.8 kB / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.4497, allocations: 128 / 0.7513 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-06/0.4497, allocations: 4 kB / 0.7513 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.4498, allocations: 75.28 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.763e-05/0.4498, allocations: 79.22 kB / 0.7514 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.205e-05/0.4499, allocations: 30.31 kB / 0.7515 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.4499, allocations: 83.28 kB / 0.7515 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.45, allocations: 75.28 kB / 0.7516 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-05/0.4501, allocations: 159.9 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.699e-05/0.4501, allocations: 79.28 kB / 0.7518 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.823e-05/0.4502, allocations: 154.5 kB / 0.752 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.4503, allocations: 79.22 kB / 0.7521 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.4503, allocations: 75.28 kB / 0.7521 GB, free: 10.46 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 (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 prepare postOptimizeDAE: time 0.0001136/0.4504, allocations: 263.4 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.807e-05/0.4505, allocations: 142.6 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.4506, allocations: 113 kB / 0.7526 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.4507, allocations: 112.5 kB / 0.7527 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.599e-05/0.4507, allocations: 180.2 kB / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.386e-05/0.4508, allocations: 176.3 kB / 0.7531 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-05/0.4509, allocations: 184.2 kB / 0.7533 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.4511, allocations: 385.7 kB / 0.7536 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.4512, allocations: 101 kB / 0.7537 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.4512, allocations: 101 kB / 0.7538 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-05/0.4513, allocations: 184.2 kB / 0.754 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.4514, allocations: 184.2 kB / 0.7542 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-05/0.4515, allocations: 176.3 kB / 0.7543 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.026e-05/0.4515, allocations: 184.2 kB / 0.7545 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4517, allocations: 299.8 kB / 0.7548 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.4518, allocations: 190 kB / 0.755 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.4519, allocations: 180.7 kB / 0.7552 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.452, allocations: 112.9 kB / 0.7553 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.4521, allocations: 180.2 kB / 0.7554 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.4521, allocations: 105 kB / 0.7555 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.4522, allocations: 87.2 kB / 0.7556 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4522, allocations: 0 / 0.7556 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003353/0.4525, allocations: 0 / 0.7556 GB, free: 6.676 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.0004412/0.453, allocations: 0.8049 MB / 0.7564 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.761e-05/0.453, allocations: 3.938 kB / 0.7564 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.453, allocations: 4 kB / 0.7564 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.4531, allocations: 0 / 0.7564 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4534, allocations: 0.5234 MB / 0.7569 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.4538, allocations: 145 kB / 0.7571 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4541, allocations: 0.6729 MB / 0.7577 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.565e-06/0.4541, allocations: 4 kB / 0.7577 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.4541, allocations: 7.438 kB / 0.7577 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.4541, allocations: 0 / 0.7577 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4885, allocations: 407.2 kB / 0.7581 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/0.4889, allocations: 166.1 kB / 0.7583 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/2.616, allocations: 1.562 kB / 0.7583 GB, free: 3.824 MB / 0.6355 GB