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 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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirDerivativeCheck",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.01105/0.01105, allocations: 107.5 kB / 15.06 MB, free: 6.035 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.00118/0.00118, allocations: 180.6 kB / 15.95 MB, free: 5.957 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 1.967/1.967, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.364/2.364, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006654/0.0006655, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6896, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001539/0.6912, allocations: 1.013 MB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2121/0.9033, allocations: 125.1 MB / 0.8066 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.9034, allocations: 0 / 0.8066 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.9035, allocations: 3.938 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.9036, allocations: 15.95 kB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.9048, allocations: 235.2 kB / 0.8069 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.9049, allocations: 39.88 kB / 0.8069 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.905, allocations: 4 kB / 0.8069 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.905, allocations: 27.97 kB / 0.8069 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.9051, allocations: 39.83 kB / 0.807 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.9052, allocations: 4 kB / 0.807 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.9062, allocations: 275.5 kB / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.9063, allocations: 19.91 kB / 0.8073 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.9064, allocations: 33.7 kB / 0.8073 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.9067, allocations: 97.36 kB / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.9068, allocations: 0 / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9068, allocations: 0 / 0.8074 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.9068, allocations: 0 / 0.8074 GB, free: 15.16 MB / 0.6355 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.0005333/0.9073, allocations: 379.2 kB / 0.8077 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.9074, allocations: 12.03 kB / 0.8078 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.9075, allocations: 38.55 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.908, allocations: 35.88 kB / 0.8078 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.9082, allocations: 163 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.9082, allocations: 8 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.9082, allocations: 11.91 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.9085, allocations: 77.64 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.9085, allocations: 7.938 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.9086, allocations: 4 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.9086, allocations: 4 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.9087, allocations: 43.95 kB / 0.8081 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.909, allocations: 189.5 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.9093, allocations: 86.64 kB / 0.8084 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.9093, allocations: 12.31 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.9094, allocations: 42.5 kB / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.9094, allocations: 0 / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001965/0.9114, allocations: 0.5438 MB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.9115, allocations: 55.41 kB / 0.809 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.9115, allocations: 97.84 kB / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.9116, allocations: 29.7 kB / 0.8092 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.9116, allocations: 84.52 kB / 0.8092 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.9117, allocations: 67 kB / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.9118, allocations: 4 kB / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.9119, allocations: 327 kB / 0.8096 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.912, allocations: 31.98 kB / 0.8096 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.9122, allocations: 69.5 kB / 0.8097 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.9123, allocations: 47.98 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.9124, allocations: 0 / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004002/0.9128, allocations: 161.4 kB / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9128, allocations: 4 kB / 0.8099 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9128, allocations: 4 kB / 0.8099 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.9129, allocations: 7.953 kB / 0.8099 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.9132, allocations: 39.92 kB / 0.81 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.9132, allocations: 0 / 0.81 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.9133, allocations: 8 kB / 0.81 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.9133, allocations: 4 kB / 0.81 GB, free: 12.22 MB / 0.6355 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 () * Number of clocked 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 0.0001222/0.9135, allocations: 117.8 kB / 0.8101 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.9135, allocations: 11.91 kB / 0.8101 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.9136, allocations: 24.36 kB / 0.8101 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.9136, allocations: 4 kB / 0.8101 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9136, allocations: 3.953 kB / 0.8101 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.9136, allocations: 4 kB / 0.8101 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.9139, allocations: 189.6 kB / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9139, allocations: 0 / 0.8103 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.9143, allocations: 35.98 kB / 0.8104 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9143, allocations: 0 / 0.8104 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.9143, allocations: 8 kB / 0.8104 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9144, allocations: 0 / 0.8104 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9144, allocations: 3.953 kB / 0.8104 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.9149, allocations: 208.9 kB / 0.8106 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.915, allocations: 93.06 kB / 0.8106 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.915, allocations: 7.938 kB / 0.8107 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.9153, allocations: 8 kB / 0.8107 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.9153, allocations: 15.88 kB / 0.8107 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.9154, allocations: 12.23 kB / 0.8107 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.9154, allocations: 75.28 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9154, allocations: 4.094 kB / 0.8108 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003139/0.9157, allocations: 32 kB / 0.8108 GB, free: 11.29 MB / 0.6355 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 () * Number of clocked 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.0008474/0.9166, allocations: 0.7437 MB / 0.8115 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.9169, allocations: 107.9 kB / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.917, allocations: 0 / 0.8116 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.9171, allocations: 55.92 kB / 0.8117 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.9174, allocations: 13.33 kB / 0.8117 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.9196, allocations: 1.451 MB / 0.8131 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.9199, allocations: 0.7089 MB / 0.8138 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000243/0.9202, allocations: 24.61 kB / 0.8138 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.9203, allocations: 23.44 kB / 0.8138 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.9203, allocations: 0 / 0.8138 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.9421, allocations: 2.118 MB / 0.8159 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.9424, allocations: 172.4 kB / 0.8161 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.496, allocations: 0 / 0.8161 GB, free: 5.809 MB / 0.6355 GB