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.01134/0.01134, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001253/0.001252, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.024/2.024, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.414/2.414, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005266, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7387, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.259/7.998, allocations: 2.194 GB / 2.877 GB, free: 201.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/7.998, allocations: 75.59 kB / 2.877 GB, free: 201 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09904/8.097, allocations: 29.61 MB / 2.906 GB, free: 176.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.344e-06/8.097, allocations: 0 / 2.906 GB, free: 176.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.522e-06/8.097, allocations: 0 / 2.906 GB, free: 176.3 MB / 0.823 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.0004936/8.098, allocations: 398.6 kB / 2.906 GB, free: 175.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/8.098, allocations: 8.031 kB / 2.906 GB, free: 175.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/8.098, allocations: 42.06 kB / 2.906 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005053/8.098, allocations: 35.86 kB / 2.906 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.351e-05/8.098, allocations: 163.1 kB / 2.907 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/8.098, allocations: 3.625 kB / 2.907 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/8.098, allocations: 11.56 kB / 2.907 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/8.099, allocations: 73.73 kB / 2.907 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/8.099, allocations: 0 / 2.907 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/8.099, allocations: 11.64 kB / 2.907 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/8.099, allocations: 4 kB / 2.907 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/8.099, allocations: 39.78 kB / 2.907 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/8.099, allocations: 188.6 kB / 2.907 GB, free: 175.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/8.099, allocations: 85.64 kB / 2.907 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/8.099, allocations: 178.5 kB / 2.907 GB, free: 175 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/8.099, allocations: 42.31 kB / 2.907 GB, free: 174.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/8.1, allocations: 0 / 2.907 GB, free: 174.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.001766/8.101, allocations: 0.5416 MB / 2.908 GB, free: 174.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/8.101, allocations: 55.36 kB / 2.908 GB, free: 174.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/8.101, allocations: 92.62 kB / 2.908 GB, free: 174.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/8.101, allocations: 29.39 kB / 2.908 GB, free: 174.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/8.101, allocations: 80.52 kB / 2.908 GB, free: 174.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/8.102, allocations: 70.19 kB / 2.908 GB, free: 174.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/8.102, allocations: 4 kB / 2.908 GB, free: 174.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/8.102, allocations: 322.6 kB / 2.908 GB, free: 173.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/8.102, allocations: 39.3 kB / 2.908 GB, free: 173.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/8.102, allocations: 66.39 kB / 2.908 GB, free: 173.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/8.102, allocations: 58.53 kB / 2.909 GB, free: 173.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/8.102, allocations: 0 / 2.909 GB, free: 173.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002988/8.102, allocations: 146.8 kB / 2.909 GB, free: 173.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/8.102, allocations: 11.94 kB / 2.909 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/8.102, allocations: 4 kB / 2.909 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/8.102, allocations: 7.984 kB / 2.909 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/8.103, allocations: 35.92 kB / 2.909 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/8.103, allocations: 7.953 kB / 2.909 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.879e-05/8.103, allocations: 3.875 kB / 2.909 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/8.103, allocations: 11.69 kB / 2.909 GB, free: 173.4 MB / 0.823 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 9.486e-05/8.103, allocations: 121.2 kB / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/8.103, allocations: 7.906 kB / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/8.103, allocations: 15.5 kB / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/8.103, allocations: 8 kB / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/8.103, allocations: 0 / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/8.103, allocations: 7.938 kB / 2.909 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/8.103, allocations: 196.4 kB / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/8.103, allocations: 0 / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/8.104, allocations: 35.98 kB / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/8.104, allocations: 3.984 kB / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/8.104, allocations: 3.688 kB / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/8.104, allocations: 0 / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/8.104, allocations: 7.938 kB / 2.909 GB, free: 173 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/8.104, allocations: 208.2 kB / 2.909 GB, free: 172.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/8.104, allocations: 100.7 kB / 2.909 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/8.104, allocations: 0 / 2.909 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/8.104, allocations: 7.812 kB / 2.909 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/8.105, allocations: 7.984 kB / 2.909 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/8.105, allocations: 7.625 kB / 2.909 GB, free: 172.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.362e-05/8.105, allocations: 79.28 kB / 2.91 GB, free: 172.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.81e-07/8.105, allocations: 4.094 kB / 2.91 GB, free: 172.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004327/8.105, allocations: 70.31 kB / 2.91 GB, free: 172.6 MB / 0.823 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.001254/8.106, allocations: 1.203 MB / 2.911 GB, free: 171.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002723/8.107, allocations: 102.3 kB / 2.911 GB, free: 171.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/8.107, allocations: 0 / 2.911 GB, free: 171.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/8.107, allocations: 61.92 kB / 2.911 GB, free: 171.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/8.107, allocations: 11.67 kB / 2.911 GB, free: 171.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/8.109, allocations: 1.452 MB / 2.912 GB, free: 169.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/8.109, allocations: 0.7011 MB / 2.913 GB, free: 169.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002197/8.109, allocations: 28.61 kB / 2.913 GB, free: 169.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/8.109, allocations: 22.5 kB / 2.913 GB, free: 169 MB / 0.823 GB Notification: Performance of SimCode: time 8.82e-07/8.109, allocations: 0 / 2.913 GB, free: 169 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/8.143, allocations: 11.11 MB / 2.924 GB, free: 158 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/8.144, allocations: 176.9 kB / 2.924 GB, free: 157.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/11.05, allocations: 0 / 2.924 GB, free: 157.8 MB / 0.823 GB