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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.208/4.208, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.493e-05, allocations: 4.047 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.292/7.524, allocations: 2.204 GB / 2.839 GB, free: 100.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/7.524, allocations: 68.91 kB / 2.839 GB, free: 100.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1218/7.646, allocations: 29.56 MB / 2.868 GB, free: 75.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/7.646, allocations: 0 / 2.868 GB, free: 75.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.466e-06/7.646, allocations: 4 kB / 2.868 GB, free: 75.75 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.0005251/7.647, allocations: 388.1 kB / 2.868 GB, free: 75.34 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/7.647, allocations: 12.03 kB / 2.868 GB, free: 75.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/7.647, allocations: 38.3 kB / 2.868 GB, free: 75.28 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/7.647, allocations: 31.88 kB / 2.868 GB, free: 75.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/7.647, allocations: 167.1 kB / 2.868 GB, free: 75.05 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/7.647, allocations: 7.688 kB / 2.868 GB, free: 75.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/7.648, allocations: 7.875 kB / 2.868 GB, free: 75.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/7.648, allocations: 68.67 kB / 2.868 GB, free: 74.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/7.648, allocations: 0 / 2.868 GB, free: 74.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/7.648, allocations: 11.77 kB / 2.868 GB, free: 74.97 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/7.648, allocations: 11.92 kB / 2.868 GB, free: 74.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/7.648, allocations: 31.86 kB / 2.868 GB, free: 74.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/7.648, allocations: 196.8 kB / 2.869 GB, free: 74.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/7.648, allocations: 78.81 kB / 2.869 GB, free: 74.63 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/7.648, allocations: 28.42 kB / 2.869 GB, free: 74.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/7.649, allocations: 189.9 kB / 2.869 GB, free: 74.39 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/7.649, allocations: 30.56 kB / 2.869 GB, free: 74.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/7.649, allocations: 0 / 2.869 GB, free: 74.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.00174/7.651, allocations: 0.5182 MB / 2.869 GB, free: 73.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/7.651, allocations: 55.39 kB / 2.869 GB, free: 73.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/7.651, allocations: 89 kB / 2.869 GB, free: 73.68 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/7.651, allocations: 29.39 kB / 2.87 GB, free: 73.64 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/7.651, allocations: 84.33 kB / 2.87 GB, free: 73.56 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/7.651, allocations: 66.62 kB / 2.87 GB, free: 73.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/7.651, allocations: 8 kB / 2.87 GB, free: 73.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/7.651, allocations: 322.6 kB / 2.87 GB, free: 73.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/7.651, allocations: 31.44 kB / 2.87 GB, free: 73.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/7.651, allocations: 76.75 kB / 2.87 GB, free: 73.08 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/7.651, allocations: 39.47 kB / 2.87 GB, free: 73.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/7.651, allocations: 0 / 2.87 GB, free: 73.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003217/7.652, allocations: 156.3 kB / 2.87 GB, free: 72.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/7.652, allocations: 8 kB / 2.87 GB, free: 72.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/7.652, allocations: 0 / 2.87 GB, free: 72.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/7.652, allocations: 7.984 kB / 2.87 GB, free: 72.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/7.652, allocations: 39.92 kB / 2.87 GB, free: 72.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/7.652, allocations: 4.109 kB / 2.87 GB, free: 72.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/7.652, allocations: 7.812 kB / 2.87 GB, free: 72.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/7.652, allocations: 11.98 kB / 2.87 GB, free: 72.85 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 () * 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.646e-05/7.652, allocations: 116.2 kB / 2.87 GB, free: 72.73 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/7.652, allocations: 7.906 kB / 2.87 GB, free: 72.73 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/7.652, allocations: 19.53 kB / 2.87 GB, free: 72.72 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/7.653, allocations: 4 kB / 2.87 GB, free: 72.71 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/7.653, allocations: 3.984 kB / 2.87 GB, free: 72.71 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/7.653, allocations: 3.953 kB / 2.87 GB, free: 72.71 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/7.653, allocations: 193.2 kB / 2.871 GB, free: 72.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/7.653, allocations: 0 / 2.871 GB, free: 72.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/7.653, allocations: 35.92 kB / 2.871 GB, free: 72.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/7.653, allocations: 4 kB / 2.871 GB, free: 72.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/7.653, allocations: 7.75 kB / 2.871 GB, free: 72.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/7.653, allocations: 0 / 2.871 GB, free: 72.44 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/7.653, allocations: 0 / 2.871 GB, free: 72.44 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/7.654, allocations: 209.4 kB / 2.871 GB, free: 72.26 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/7.654, allocations: 93 kB / 2.871 GB, free: 72.15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/7.654, allocations: 3.688 kB / 2.871 GB, free: 72.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/7.654, allocations: 11.81 kB / 2.871 GB, free: 72.14 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/7.654, allocations: 7.984 kB / 2.871 GB, free: 72.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/7.654, allocations: 11.98 kB / 2.871 GB, free: 72.12 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.548e-05/7.654, allocations: 87.17 kB / 2.871 GB, free: 72.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 4e-07/7.654, allocations: 0 / 2.871 GB, free: 72.04 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004453/7.655, allocations: 58.98 kB / 2.871 GB, free: 72 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 () * 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.001394/7.656, allocations: 1.185 MB / 2.872 GB, free: 70.85 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003212/7.656, allocations: 110.4 kB / 2.872 GB, free: 70.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/7.656, allocations: 4 kB / 2.872 GB, free: 70.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/7.657, allocations: 55.48 kB / 2.872 GB, free: 70.71 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/7.657, allocations: 11.62 kB / 2.873 GB, free: 70.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/7.658, allocations: 0.5053 MB / 2.873 GB, free: 70.18 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/7.658, allocations: 0.7011 MB / 2.874 GB, free: 69.45 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002341/7.659, allocations: 32.73 kB / 2.874 GB, free: 69.42 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/7.659, allocations: 23.19 kB / 2.874 GB, free: 69.41 MB / 0.823 GB Notification: Performance of SimCode: time 2.144e-06/7.659, allocations: 0 / 2.874 GB, free: 69.41 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04497/7.704, allocations: 12.82 MB / 2.886 GB, free: 56.64 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003693/7.704, allocations: 158.2 kB / 2.886 GB, free: 56.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/10.84, allocations: 0 / 2.886 GB, free: 56.4 MB / 0.823 GB