Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirDerivativeCheck",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.01227/0.01227, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001175/0.001175, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.757/3.757, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.266/4.266, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006839/0.0006842, allocations: 15.94 kB / 1.008 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6438, allocations: 98.72 MB / 1.104 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001409/0.6453, allocations: 1.027 MB / 1.105 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.2124/0.8577, allocations: 134.4 MB / 1.236 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.8578, allocations: 0 / 1.236 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.8578, allocations: 0 / 1.236 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.8579, allocations: 15.91 kB / 1.236 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.8589, allocations: 218.8 kB / 1.237 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.859, allocations: 71.75 kB / 1.237 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.8591, allocations: 4 kB / 1.237 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.8592, allocations: 35.91 kB / 1.237 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.8593, allocations: 35.89 kB / 1.237 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.8593, allocations: 4 kB / 1.237 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.8602, allocations: 243.2 kB / 1.237 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.8603, allocations: 19.97 kB / 1.237 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.8603, allocations: 33.7 kB / 1.237 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.8606, allocations: 101.3 kB / 1.237 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8606, allocations: 0 / 1.237 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8606, allocations: 3.938 kB / 1.237 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.8606, allocations: 4 kB / 1.237 GB, free: 2.105 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004995/0.8611, allocations: 367.3 kB / 1.237 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8612, allocations: 12.03 kB / 1.237 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.8613, allocations: 38.55 kB / 1.237 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.8618, allocations: 39.86 kB / 1.238 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8619, allocations: 159.1 kB / 1.238 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.862, allocations: 8 kB / 1.238 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.862, allocations: 15.91 kB / 1.238 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.8622, allocations: 81.58 kB / 1.238 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.8623, allocations: 7.891 kB / 1.238 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8623, allocations: 0 / 1.238 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.8623, allocations: 4 kB / 1.238 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.8625, allocations: 47.89 kB / 1.238 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.8627, allocations: 181.6 kB / 1.238 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.863, allocations: 90.69 kB / 1.238 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.506e-05/0.8631, allocations: 36.78 kB / 1.238 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.8634, allocations: 174.2 kB / 1.238 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.8635, allocations: 34.56 kB / 1.238 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.8635, allocations: 0 / 1.238 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001864/0.8653, allocations: 0.5479 MB / 1.239 GB, free: 28 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.8654, allocations: 55.41 kB / 1.239 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.98e-05/0.8655, allocations: 101.8 kB / 1.239 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.8656, allocations: 29.7 kB / 1.239 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.8656, allocations: 84.64 kB / 1.239 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/0.8657, allocations: 67 kB / 1.239 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.8657, allocations: 7.938 kB / 1.239 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8659, allocations: 322.8 kB / 1.239 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.866, allocations: 31.98 kB / 1.24 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.8661, allocations: 71.27 kB / 1.24 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.8663, allocations: 55.98 kB / 1.24 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8663, allocations: 0 / 1.24 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003484/0.8667, allocations: 145.5 kB / 1.24 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.8667, allocations: 11.98 kB / 1.24 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8667, allocations: 0 / 1.24 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.8667, allocations: 7.953 kB / 1.24 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.8671, allocations: 39.92 kB / 1.24 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8671, allocations: 7.938 kB / 1.24 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.8672, allocations: 0 / 1.24 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.8672, allocations: 12 kB / 1.24 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.000119/0.8673, allocations: 121.8 kB / 1.24 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.8674, allocations: 7.906 kB / 1.24 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.8674, allocations: 16.44 kB / 1.24 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8674, allocations: 7.953 kB / 1.24 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8675, allocations: 0 / 1.24 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.8675, allocations: 3.984 kB / 1.24 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.8677, allocations: 193.6 kB / 1.24 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8677, allocations: 0 / 1.24 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.8681, allocations: 39.92 kB / 1.24 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8682, allocations: 0 / 1.24 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.8682, allocations: 8 kB / 1.24 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8682, allocations: 3.938 kB / 1.24 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8682, allocations: 7.953 kB / 1.24 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.8687, allocations: 200.9 kB / 1.24 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8688, allocations: 93 kB / 1.241 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.8688, allocations: 4.062 kB / 1.241 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8691, allocations: 4 kB / 1.241 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.8691, allocations: 19.94 kB / 1.241 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.8692, allocations: 8.25 kB / 1.241 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.8692, allocations: 79.27 kB / 1.241 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/0.8692, allocations: 3.938 kB / 1.241 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002923/0.8695, allocations: 28 kB / 1.241 GB, free: 14.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0007773/0.8703, allocations: 0.7516 MB / 1.241 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.8706, allocations: 108.2 kB / 1.242 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8706, allocations: 0 / 1.242 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.8708, allocations: 51.92 kB / 1.242 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.8711, allocations: 12 kB / 1.242 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.8731, allocations: 1.008 MB / 1.243 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.8734, allocations: 0.7128 MB / 1.243 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.8737, allocations: 24.61 kB / 1.243 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.8738, allocations: 23.44 kB / 1.243 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.8738, allocations: 4 kB / 1.243 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.896, allocations: 2.121 MB / 1.245 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.8963, allocations: 180.5 kB / 1.246 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.289, allocations: 0 / 1.246 GB, free: 8.961 MB / 0.6511 GB