Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.276/4.276, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.898e-05, allocations: 2.094 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 98.72 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.3/15.53, allocations: 4.66 GB / 5.289 GB, free: 176.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/15.53, allocations: 84.56 kB / 5.289 GB, free: 176.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1413/15.67, allocations: 35.79 MB / 5.324 GB, free: 147.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/15.67, allocations: 4 kB / 5.324 GB, free: 147.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.182e-06/15.67, allocations: 0 / 5.324 GB, free: 147.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003428/15.67, allocations: 341.8 kB / 5.324 GB, free: 146.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/15.67, allocations: 8.031 kB / 5.324 GB, free: 146.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/15.67, allocations: 15.92 kB / 5.324 GB, free: 146.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.202e-05/15.67, allocations: 163.1 kB / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/15.67, allocations: 0 / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/15.67, allocations: 7.953 kB / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.503e-05/15.67, allocations: 19.42 kB / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.809e-05/15.67, allocations: 45.17 kB / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/15.67, allocations: 0 / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/15.67, allocations: 0 / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/15.67, allocations: 0 / 5.324 GB, free: 146.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/15.67, allocations: 149.9 kB / 5.324 GB, free: 146.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.464e-05/15.67, allocations: 54.38 kB / 5.324 GB, free: 146.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/15.67, allocations: 12.55 kB / 5.324 GB, free: 146.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/15.67, allocations: 0 / 5.324 GB, free: 146.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/15.67, allocations: 34.56 kB / 5.324 GB, free: 146.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/15.67, allocations: 0 / 5.324 GB, free: 146.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0008036/15.67, allocations: 336.1 kB / 5.325 GB, free: 145.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/15.67, allocations: 51.41 kB / 5.325 GB, free: 145.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/15.67, allocations: 88.56 kB / 5.325 GB, free: 145.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/15.67, allocations: 25.7 kB / 5.325 GB, free: 145.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/15.67, allocations: 84.14 kB / 5.325 GB, free: 145.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/15.67, allocations: 39.23 kB / 5.325 GB, free: 145.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/15.67, allocations: 0 / 5.325 GB, free: 145.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.209e-05/15.67, allocations: 318.8 kB / 5.325 GB, free: 145.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/15.67, allocations: 15.94 kB / 5.325 GB, free: 145.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/15.67, allocations: 37.31 kB / 5.325 GB, free: 145.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/15.67, allocations: 23.86 kB / 5.325 GB, free: 145.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/15.67, allocations: 0 / 5.325 GB, free: 145.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001708/15.67, allocations: 76.98 kB / 5.325 GB, free: 145.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/15.67, allocations: 13.2 kB / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/15.67, allocations: 0 / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/15.67, allocations: 0 / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/15.67, allocations: 27.94 kB / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/15.67, allocations: 0 / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/15.67, allocations: 3.984 kB / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/15.67, allocations: 7.625 kB / 5.326 GB, free: 145.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.808e-05/15.67, allocations: 104.9 kB / 5.326 GB, free: 145 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001308/15.67, allocations: 76.41 kB / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/15.67, allocations: 7.953 kB / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/15.67, allocations: 7.781 kB / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/15.67, allocations: 0 / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/15.67, allocations: 12 kB / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/15.67, allocations: 0 / 5.326 GB, free: 144.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/15.67, allocations: 149.3 kB / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/15.67, allocations: 0 / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/15.67, allocations: 16 kB / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/15.67, allocations: 3.984 kB / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/15.67, allocations: 7.953 kB / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/15.67, allocations: 0 / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/15.67, allocations: 480 / 5.326 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/15.67, allocations: 131.7 kB / 5.326 GB, free: 144.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/15.67, allocations: 81.14 kB / 5.326 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/15.67, allocations: 4 kB / 5.326 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/15.67, allocations: 11.88 kB / 5.326 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/15.67, allocations: 4 kB / 5.326 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/15.67, allocations: 7.938 kB / 5.326 GB, free: 144.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.225e-05/15.67, allocations: 75.28 kB / 5.326 GB, free: 144.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.8e-07/15.67, allocations: 0 / 5.326 GB, free: 144.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003663/15.67, allocations: 38.08 kB / 5.326 GB, free: 144.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001193/15.67, allocations: 1.23 MB / 5.327 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001595/15.67, allocations: 43.12 kB / 5.327 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/15.67, allocations: 0 / 5.327 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.001e-05/15.67, allocations: 31.73 kB / 5.328 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/15.67, allocations: 3.953 kB / 5.328 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/15.67, allocations: 321.7 kB / 5.328 GB, free: 142.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/15.67, allocations: 0.6963 MB / 5.329 GB, free: 142 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001147/15.67, allocations: 4.672 kB / 5.329 GB, free: 142 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/15.67, allocations: 22.56 kB / 5.329 GB, free: 142 MB / 0.823 GB Notification: Performance of SimCode: time 9.22e-07/15.67, allocations: 4 kB / 5.329 GB, free: 142 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09519/15.77, allocations: 5.72 MB / 5.334 GB, free: 136.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/15.77, allocations: 165.8 kB / 5.334 GB, free: 136.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/18.64, allocations: 0 / 5.334 GB, free: 136.1 MB / 0.823 GB