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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01593/0.01593, allocations: 107.1 kB / 15.05 MB, free: 5.934 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.0012/0.001199, allocations: 185.6 kB / 15.94 MB, free: 5.898 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.121/2.121, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.318/2.318, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007291/0.0007292, allocations: 20 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7526, allocations: 98.72 MB / 0.6834 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.54/16.29, allocations: 4.655 GB / 5.339 GB, free: 222.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004434/16.29, allocations: 83.83 kB / 5.339 GB, free: 222.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1562/16.44, allocations: 36.52 MB / 5.374 GB, free: 204.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.627e-06/16.44, allocations: 4 kB / 5.374 GB, free: 204.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.908e-06/16.44, allocations: 0 / 5.374 GB, free: 204.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005917/16.45, allocations: 350.9 kB / 5.375 GB, free: 203.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/16.45, allocations: 8.031 kB / 5.375 GB, free: 203.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/16.45, allocations: 38.5 kB / 5.375 GB, free: 203.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/16.45, allocations: 15.92 kB / 5.375 GB, free: 203.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/16.45, allocations: 159.1 kB / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/16.45, allocations: 7.75 kB / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/16.45, allocations: 7.906 kB / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/16.45, allocations: 57.12 kB / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/16.45, allocations: 4 kB / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/16.45, allocations: 0 / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/16.45, allocations: 0 / 5.375 GB, free: 203.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.537e-05/16.45, allocations: 19.86 kB / 5.375 GB, free: 203.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/16.45, allocations: 164.9 kB / 5.375 GB, free: 203.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/16.45, allocations: 57.92 kB / 5.375 GB, free: 203.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/16.45, allocations: 0 / 5.375 GB, free: 203.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/16.45, allocations: 34.56 kB / 5.375 GB, free: 203.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/16.45, allocations: 0 / 5.375 GB, free: 203.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0009639/16.45, allocations: 362.9 kB / 5.376 GB, free: 202.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/16.45, allocations: 55.34 kB / 5.376 GB, free: 202.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/16.45, allocations: 89 kB / 5.376 GB, free: 202.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/16.45, allocations: 33.31 kB / 5.376 GB, free: 202.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/16.45, allocations: 84.27 kB / 5.376 GB, free: 202.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/16.45, allocations: 47.05 kB / 5.376 GB, free: 202.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/16.45, allocations: 0 / 5.376 GB, free: 202.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/16.45, allocations: 326.5 kB / 5.376 GB, free: 202.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/16.45, allocations: 15.36 kB / 5.376 GB, free: 202.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/16.45, allocations: 41.52 kB / 5.376 GB, free: 202.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/16.45, allocations: 23.97 kB / 5.376 GB, free: 202.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/16.45, allocations: 0 / 5.376 GB, free: 202.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001735/16.45, allocations: 99.67 kB / 5.376 GB, free: 202.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/16.45, allocations: 9.359 kB / 5.376 GB, free: 202.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/16.45, allocations: 0 / 5.376 GB, free: 202.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/16.45, allocations: 0 / 5.376 GB, free: 202.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/16.45, allocations: 23.98 kB / 5.376 GB, free: 202 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/16.45, allocations: 0 / 5.376 GB, free: 202 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/16.45, allocations: 7.562 kB / 5.376 GB, free: 202 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/16.45, allocations: 0 / 5.376 GB, free: 202 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 () * Number of clocked 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 7.801e-05/16.45, allocations: 121.3 kB / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/16.45, allocations: 11.91 kB / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/16.45, allocations: 15.67 kB / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/16.45, allocations: 0 / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/16.45, allocations: 0 / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/16.45, allocations: 3.984 kB / 5.377 GB, free: 201.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/16.45, allocations: 165.5 kB / 5.377 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/16.45, allocations: 0 / 5.377 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/16.45, allocations: 23.98 kB / 5.377 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/16.45, allocations: 0 / 5.377 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/16.45, allocations: 3.875 kB / 5.377 GB, free: 201.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/16.45, allocations: 7.953 kB / 5.377 GB, free: 201.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/16.45, allocations: 0 / 5.377 GB, free: 201.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/16.45, allocations: 140.2 kB / 5.377 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/16.45, allocations: 81.11 kB / 5.377 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/16.45, allocations: 0 / 5.377 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/16.45, allocations: 11.8 kB / 5.377 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/16.45, allocations: 4.047 kB / 5.377 GB, free: 201.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/16.45, allocations: 11.98 kB / 5.377 GB, free: 201.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.638e-05/16.45, allocations: 79.28 kB / 5.377 GB, free: 201.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.81e-07/16.45, allocations: 0 / 5.377 GB, free: 201.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008288/16.45, allocations: 56.92 kB / 5.377 GB, free: 201.3 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 () * Number of clocked 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.00197/16.46, allocations: 1.136 MB / 5.378 GB, free: 200.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004621/16.46, allocations: 50.98 kB / 5.378 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/16.46, allocations: 4 kB / 5.378 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/16.46, allocations: 27.36 kB / 5.378 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/16.46, allocations: 7.953 kB / 5.378 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/16.46, allocations: 0.8193 MB / 5.379 GB, free: 199.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/16.46, allocations: 0.6902 MB / 5.38 GB, free: 198.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001848/16.46, allocations: 8.672 kB / 5.38 GB, free: 198.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/16.46, allocations: 22.61 kB / 5.38 GB, free: 198.5 MB / 0.823 GB Notification: Performance of SimCode: time 3.236e-06/16.46, allocations: 0 / 5.38 GB, free: 198.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/16.51, allocations: 10.85 MB / 5.39 GB, free: 187.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/16.51, allocations: 200.6 kB / 5.391 GB, free: 187.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/19.65, allocations: 0 / 5.391 GB, free: 187.5 MB / 0.823 GB