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/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.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.379/4.379, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.676e-05, allocations: 4.328 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2236, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.24/15.46, allocations: 4.66 GB / 5.295 GB, free: 109.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/15.46, allocations: 84.84 kB / 5.295 GB, free: 109.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1379/15.6, allocations: 36.43 MB / 5.331 GB, free: 79.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/15.6, allocations: 0 / 5.331 GB, free: 79.47 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.702e-06/15.6, allocations: 0 / 5.331 GB, free: 79.47 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.0003452/15.6, allocations: 346.2 kB / 5.331 GB, free: 79.09 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/15.6, allocations: 12.03 kB / 5.331 GB, free: 79.08 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/15.6, allocations: 30.56 kB / 5.331 GB, free: 79.04 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/15.6, allocations: 15.98 kB / 5.331 GB, free: 79.03 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.313e-05/15.6, allocations: 163.1 kB / 5.331 GB, free: 78.83 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/15.6, allocations: 7.75 kB / 5.331 GB, free: 78.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/15.6, allocations: 0 / 5.331 GB, free: 78.82 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/15.6, allocations: 57.38 kB / 5.331 GB, free: 78.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/15.6, allocations: 4 kB / 5.331 GB, free: 78.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/15.6, allocations: 0 / 5.331 GB, free: 78.77 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/15.6, allocations: 0 / 5.331 GB, free: 78.77 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/15.6, allocations: 19.62 kB / 5.331 GB, free: 78.75 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/15.6, allocations: 172.9 kB / 5.332 GB, free: 78.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/15.6, allocations: 45.2 kB / 5.332 GB, free: 78.49 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/15.6, allocations: 12.86 kB / 5.332 GB, free: 78.48 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/15.6, allocations: 0 / 5.332 GB, free: 78.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/15.6, allocations: 46.02 kB / 5.332 GB, free: 78.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/15.6, allocations: 0 / 5.332 GB, free: 78.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0008191/15.61, allocations: 362.6 kB / 5.332 GB, free: 78.05 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/15.61, allocations: 55.41 kB / 5.332 GB, free: 77.98 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/15.61, allocations: 85 kB / 5.332 GB, free: 77.89 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/15.61, allocations: 29.58 kB / 5.332 GB, free: 77.86 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.774e-05/15.61, allocations: 84.14 kB / 5.332 GB, free: 77.78 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/15.61, allocations: 39.17 kB / 5.332 GB, free: 77.74 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/15.61, allocations: 3.312 kB / 5.332 GB, free: 77.74 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/15.61, allocations: 318.8 kB / 5.333 GB, free: 77.42 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/15.61, allocations: 23.19 kB / 5.333 GB, free: 77.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/15.61, allocations: 33.28 kB / 5.333 GB, free: 77.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.198e-05/15.61, allocations: 19.61 kB / 5.333 GB, free: 77.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/15.61, allocations: 0 / 5.333 GB, free: 77.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001766/15.61, allocations: 96.25 kB / 5.333 GB, free: 77.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/15.61, allocations: 8 kB / 5.333 GB, free: 77.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/15.61, allocations: 0 / 5.333 GB, free: 77.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/15.61, allocations: 4 kB / 5.333 GB, free: 77.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/15.61, allocations: 27.92 kB / 5.333 GB, free: 77.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/15.61, allocations: 0 / 5.333 GB, free: 77.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/15.61, allocations: 3.938 kB / 5.333 GB, free: 77.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/15.61, allocations: 4 kB / 5.333 GB, free: 77.23 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.189e-05/15.61, allocations: 112 kB / 5.333 GB, free: 77.12 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/15.61, allocations: 7.859 kB / 5.333 GB, free: 77.11 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/15.61, allocations: 19.89 kB / 5.333 GB, free: 77.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/15.61, allocations: 4 kB / 5.333 GB, free: 77.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/15.61, allocations: 7.875 kB / 5.333 GB, free: 77.08 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/15.61, allocations: 0 / 5.333 GB, free: 77.08 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/15.61, allocations: 173.3 kB / 5.333 GB, free: 76.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/15.61, allocations: 0 / 5.333 GB, free: 76.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/15.61, allocations: 19.94 kB / 5.333 GB, free: 76.85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/15.61, allocations: 4 kB / 5.333 GB, free: 76.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/15.61, allocations: 3.953 kB / 5.333 GB, free: 76.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/15.61, allocations: 0 / 5.333 GB, free: 76.84 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/15.61, allocations: 0 / 5.333 GB, free: 76.84 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/15.61, allocations: 130.6 kB / 5.333 GB, free: 76.72 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/15.61, allocations: 89.05 kB / 5.333 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/15.61, allocations: 3.625 kB / 5.333 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/15.61, allocations: 11.89 kB / 5.333 GB, free: 76.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/15.61, allocations: 7.984 kB / 5.333 GB, free: 76.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/15.61, allocations: 3.438 kB / 5.333 GB, free: 76.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.42e-05/15.61, allocations: 79.28 kB / 5.333 GB, free: 76.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.91e-07/15.61, allocations: 96 / 5.333 GB, free: 76.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004014/15.61, allocations: 53.67 kB / 5.333 GB, free: 76.48 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.001182/15.61, allocations: 1.132 MB / 5.335 GB, free: 75.36 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001894/15.61, allocations: 58 kB / 5.335 GB, free: 75.32 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/15.61, allocations: 0 / 5.335 GB, free: 75.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.998e-05/15.61, allocations: 30.94 kB / 5.335 GB, free: 75.29 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/15.61, allocations: 7.938 kB / 5.335 GB, free: 75.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/15.61, allocations: 322.4 kB / 5.335 GB, free: 74.95 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/15.61, allocations: 0.6927 MB / 5.336 GB, free: 74.23 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001117/15.61, allocations: 12.66 kB / 5.336 GB, free: 74.21 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/15.61, allocations: 15.38 kB / 5.336 GB, free: 74.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.054e-06/15.61, allocations: 0 / 5.336 GB, free: 74.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/15.66, allocations: 12.64 MB / 5.348 GB, free: 61.62 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/15.66, allocations: 171.3 kB / 5.348 GB, free: 61.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.128/18.78, allocations: 3.938 kB / 5.348 GB, free: 61.39 MB / 0.823 GB