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 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.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 loadModel(Buildings): time 4.161/4.161, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.892e-05, allocations: 8.719 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 98.74 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/0.4468, allocations: 123.5 MB / 0.7495 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4471, allocations: 75.94 kB / 0.7496 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002142/0.4493, allocations: 0.6061 MB / 0.7502 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4493, allocations: 0 / 0.7502 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4493, allocations: 0 / 0.7502 GB, free: 12.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004621/0.4498, allocations: 338.5 kB / 0.7505 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4499, allocations: 8.031 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4499, allocations: 7.953 kB / 0.7505 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4501, allocations: 167.1 kB / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.4501, allocations: 0 / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.4501, allocations: 0 / 0.7507 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.84e-05/0.4502, allocations: 15.94 kB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.4503, allocations: 29.7 kB / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4503, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4503, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4503, allocations: 0 / 0.7507 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.4509, allocations: 253.4 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.451, allocations: 26.58 kB / 0.751 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.451, allocations: 12.92 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.4511, allocations: 0 / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4511, allocations: 34.5 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.4511, allocations: 4 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001698/0.4513, allocations: 37.7 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.4513, allocations: 55.39 kB / 0.7511 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.4514, allocations: 97.19 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4515, allocations: 25.7 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.4515, allocations: 80.14 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4516, allocations: 7.844 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4516, allocations: 0 / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4518, allocations: 334.8 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.4518, allocations: 0 / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.4518, allocations: 11.94 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.4519, allocations: 4 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4519, allocations: 0 / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/0.452, allocations: 41.64 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.452, allocations: 5.562 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.452, allocations: 4.062 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4521, allocations: 4 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4522, allocations: 16.08 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4523, allocations: 0 / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.4524, allocations: 7.984 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4524, allocations: 4 kB / 0.7517 GB, free: 11.02 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 (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 8.524e-05/0.4525, allocations: 104.9 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001023/0.4526, allocations: 37.7 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.4526, allocations: 7.906 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.4527, allocations: 7.781 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4527, allocations: 3.984 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4527, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4527, allocations: 7.938 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.4529, allocations: 138.2 kB / 0.752 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4529, allocations: 3.938 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.453, allocations: 15.98 kB / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4531, allocations: 0 / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4531, allocations: 0 / 0.752 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4531, allocations: 4 kB / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4531, allocations: 0 / 0.752 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4533, allocations: 139.5 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.4533, allocations: 81.09 kB / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4534, allocations: 0 / 0.7522 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4535, allocations: 8 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.4536, allocations: 8.016 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.4536, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.4536, allocations: 79.28 kB / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4537, allocations: 0 / 0.7523 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002801/0.4539, allocations: 4 kB / 0.7523 GB, free: 10.3 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 () * 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.0005795/0.4545, allocations: 0.6889 MB / 0.753 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.4547, allocations: 12 kB / 0.753 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4547, allocations: 0 / 0.753 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.4547, allocations: 4 kB / 0.753 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.455, allocations: 8 kB / 0.753 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.4554, allocations: 85.53 kB / 0.7531 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4558, allocations: 0.6847 MB / 0.7538 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.4558, allocations: 0 / 0.7538 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.4559, allocations: 15.42 kB / 0.7538 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4559, allocations: 0 / 0.7538 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/0.5519, allocations: 0.7098 MB / 0.7545 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/0.5523, allocations: 147.2 kB / 0.7546 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.889, allocations: 0 / 0.7546 GB, free: 7.816 MB / 0.6355 GB