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/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.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.259/4.259, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.199e-05, allocations: 3.594 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 98.73 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.976/7.223, allocations: 2.203 GB / 2.832 GB, free: 134.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/7.224, allocations: 71.72 kB / 2.832 GB, free: 134.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.106/7.33, allocations: 29.02 MB / 2.861 GB, free: 110.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.873e-06/7.33, allocations: 7.875 kB / 2.861 GB, free: 110.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.374e-06/7.33, allocations: 0 / 2.861 GB, free: 110.6 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.0004569/7.33, allocations: 389.7 kB / 2.861 GB, free: 110.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/7.33, allocations: 8.031 kB / 2.861 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/7.331, allocations: 31.88 kB / 2.861 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/7.331, allocations: 167.1 kB / 2.861 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/7.331, allocations: 0 / 2.861 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/7.331, allocations: 11.94 kB / 2.861 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/7.331, allocations: 31.53 kB / 2.861 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/7.331, allocations: 68.62 kB / 2.861 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/7.331, allocations: 4 kB / 2.861 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/7.331, allocations: 4 kB / 2.861 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/7.331, allocations: 0 / 2.861 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/7.331, allocations: 157.2 kB / 2.861 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/7.332, allocations: 77.33 kB / 2.862 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/7.332, allocations: 24.69 kB / 2.862 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/7.332, allocations: 178.2 kB / 2.862 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/7.332, allocations: 38.19 kB / 2.862 GB, free: 109.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/7.332, allocations: 0 / 2.862 GB, free: 109.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=19): time 0.00163/7.334, allocations: 490.9 kB / 2.862 GB, free: 108.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/7.334, allocations: 55.36 kB / 2.862 GB, free: 108.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/7.334, allocations: 89 kB / 2.862 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/7.334, allocations: 25.7 kB / 2.862 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/7.334, allocations: 80.52 kB / 2.862 GB, free: 108.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/7.334, allocations: 70.25 kB / 2.863 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/7.334, allocations: 4.062 kB / 2.863 GB, free: 108.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.38e-05/7.334, allocations: 330.5 kB / 2.863 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/7.334, allocations: 26.75 kB / 2.863 GB, free: 108.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/7.334, allocations: 65.97 kB / 2.863 GB, free: 108.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/7.334, allocations: 42.66 kB / 2.863 GB, free: 108 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/7.334, allocations: 3.984 kB / 2.863 GB, free: 108 MB / 0.823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002707/7.335, allocations: 135.4 kB / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/7.335, allocations: 12 kB / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/7.335, allocations: 0 / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/7.335, allocations: 0 / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/7.335, allocations: 35.98 kB / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/7.335, allocations: 4 kB / 2.863 GB, free: 107.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/7.335, allocations: 7.938 kB / 2.863 GB, free: 107.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/7.335, allocations: 7.688 kB / 2.863 GB, free: 107.8 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 7.881e-05/7.335, allocations: 110.1 kB / 2.863 GB, free: 107.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002123/7.335, allocations: 112.2 kB / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/7.336, allocations: 8 kB / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/7.336, allocations: 15.41 kB / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/7.336, allocations: 4 kB / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/7.336, allocations: 0 / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/7.336, allocations: 3.984 kB / 2.863 GB, free: 107.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/7.336, allocations: 165.5 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/7.336, allocations: 3.984 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/7.336, allocations: 31.98 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/7.336, allocations: 4 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/7.336, allocations: 0 / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/7.336, allocations: 3.984 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.336, allocations: 4 kB / 2.864 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/7.337, allocations: 196.7 kB / 2.864 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/7.337, allocations: 88.97 kB / 2.864 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/7.337, allocations: 0 / 2.864 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/7.337, allocations: 8.234 kB / 2.864 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/7.337, allocations: 11.98 kB / 2.864 GB, free: 107.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/7.337, allocations: 8 kB / 2.864 GB, free: 107.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.425e-05/7.337, allocations: 82.97 kB / 2.864 GB, free: 107 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.883e-06/7.337, allocations: 0 / 2.864 GB, free: 107 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004063/7.337, allocations: 50.3 kB / 2.864 GB, free: 107 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.001321/7.339, allocations: 1.268 MB / 2.865 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002594/7.339, allocations: 89.8 kB / 2.865 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/7.339, allocations: 8 kB / 2.865 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/7.339, allocations: 47.36 kB / 2.865 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/7.339, allocations: 12.05 kB / 2.865 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/7.341, allocations: 499.5 kB / 2.866 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/7.341, allocations: 0.7047 MB / 2.867 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002239/7.341, allocations: 24.77 kB / 2.867 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/7.341, allocations: 26.69 kB / 2.867 GB, free: 104.3 MB / 0.823 GB Notification: Performance of SimCode: time 8.82e-07/7.341, allocations: 0 / 2.867 GB, free: 104.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0446/7.386, allocations: 6.161 MB / 2.873 GB, free: 98.14 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/7.386, allocations: 138.4 kB / 2.873 GB, free: 97.95 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/10.16, allocations: 4 kB / 2.873 GB, free: 97.94 MB / 0.823 GB