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.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.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.023/4.023, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.709e-05, allocations: 5.562 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4649, allocations: 123.7 MB / 0.7555 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4653, allocations: 67.95 kB / 0.7556 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005712/0.4659, allocations: 380.8 kB / 0.7559 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4659, allocations: 0 / 0.7559 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4659, allocations: 0 / 0.7559 GB, free: 5.617 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.0003057/0.4662, allocations: 306.5 kB / 0.7562 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4663, allocations: 12.09 kB / 0.7562 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.4664, allocations: 34.56 kB / 0.7563 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.4664, allocations: 0 / 0.7563 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4665, allocations: 163 kB / 0.7564 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.4666, allocations: 0 / 0.7564 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4666, allocations: 8 kB / 0.7564 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.4667, allocations: 25.7 kB / 0.7565 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4667, allocations: 3.938 kB / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4667, allocations: 0 / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4667, allocations: 0 / 0.7565 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.4668, allocations: 4 kB / 0.7565 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.4671, allocations: 379.5 kB / 0.7568 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4672, allocations: 173.2 kB / 0.757 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4673, allocations: 84.08 kB / 0.7571 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.4673, allocations: 75.28 kB / 0.7571 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.4674, allocations: 113.8 kB / 0.7572 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.4674, allocations: 0 / 0.7572 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.425e-05/0.4675, allocations: 25.7 kB / 0.7573 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.4676, allocations: 138.6 kB / 0.7574 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.4677, allocations: 85 kB / 0.7575 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4677, allocations: 25.7 kB / 0.7575 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.4678, allocations: 84.14 kB / 0.7576 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.4678, allocations: 0 / 0.7576 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.4678, allocations: 0 / 0.7576 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4679, allocations: 318.8 kB / 0.7579 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.4679, allocations: 8.062 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.468, allocations: 1.812 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.468, allocations: 75.28 kB / 0.758 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-05/0.468, allocations: 79.22 kB / 0.7581 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.346e-05/0.4681, allocations: 33.69 kB / 0.7581 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.4682, allocations: 79.28 kB / 0.7582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/0.4682, allocations: 75.28 kB / 0.7582 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-05/0.4683, allocations: 162.5 kB / 0.7584 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.4684, allocations: 75.28 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.599e-05/0.4685, allocations: 154.5 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.4686, allocations: 83.23 kB / 0.7587 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.4686, allocations: 79.28 kB / 0.7588 GB, free: 2.484 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.0001356/0.4688, allocations: 265.5 kB / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.4688, allocations: 105 kB / 0.7591 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.4689, allocations: 111.9 kB / 0.7592 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/0.469, allocations: 180.2 kB / 0.7594 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.86e-05/0.4691, allocations: 180.3 kB / 0.7596 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.064e-05/0.4692, allocations: 188.2 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.4695, allocations: 405.2 kB / 0.7601 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/0.4696, allocations: 102.1 kB / 0.7602 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.4697, allocations: 108.9 kB / 0.7603 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.877e-05/0.4697, allocations: 180.3 kB / 0.7605 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.4698, allocations: 188.2 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.518e-05/0.4699, allocations: 176.3 kB / 0.7609 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.058e-05/0.47, allocations: 180.3 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4703, allocations: 311.7 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4704, allocations: 182.4 kB / 0.7615 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.4705, allocations: 180.3 kB / 0.7617 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4706, allocations: 113 kB / 0.7618 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.4707, allocations: 180.2 kB / 0.7619 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.4708, allocations: 109 kB / 0.762 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.4709, allocations: 79.28 kB / 0.7621 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4709, allocations: 0 / 0.7621 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002983/0.4712, allocations: 0 / 0.7621 GB, free: 14.82 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.0005544/0.4717, allocations: 0.8168 MB / 0.7629 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.119e-05/0.4718, allocations: 7.938 kB / 0.7629 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4718, allocations: 0 / 0.7629 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.4718, allocations: 0 / 0.7629 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4722, allocations: 0.5224 MB / 0.7634 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.4726, allocations: 149.9 kB / 0.7636 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4729, allocations: 0.677 MB / 0.7642 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.147e-06/0.4729, allocations: 0 / 0.7642 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.473, allocations: 11.38 kB / 0.7643 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/0.473, allocations: 0 / 0.7643 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.4941, allocations: 0.7336 MB / 0.765 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.4945, allocations: 170.7 kB / 0.7651 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/2.919, allocations: 0 / 0.7651 GB, free: 11.66 MB / 0.6511 GB