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.Validation.Gain.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.Validation.Gain,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.01161/0.01161, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.00121/0.00121, allocations: 183.5 kB / 15.94 MB, free: 5.941 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 1.965/1.965, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.429/2.429, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007743/0.0007743, allocations: 19.98 kB / 0.5871 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6925/0.6934, allocations: 98.71 MB / 0.6835 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.9815, allocations: 124.2 MB / 0.8048 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.9818, allocations: 71.95 kB / 0.8048 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002136/0.984, allocations: 0.6116 MB / 0.8054 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.984, allocations: 0 / 0.8054 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9841, allocations: 0 / 0.8054 GB, free: 1.227 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004861/0.9846, allocations: 335.3 kB / 0.8058 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.9846, allocations: 16.03 kB / 0.8058 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.9847, allocations: 34.56 kB / 0.8058 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.9847, allocations: 3.906 kB / 0.8058 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.9849, allocations: 175 kB / 0.806 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.9849, allocations: 0 / 0.806 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.9849, allocations: 0 / 0.806 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.9852, allocations: 57.61 kB / 0.806 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9852, allocations: 0 / 0.806 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.9852, allocations: 4 kB / 0.806 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.9853, allocations: 4 kB / 0.806 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.9856, allocations: 39.97 kB / 0.8061 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.9861, allocations: 272.9 kB / 0.8063 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.9863, allocations: 38.56 kB / 0.8064 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9864, allocations: 7.875 kB / 0.8064 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.9864, allocations: 38.56 kB / 0.8064 GB, free: 52 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.9864, allocations: 0 / 0.8064 GB, free: 52 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005864/0.987, allocations: 101.7 kB / 0.8065 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.9871, allocations: 51.41 kB / 0.8066 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.9872, allocations: 100.9 kB / 0.8067 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.9872, allocations: 25.7 kB / 0.8067 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.9873, allocations: 88.14 kB / 0.8068 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.9873, allocations: 3.906 kB / 0.8068 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.9873, allocations: 0 / 0.8068 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9875, allocations: 310.8 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.9877, allocations: 28.02 kB / 0.8071 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.9878, allocations: 23.91 kB / 0.8071 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.988, allocations: 23.98 kB / 0.8071 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.988, allocations: 4.062 kB / 0.8071 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003602/0.9884, allocations: 77.56 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.9884, allocations: 4 kB / 0.8072 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9884, allocations: 4 kB / 0.8072 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.9885, allocations: 0 / 0.8072 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.9886, allocations: 16.02 kB / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.9886, allocations: 0 / 0.8072 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.9887, allocations: 7.984 kB / 0.8072 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.9888, allocations: 7.953 kB / 0.8073 GB, free: 15.14 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 (2): * Single equations (assignments): 2 * 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 9.861e-05/0.9889, allocations: 109.8 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.9889, allocations: 0 / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.989, allocations: 15.11 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.989, allocations: 0 / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.989, allocations: 0 / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.989, allocations: 3.938 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.9892, allocations: 157.6 kB / 0.8075 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9893, allocations: 0 / 0.8075 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.9894, allocations: 11.98 kB / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.9894, allocations: 4 kB / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.9894, allocations: 0 / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9894, allocations: 0 / 0.8075 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9894, allocations: 7.938 kB / 0.8075 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.9898, allocations: 171.5 kB / 0.8077 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.9899, allocations: 81.02 kB / 0.8078 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9899, allocations: 8.031 kB / 0.8078 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.9901, allocations: 7.984 kB / 0.8078 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.9901, allocations: 8 kB / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9901, allocations: 256 / 0.8078 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.9902, allocations: 87.27 kB / 0.8079 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9902, allocations: 0 / 0.8079 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002935/0.9905, allocations: 4 kB / 0.8079 GB, free: 14.38 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 (2): * Single equations (assignments): 2 * 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.000767/0.9913, allocations: 0.7124 MB / 0.8086 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.9916, allocations: 47.97 kB / 0.8086 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9917, allocations: 0 / 0.8086 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.9918, allocations: 35.97 kB / 0.8087 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.9921, allocations: 4 kB / 0.8087 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.9926, allocations: 138.3 kB / 0.8088 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.9929, allocations: 0.6809 MB / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.993, allocations: 0 / 0.8095 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.993, allocations: 15.5 kB / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.993, allocations: 0 / 0.8095 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/1.011, allocations: 1.019 MB / 0.8105 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/1.011, allocations: 185.3 kB / 0.8107 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.647, allocations: 0 / 0.8107 GB, free: 11.51 MB / 0.6355 GB