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/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.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 3.971/3.971, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.296e-05/4.309e-05, allocations: 4.781 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 98.74 MB / 0.6347 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.4323, allocations: 123.6 MB / 0.7555 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4327, allocations: 67.95 kB / 0.7556 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005645/0.4333, allocations: 376.9 kB / 0.7559 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4333, allocations: 0 / 0.7559 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4333, allocations: 0 / 0.7559 GB, free: 5.605 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.0002663/0.4336, allocations: 302.6 kB / 0.7562 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.4336, allocations: 12.03 kB / 0.7562 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.4337, allocations: 34.55 kB / 0.7562 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.4337, allocations: 4 kB / 0.7562 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.4339, allocations: 167 kB / 0.7564 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4339, allocations: 0 / 0.7564 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.4339, allocations: 8 kB / 0.7564 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.434, allocations: 29.64 kB / 0.7564 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.434, allocations: 0 / 0.7564 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.434, allocations: 0 / 0.7564 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.434, allocations: 0 / 0.7564 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.4341, allocations: 4 kB / 0.7564 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.4344, allocations: 379.5 kB / 0.7568 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.4345, allocations: 173.2 kB / 0.757 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.4345, allocations: 84.08 kB / 0.7571 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.4346, allocations: 75.28 kB / 0.7571 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.4346, allocations: 109.8 kB / 0.7572 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.4346, allocations: 0 / 0.7572 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.488e-05/0.4347, allocations: 29.69 kB / 0.7573 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.4348, allocations: 138.6 kB / 0.7574 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.4349, allocations: 85 kB / 0.7575 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4349, allocations: 25.7 kB / 0.7575 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.435, allocations: 84.14 kB / 0.7576 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.435, allocations: 3.938 kB / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/0.435, allocations: 0 / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4351, allocations: 314.8 kB / 0.7579 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.4351, allocations: 12 kB / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.4351, allocations: 1.812 kB / 0.7579 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.4352, allocations: 75.28 kB / 0.758 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.4352, allocations: 75.28 kB / 0.758 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.963e-05/0.4353, allocations: 29.7 kB / 0.7581 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.4354, allocations: 83.27 kB / 0.7581 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.4354, allocations: 79.22 kB / 0.7582 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-05/0.4355, allocations: 162.6 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.4355, allocations: 75.28 kB / 0.7584 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-05/0.4356, allocations: 154.5 kB / 0.7586 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.4357, allocations: 83.23 kB / 0.7587 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.4357, allocations: 83.22 kB / 0.7588 GB, free: 2.461 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.000108/0.4358, allocations: 255.5 kB / 0.759 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.4359, allocations: 109 kB / 0.7591 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.436, allocations: 107.9 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-05/0.4361, allocations: 188.2 kB / 0.7594 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-05/0.4362, allocations: 176.3 kB / 0.7596 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.393e-05/0.4363, allocations: 184.2 kB / 0.7597 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.4366, allocations: 409.2 kB / 0.7601 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.941e-05/0.4366, allocations: 102.1 kB / 0.7602 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.4367, allocations: 104.9 kB / 0.7603 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.4368, allocations: 184.2 kB / 0.7605 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.4369, allocations: 184.2 kB / 0.7607 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-05/0.437, allocations: 176.3 kB / 0.7608 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.339e-05/0.4371, allocations: 180.3 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4373, allocations: 311.7 kB / 0.7613 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4375, allocations: 182.4 kB / 0.7615 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.4376, allocations: 180.3 kB / 0.7617 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4377, allocations: 109 kB / 0.7618 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.4378, allocations: 184.2 kB / 0.7619 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4378, allocations: 105 kB / 0.762 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.4379, allocations: 83.28 kB / 0.7621 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4379, allocations: 0 / 0.7621 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002927/0.4382, allocations: 0 / 0.7621 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.0004952/0.4387, allocations: 0.8166 MB / 0.7629 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.066e-05/0.4388, allocations: 0 / 0.7629 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4388, allocations: 3.938 kB / 0.7629 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.4388, allocations: 0 / 0.7629 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4392, allocations: 0.5301 MB / 0.7634 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.4396, allocations: 148.7 kB / 0.7636 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4398, allocations: 0.6731 MB / 0.7642 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.002e-05/0.4399, allocations: 0 / 0.7642 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.4399, allocations: 7.438 kB / 0.7642 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/0.4399, allocations: 4 kB / 0.7642 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.4566, allocations: 0.7235 MB / 0.7649 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.457, allocations: 175.3 kB / 0.7651 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.646, allocations: 0 / 0.7651 GB, free: 11.65 MB / 0.6511 GB