Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.01132/0.01132, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001144/0.001144, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.005/2.005, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.166/2.166, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6862, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/1.005, allocations: 132.5 MB / 0.8128 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/1.006, allocations: 95.94 kB / 0.8129 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1001/1.106, allocations: 16.06 MB / 0.8286 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.665e-06/1.106, allocations: 0 / 0.8286 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.607e-05/1.106, allocations: 12 kB / 0.8286 GB, free: 9.508 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001905/1.108, allocations: 0.709 MB / 0.8293 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/1.108, allocations: 8.031 kB / 0.8293 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/1.108, allocations: 58.55 kB / 0.8294 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2006/1.309, allocations: 11.08 MB / 0.8402 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03029/1.339, allocations: 2.508 MB / 0.8426 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/1.339, allocations: 20.56 kB / 0.8426 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006383/1.34, allocations: 32 kB / 0.8427 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.351, allocations: 1.515 MB / 0.8442 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.351, allocations: 0 / 0.8442 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/1.352, allocations: 8 kB / 0.8442 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/1.352, allocations: 8 kB / 0.8442 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/1.362, allocations: 1.286 MB / 0.8454 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/1.374, allocations: 5.48 MB / 0.8508 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.385, allocations: 1.228 MB / 0.852 GB, free: 416 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/1.385, allocations: 39.97 kB / 0.852 GB, free: 376 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.385, allocations: 30.56 kB / 0.852 GB, free: 336 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 3.647e-06/1.385, allocations: 0 / 0.852 GB, free: 336 kB / 0.6667 GB Notification: Performance of matching and sorting (n=22): time 0.03155/1.416, allocations: 3.509 MB / 0.8555 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/1.417, allocations: 59.34 kB / 0.8555 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/1.417, allocations: 292.8 kB / 0.8558 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005789/1.418, allocations: 29.7 kB / 0.8558 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/1.418, allocations: 208.6 kB / 0.856 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/1.418, allocations: 70.91 kB / 0.8561 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/1.419, allocations: 4 kB / 0.8561 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.419, allocations: 346.8 kB / 0.8564 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02087/1.44, allocations: 2.104 MB / 0.8585 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.021/1.461, allocations: 2.181 MB / 0.8606 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02056/1.481, allocations: 1.947 MB / 0.8625 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.482, allocations: 4 kB / 0.8625 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.04298/1.525, allocations: 4.33 MB / 0.8668 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.525, allocations: 185.9 kB / 0.8669 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03559/1.56, allocations: 3.635 MB / 0.8705 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/1.56, allocations: 11.92 kB / 0.8705 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/1.578, allocations: 0.9481 MB / 0.8714 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.578, allocations: 0 / 0.8714 GB, free: 12.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/1.594, allocations: 0.7959 MB / 0.8722 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/1.595, allocations: 79.88 kB / 0.8723 GB, free: 11.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/1.595, allocations: 4 kB / 0.8723 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04306/1.638, allocations: 4.282 MB / 0.8765 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03595/1.674, allocations: 3.646 MB / 0.88 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.674, allocations: 4 kB / 0.88 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.018/1.692, allocations: 0.9442 MB / 0.8809 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.692, allocations: 3.953 kB / 0.8809 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01627/1.708, allocations: 0.7958 MB / 0.8817 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/1.709, allocations: 71.88 kB / 0.8818 GB, free: 1.699 MB / 0.698 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 (37): * Single equations (assignments): 37 * 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.0007902/1.71, allocations: 221.1 kB / 0.882 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.71, allocations: 39.53 kB / 0.882 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/1.727, allocations: 1.962 MB / 0.884 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.727, allocations: 3.984 kB / 0.884 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.727, allocations: 12.02 kB / 0.884 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.727, allocations: 0 / 0.884 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/1.729, allocations: 1.098 MB / 0.885 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0124/1.742, allocations: 1.373 MB / 0.8864 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005496/1.747, allocations: 327.6 kB / 0.8867 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/1.747, allocations: 4 kB / 0.8867 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/1.747, allocations: 31.95 kB / 0.8867 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.747, allocations: 7.953 kB / 0.8867 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.747, allocations: 0 / 0.8867 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/1.76, allocations: 1.51 MB / 0.8882 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/1.76, allocations: 116.6 kB / 0.8883 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.76, allocations: 4 kB / 0.8883 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004983/1.765, allocations: 247.8 kB / 0.8886 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.766, allocations: 27.91 kB / 0.8886 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.766, allocations: 31.95 kB / 0.8886 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003986/1.766, allocations: 227.2 kB / 0.8888 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.095e-06/1.766, allocations: 0 / 0.8888 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002247/1.768, allocations: 383.5 kB / 0.8892 GB, free: 9.918 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (36): * Single equations (assignments): 36 * 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.01352/1.782, allocations: 2.144 MB / 0.8913 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.05132/1.833, allocations: 4.478 MB / 0.8957 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.833, allocations: 0 / 0.8957 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008232/1.842, allocations: 0.7181 MB / 0.8964 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.843, allocations: 73.47 kB / 0.8964 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.854, allocations: 1.803 MB / 0.8982 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/1.855, allocations: 0.8042 MB / 0.899 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01094/1.866, allocations: 0.7093 MB / 0.8997 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002549/1.868, allocations: 239.2 kB / 0.8999 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/1.868, allocations: 0 / 0.8999 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7594/2.628, allocations: 41.22 MB / 0.9402 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/2.628, allocations: 196.8 kB / 0.9404 GB, free: 198.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/9.623, allocations: 1.125 kB / 0.9404 GB, free: 198.1 MB / 0.7292 GB