Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01489/0.01489, allocations: 87.36 kB / 15.04 MB, free: 6.051 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.001805/0.001804, allocations: 168.8 kB / 15.92 MB, free: 5.992 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.425/2.425, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.532/2.532, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005133, allocations: 16.44 kB / 0.6243 GB, free: 28.4 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2302, allocations: 106.2 MB / 0.728 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001822/0.2321, allocations: 1.027 MB / 0.729 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.8243/1.056, allocations: 125.2 MB / 0.8513 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/1.056, allocations: 2.734 kB / 0.8513 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/1.057, allocations: 2.906 kB / 0.8513 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/1.057, allocations: 14.44 kB / 0.8513 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/1.058, allocations: 235.4 kB / 0.8515 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/1.058, allocations: 41.84 kB / 0.8516 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/1.058, allocations: 2.906 kB / 0.8516 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/1.058, allocations: 29.06 kB / 0.8516 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/1.058, allocations: 32.67 kB / 0.8516 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/1.058, allocations: 3.062 kB / 0.8516 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/1.059, allocations: 286.3 kB / 0.8519 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/1.06, allocations: 14.66 kB / 0.8519 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003014/1.06, allocations: 37.36 kB / 0.852 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/1.06, allocations: 103.7 kB / 0.8521 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/1.06, allocations: 0 / 0.8521 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/1.06, allocations: 0 / 0.8521 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.398e-06/1.06, allocations: 0.9688 kB / 0.8521 GB, free: 21.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005211/1.061, allocations: 370.7 kB / 0.8524 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.061, allocations: 9.75 kB / 0.8524 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/1.061, allocations: 40.94 kB / 0.8525 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/1.062, allocations: 38.41 kB / 0.8525 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.062, allocations: 166.5 kB / 0.8527 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.062, allocations: 5.844 kB / 0.8527 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/1.062, allocations: 9.688 kB / 0.8527 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.062, allocations: 80.44 kB / 0.8527 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.062, allocations: 0 / 0.8527 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.062, allocations: 0.9062 kB / 0.8527 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.062, allocations: 5.734 kB / 0.8528 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/1.062, allocations: 51.83 kB / 0.8528 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/1.063, allocations: 182.5 kB / 0.853 GB, free: 20.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/1.063, allocations: 93.62 kB / 0.8531 GB, free: 20.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/1.063, allocations: 7.359 kB / 0.8531 GB, free: 20.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.063, allocations: 36.25 kB / 0.8531 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/1.063, allocations: 6.734 kB / 0.8531 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.002019/1.065, allocations: 0.5388 MB / 0.8536 GB, free: 19.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.065, allocations: 61.3 kB / 0.8537 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/1.065, allocations: 96.8 kB / 0.8538 GB, free: 19.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.065, allocations: 31.27 kB / 0.8538 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/1.065, allocations: 85.17 kB / 0.8539 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/1.065, allocations: 65.78 kB / 0.854 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/1.065, allocations: 4.219 kB / 0.854 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.065, allocations: 323 kB / 0.8543 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/1.066, allocations: 35.27 kB / 0.8543 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/1.066, allocations: 68.55 kB / 0.8544 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/1.066, allocations: 47.58 kB / 0.8544 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.066, allocations: 0.875 kB / 0.8544 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003943/1.066, allocations: 157 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.066, allocations: 5.25 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.066, allocations: 4.797 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.066, allocations: 5.938 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/1.067, allocations: 34.67 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.067, allocations: 5.281 kB / 0.8546 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/1.067, allocations: 12.73 kB / 0.8546 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/1.067, allocations: 8.062 kB / 0.8546 GB, free: 19.14 MB / 0.6823 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.0001274/1.067, allocations: 122 kB / 0.8548 GB, free: 19.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/1.067, allocations: 8.656 kB / 0.8548 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/1.067, allocations: 22.14 kB / 0.8548 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.067, allocations: 2.188 kB / 0.8548 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.067, allocations: 0.7812 kB / 0.8548 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.067, allocations: 0 / 0.8548 GB, free: 19.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/1.067, allocations: 197.7 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.067, allocations: 4 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/1.068, allocations: 40.5 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.068, allocations: 0.8125 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.068, allocations: 5.156 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.068, allocations: 0.75 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.068, allocations: 0.875 kB / 0.855 GB, free: 18.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/1.068, allocations: 207.1 kB / 0.8552 GB, free: 18.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/1.068, allocations: 93.56 kB / 0.8553 GB, free: 18.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/1.069, allocations: 5.344 kB / 0.8553 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/1.069, allocations: 9.625 kB / 0.8553 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/1.069, allocations: 11.73 kB / 0.8553 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.069, allocations: 6.75 kB / 0.8553 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.604e-05/1.069, allocations: 83.8 kB / 0.8554 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/1.069, allocations: 2.625 kB / 0.8554 GB, free: 18.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003335/1.069, allocations: 26.5 kB / 0.8555 GB, free: 18.57 MB / 0.6823 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.0007996/1.07, allocations: 0.7555 MB / 0.8562 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003217/1.07, allocations: 107 kB / 0.8563 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.07, allocations: 1.562 kB / 0.8563 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/1.071, allocations: 50.97 kB / 0.8563 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/1.071, allocations: 16.17 kB / 0.8564 GB, free: 17.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.073, allocations: 1.459 MB / 0.8578 GB, free: 16.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/1.073, allocations: 0.7015 MB / 0.8585 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.073, allocations: 25.08 kB / 0.8585 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/1.074, allocations: 24.02 kB / 0.8585 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/1.074, allocations: 0 / 0.8585 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.1, allocations: 2.105 MB / 0.8606 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/1.101, allocations: 187.1 kB / 0.8608 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.595, allocations: 0 / 0.8608 GB, free: 15.67 MB / 0.6823 GB