Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.00999/0.009994, allocations: 84.5 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001169/0.001169, allocations: 167.6 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.217/2.217, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.405/2.405, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 9.438 kB / 0.6243 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2551, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001787/0.2569, allocations: 0.9842 MB / 0.729 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8585/1.116, allocations: 124.3 MB / 0.8504 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/1.116, allocations: 4.75 kB / 0.8504 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/1.116, allocations: 0.8438 kB / 0.8504 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/1.116, allocations: 5.219 kB / 0.8504 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/1.116, allocations: 80.73 kB / 0.8505 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/1.116, allocations: 24.55 kB / 0.8505 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/1.116, allocations: 4.516 kB / 0.8505 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/1.116, allocations: 13.66 kB / 0.8505 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/1.117, allocations: 16.11 kB / 0.8505 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/1.117, allocations: 6.594 kB / 0.8505 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/1.117, allocations: 84.92 kB / 0.8506 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/1.117, allocations: 6.188 kB / 0.8506 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/1.117, allocations: 34.27 kB / 0.8507 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/1.117, allocations: 43.8 kB / 0.8507 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.117, allocations: 0 / 0.8507 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/1.117, allocations: 0.7812 kB / 0.8507 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.117, allocations: 0 / 0.8507 GB, free: 21.04 MB / 0.6823 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.0004276/1.118, allocations: 342 kB / 0.851 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.118, allocations: 12.75 kB / 0.851 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/1.118, allocations: 39.12 kB / 0.8511 GB, free: 20.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/1.118, allocations: 15.39 kB / 0.8511 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.118, allocations: 164.6 kB / 0.8512 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.118, allocations: 1.062 kB / 0.8512 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/1.119, allocations: 10.91 kB / 0.8513 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/1.119, allocations: 53.55 kB / 0.8513 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.119, allocations: 0 / 0.8513 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.119, allocations: 1.656 kB / 0.8513 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/1.119, allocations: 8.828 kB / 0.8513 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/1.119, allocations: 21.56 kB / 0.8513 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/1.119, allocations: 158.2 kB / 0.8515 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/1.119, allocations: 51.83 kB / 0.8515 GB, free: 20.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.119, allocations: 3.781 kB / 0.8515 GB, free: 20.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.119, allocations: 32.77 kB / 0.8516 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.119, allocations: 4 kB / 0.8516 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0009796/1.12, allocations: 381.5 kB / 0.8519 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/1.12, allocations: 52.38 kB / 0.852 GB, free: 19.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/1.12, allocations: 91.89 kB / 0.8521 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.12, allocations: 30.52 kB / 0.8521 GB, free: 19.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/1.121, allocations: 81.14 kB / 0.8522 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/1.121, allocations: 42.69 kB / 0.8522 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.121, allocations: 0 / 0.8522 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.121, allocations: 316.2 kB / 0.8525 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/1.121, allocations: 19.09 kB / 0.8525 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.12e-05/1.121, allocations: 36.62 kB / 0.8526 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/1.121, allocations: 26.48 kB / 0.8526 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.121, allocations: 0.9062 kB / 0.8526 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002066/1.121, allocations: 96.19 kB / 0.8527 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.121, allocations: 9.875 kB / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.121, allocations: 0 / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/1.121, allocations: 2.188 kB / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/1.122, allocations: 23.86 kB / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.122, allocations: 5.641 kB / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/1.122, allocations: 1.328 kB / 0.8527 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.122, allocations: 6.656 kB / 0.8527 GB, free: 19.21 MB / 0.6823 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 0.0001105/1.122, allocations: 119.2 kB / 0.8529 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/1.122, allocations: 6.625 kB / 0.8529 GB, free: 19.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/1.122, allocations: 18.59 kB / 0.8529 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.122, allocations: 1 kB / 0.8529 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.122, allocations: 0.7812 kB / 0.8529 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.122, allocations: 4.859 kB / 0.8529 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/1.122, allocations: 165.6 kB / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.122, allocations: 0.9062 kB / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/1.122, allocations: 25.72 kB / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.122, allocations: 0 / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.122, allocations: 1 kB / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.122, allocations: 2.094 kB / 0.8531 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.122, allocations: 7.906 kB / 0.8531 GB, free: 18.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/1.123, allocations: 133.2 kB / 0.8532 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.123, allocations: 88.31 kB / 0.8533 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/1.123, allocations: 4.734 kB / 0.8533 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/1.123, allocations: 5.469 kB / 0.8533 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/1.123, allocations: 6.797 kB / 0.8533 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/1.123, allocations: 2.969 kB / 0.8533 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.476e-05/1.123, allocations: 80.25 kB / 0.8534 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.123, allocations: 1.031 kB / 0.8534 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002859/1.123, allocations: 16 kB / 0.8534 GB, free: 18.64 MB / 0.6823 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.0006114/1.124, allocations: 0.6757 MB / 0.8541 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001866/1.124, allocations: 53.08 kB / 0.8541 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.124, allocations: 2.906 kB / 0.8541 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/1.124, allocations: 32.62 kB / 0.8542 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.125, allocations: 12 kB / 0.8542 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.126, allocations: 0.8139 MB / 0.855 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/1.126, allocations: 0.6907 MB / 0.8556 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001307/1.127, allocations: 11.75 kB / 0.8556 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/1.127, allocations: 19.34 kB / 0.8557 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of SimCode: time 1.031e-06/1.127, allocations: 0 / 0.8557 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/1.146, allocations: 1.419 MB / 0.857 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/1.147, allocations: 205.3 kB / 0.8572 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.682, allocations: 2.734 kB / 0.8572 GB, free: 16.23 MB / 0.6823 GB