Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset.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.SetPoints.Examples.HotWaterTemperatureReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Examples_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.926/3.926, allocations: 432.6 MB / 445.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.788e-05, allocations: 3.078 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2245, allocations: 98.74 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.4551, allocations: 125.1 MB / 0.7569 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4554, allocations: 75.95 kB / 0.7569 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008207/0.4636, allocations: 1.839 MB / 0.7587 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4637, allocations: 4 kB / 0.7587 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.4637, allocations: 4 kB / 0.7587 GB, free: 2.754 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008494/0.4646, allocations: 419.9 kB / 0.7591 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.4646, allocations: 12.02 kB / 0.7592 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.857e-05/0.4647, allocations: 38.56 kB / 0.7592 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.4648, allocations: 19.77 kB / 0.7592 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4651, allocations: 209.9 kB / 0.7594 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4651, allocations: 8 kB / 0.7594 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.4651, allocations: 4 kB / 0.7594 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.4654, allocations: 95.33 kB / 0.7595 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4654, allocations: 0 / 0.7595 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.4655, allocations: 8 kB / 0.7595 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4655, allocations: 4 kB / 0.7595 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.4657, allocations: 59.98 kB / 0.7596 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.4667, allocations: 484.5 kB / 0.76 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.4671, allocations: 113.5 kB / 0.7602 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.4673, allocations: 45.7 kB / 0.7602 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.4673, allocations: 7.953 kB / 0.7602 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4674, allocations: 38.56 kB / 0.7602 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.4674, allocations: 0 / 0.7602 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000423/0.4678, allocations: 97.53 kB / 0.7603 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.4679, allocations: 85.11 kB / 0.7604 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4682, allocations: 146.3 kB / 0.7606 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.4682, allocations: 25.7 kB / 0.7606 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.4683, allocations: 112.2 kB / 0.7607 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.4684, allocations: 27.56 kB / 0.7607 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.4684, allocations: 7.938 kB / 0.7607 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4686, allocations: 322.8 kB / 0.761 GB, free: 176 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.4687, allocations: 27.94 kB / 0.7611 GB, free: 148 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.4688, allocations: 49.64 kB / 0.7611 GB, free: 92 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4689, allocations: 24 kB / 0.7611 GB, free: 68 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4689, allocations: 4 kB / 0.7611 GB, free: 64 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003408/0.4693, allocations: 109.5 kB / 0.7612 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4693, allocations: 11.95 kB / 0.7612 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4693, allocations: 4 kB / 0.7613 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4694, allocations: 0 / 0.7613 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.4697, allocations: 23.98 kB / 0.7613 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4697, allocations: 4 kB / 0.7613 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.47, allocations: 19.83 kB / 0.7613 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.47, allocations: 8.188 kB / 0.7613 GB, free: 15.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001418/0.4702, allocations: 105 kB / 0.7614 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4703, allocations: 19.75 kB / 0.7614 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.4707, allocations: 130.6 kB / 0.7615 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4707, allocations: 4 kB / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4708, allocations: 0 / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4708, allocations: 3.938 kB / 0.7616 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.4712, allocations: 213.6 kB / 0.7618 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4712, allocations: 0 / 0.7618 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.4715, allocations: 31.98 kB / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4715, allocations: 0 / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4715, allocations: 0 / 0.7618 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4715, allocations: 3.953 kB / 0.7618 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4716, allocations: 7.984 kB / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.472, allocations: 288.3 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.4721, allocations: 92.95 kB / 0.7622 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.4721, allocations: 3.953 kB / 0.7622 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.4724, allocations: 11.98 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.4725, allocations: 7.984 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.4725, allocations: 8 kB / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001486/0.4727, allocations: 127.5 kB / 0.7623 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.7e-07/0.4727, allocations: 0 / 0.7623 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003787/0.4731, allocations: 32 kB / 0.7623 GB, free: 14.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0007777/0.4739, allocations: 0.9032 MB / 0.7632 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4742, allocations: 63.94 kB / 0.7633 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4742, allocations: 8 kB / 0.7633 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4743, allocations: 35.94 kB / 0.7633 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.4748, allocations: 40.14 kB / 0.7634 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.4756, allocations: 191.9 kB / 0.7636 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.476, allocations: 0.7087 MB / 0.7642 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000143/0.4761, allocations: 12.56 kB / 0.7643 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4763, allocations: 39.42 kB / 0.7643 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.4763, allocations: 0 / 0.7643 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.504, allocations: 3.206 MB / 0.7674 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.5044, allocations: 166.9 kB / 0.7676 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.794, allocations: 2.344 kB / 0.7676 GB, free: 9.289 MB / 0.6511 GB