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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01671/0.01671, allocations: 106.6 kB / 15.05 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002031/0.002031, allocations: 185.1 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.163/2.163, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.363/2.363, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006503, allocations: 12 kB / 0.5871 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7104, allocations: 98.72 MB / 0.6835 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.9403, allocations: 123.7 MB / 0.8043 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.9407, allocations: 67.95 kB / 0.8044 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006546/0.9414, allocations: 376.8 kB / 0.8047 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9415, allocations: 4 kB / 0.8047 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9415, allocations: 0 / 0.8047 GB, free: 1.992 MB / 0.6198 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.0003809/0.9419, allocations: 311.4 kB / 0.805 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.942, allocations: 8.031 kB / 0.805 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.942, allocations: 30.56 kB / 0.8051 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.9421, allocations: 4 kB / 0.8051 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.9423, allocations: 167 kB / 0.8052 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.9423, allocations: 0 / 0.8052 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.9423, allocations: 8 kB / 0.8052 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.9425, allocations: 29.7 kB / 0.8053 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.9425, allocations: 3.938 kB / 0.8053 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.9425, allocations: 0 / 0.8053 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.9425, allocations: 0 / 0.8053 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.9426, allocations: 4 kB / 0.8053 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.943, allocations: 379.5 kB / 0.8056 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.9432, allocations: 177.2 kB / 0.8058 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.9432, allocations: 79.22 kB / 0.8059 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.9433, allocations: 113.8 kB / 0.806 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.9433, allocations: 0 / 0.806 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000106/0.9435, allocations: 25.7 kB / 0.806 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.9436, allocations: 130.7 kB / 0.8061 GB, free: 368 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.9437, allocations: 96.94 kB / 0.8062 GB, free: 264 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.9437, allocations: 25.7 kB / 0.8063 GB, free: 232 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.9438, allocations: 80.14 kB / 0.8063 GB, free: 148 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.9438, allocations: 4 kB / 0.8063 GB, free: 144 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-07/0.9438, allocations: 0 / 0.8063 GB, free: 144 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.944, allocations: 314.8 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.9441, allocations: 0 / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.9441, allocations: 6.422 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.9441, allocations: 83.34 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-05/0.9442, allocations: 75.28 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.938e-05/0.9443, allocations: 29.7 kB / 0.8068 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.9444, allocations: 79.28 kB / 0.8069 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.9445, allocations: 75.28 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.9446, allocations: 162.5 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.9447, allocations: 75.28 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.22e-05/0.9448, allocations: 158.5 kB / 0.8073 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.9449, allocations: 75.28 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.945, allocations: 87.23 kB / 0.8075 GB, free: 14.93 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 () * Number of clocked 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.0001851/0.9452, allocations: 258 kB / 0.8077 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.9453, allocations: 104.9 kB / 0.8078 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.9454, allocations: 112.1 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.232e-05/0.9455, allocations: 184.5 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.171e-05/0.9457, allocations: 180.3 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/0.9458, allocations: 180.3 kB / 0.8085 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.9462, allocations: 409.1 kB / 0.8089 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-05/0.9462, allocations: 101 kB / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.9463, allocations: 108.9 kB / 0.8091 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/0.9464, allocations: 180.3 kB / 0.8092 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.9466, allocations: 184.2 kB / 0.8094 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.322e-05/0.9467, allocations: 180.2 kB / 0.8096 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001189/0.9468, allocations: 176.3 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.947, allocations: 312.5 kB / 0.8101 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.9472, allocations: 190 kB / 0.8102 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.9474, allocations: 180.3 kB / 0.8104 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.9475, allocations: 101 kB / 0.8105 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9477, allocations: 184.2 kB / 0.8107 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.9478, allocations: 109 kB / 0.8108 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.918e-05/0.9479, allocations: 79.28 kB / 0.8109 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.92e-07/0.9479, allocations: 0 / 0.8109 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005127/0.9485, allocations: 0 / 0.8109 GB, free: 11.27 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 () * Number of clocked 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.0006908/0.9492, allocations: 0.8248 MB / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.71e-05/0.9492, allocations: 0 / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.9493, allocations: 4 kB / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.9493, allocations: 0 / 0.8117 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.9499, allocations: 0.5185 MB / 0.8122 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009586/0.9508, allocations: 0.4977 MB / 0.8127 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.9512, allocations: 0.6731 MB / 0.8133 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.393e-05/0.9513, allocations: 0 / 0.8133 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.9513, allocations: 7.438 kB / 0.8133 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.9513, allocations: 8.094 kB / 0.8133 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.9731, allocations: 0.7281 MB / 0.814 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004261/0.9736, allocations: 193.3 kB / 0.8142 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.327, allocations: 0 / 0.8142 GB, free: 7.773 MB / 0.6355 GB