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.SetPoints.Validation.HotWaterTemperatureReset.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.SetPoints.Validation.HotWaterTemperatureReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_SetPoints_Validation_HotWaterTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.222/4.222, allocations: 433.2 MB / 440.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.596e-05, allocations: 2.938 kB / 0.5325 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/0.526, allocations: 124.3 MB / 0.7503 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5263, allocations: 71.95 kB / 0.7503 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009771/0.5361, allocations: 2.049 MB / 0.7523 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.18e-06/0.5362, allocations: 4 kB / 0.7523 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5362, allocations: 3.938 kB / 0.7524 GB, free: 10.56 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001092/0.5373, allocations: 446.1 kB / 0.7528 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.5374, allocations: 12.03 kB / 0.7528 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.5375, allocations: 15.86 kB / 0.7528 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.5377, allocations: 182.2 kB / 0.753 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5377, allocations: 8 kB / 0.753 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.5378, allocations: 7.938 kB / 0.753 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002676/0.538, allocations: 67.98 kB / 0.7531 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.5383, allocations: 114 kB / 0.7532 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5383, allocations: 4 kB / 0.7532 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.5384, allocations: 0 / 0.7532 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5384, allocations: 4 kB / 0.7532 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.5396, allocations: 485.1 kB / 0.7536 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.5401, allocations: 117.2 kB / 0.7537 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5403, allocations: 53.88 kB / 0.7538 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.5403, allocations: 0 / 0.7538 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.5406, allocations: 113 kB / 0.7539 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.254e-06/0.5406, allocations: 0 / 0.7539 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004219/0.5411, allocations: 113.5 kB / 0.754 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.5411, allocations: 93.03 kB / 0.7541 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.5413, allocations: 139.7 kB / 0.7542 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.5414, allocations: 25.7 kB / 0.7543 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.822e-05/0.5415, allocations: 116.2 kB / 0.7544 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.5416, allocations: 35.45 kB / 0.7544 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.5416, allocations: 4 kB / 0.7544 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5417, allocations: 322.8 kB / 0.7547 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5419, allocations: 36 kB / 0.7548 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.542, allocations: 53.81 kB / 0.7548 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.5422, allocations: 43.92 kB / 0.7548 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5422, allocations: 0 / 0.7548 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003827/0.5426, allocations: 133.4 kB / 0.755 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5426, allocations: 4 kB / 0.755 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5426, allocations: 0 / 0.755 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5427, allocations: 4 kB / 0.755 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.5431, allocations: 35.97 kB / 0.755 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5431, allocations: 4.109 kB / 0.755 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.5435, allocations: 27.98 kB / 0.755 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.5435, allocations: 8.078 kB / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000125/0.5436, allocations: 116.6 kB / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003777/0.544, allocations: 133.5 kB / 0.7553 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.5441, allocations: 11.81 kB / 0.7553 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.5446, allocations: 139.4 kB / 0.7554 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5446, allocations: 4 kB / 0.7554 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5446, allocations: 4 kB / 0.7554 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5446, allocations: 0 / 0.7554 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.5449, allocations: 202.1 kB / 0.7556 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5449, allocations: 4 kB / 0.7556 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.5453, allocations: 35.91 kB / 0.7557 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5453, allocations: 0 / 0.7557 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5453, allocations: 0 / 0.7557 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5453, allocations: 4 kB / 0.7557 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5453, allocations: 4 kB / 0.7557 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.5457, allocations: 163.4 kB / 0.7558 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-05/0.5458, allocations: 93 kB / 0.7559 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.5459, allocations: 7.938 kB / 0.7559 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.5462, allocations: 19.98 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5463, allocations: 23.95 kB / 0.756 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.5463, allocations: 4 kB / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001254/0.5465, allocations: 115.9 kB / 0.7561 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5465, allocations: 0 / 0.7561 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003345/0.5468, allocations: 39.84 kB / 0.7561 GB, free: 6.348 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007805/0.5476, allocations: 0.7781 MB / 0.7569 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.548, allocations: 92 kB / 0.757 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.548, allocations: 0 / 0.757 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.5482, allocations: 56.05 kB / 0.757 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.5487, allocations: 40.09 kB / 0.7571 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007846/0.5495, allocations: 187.3 kB / 0.7572 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5499, allocations: 0.7162 MB / 0.7579 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.5501, allocations: 12.77 kB / 0.758 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.5502, allocations: 43.42 kB / 0.758 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.5503, allocations: 0 / 0.758 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.5934, allocations: 3.113 MB / 0.761 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/0.5938, allocations: 168.3 kB / 0.7612 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/3.039, allocations: 0 / 0.7612 GB, free: 1.07 MB / 0.6355 GB