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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.201/4.201, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.431e-05/4.473e-05, allocations: 4.469 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2429/0.4645, allocations: 132.4 MB / 0.764 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/0.4649, allocations: 91.92 kB / 0.7641 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6642/1.129, allocations: 16.01 MB / 0.7797 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.129, allocations: 3.562 kB / 0.7797 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.578e-05/1.129, allocations: 6.906 kB / 0.7797 GB, free: 136.3 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.001357/1.131, allocations: 0.6474 MB / 0.7804 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.131, allocations: 8.812 kB / 0.7804 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.119e-05/1.131, allocations: 67.3 kB / 0.7805 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1957/1.327, allocations: 11.06 MB / 0.7913 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02927/1.356, allocations: 2.505 MB / 0.7937 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/1.356, allocations: 20.88 kB / 0.7937 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/1.357, allocations: 27.94 kB / 0.7937 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/1.359, allocations: 0.9573 MB / 0.7947 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.359, allocations: 7.703 kB / 0.7947 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/1.36, allocations: 12.16 kB / 0.7947 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.36, allocations: 6.312 kB / 0.7947 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/1.361, allocations: 0.7117 MB / 0.7954 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008253/1.37, allocations: 5.479 MB / 0.8008 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/1.371, allocations: 0.6775 MB / 0.8014 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/1.373, allocations: 0.5335 MB / 0.8019 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/1.373, allocations: 31.14 kB / 0.802 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.373, allocations: 37.89 kB / 0.802 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.527e-06/1.373, allocations: 4 kB / 0.802 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.004179/1.377, allocations: 1.11 MB / 0.8031 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.377, allocations: 54.19 kB / 0.8031 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/1.378, allocations: 287.7 kB / 0.8034 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000468/1.378, allocations: 30.95 kB / 0.8034 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.379, allocations: 205.2 kB / 0.8036 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/1.379, allocations: 79.28 kB / 0.8037 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/1.379, allocations: 3 kB / 0.8037 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/1.379, allocations: 346 kB / 0.8041 GB, free: 130 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.382, allocations: 1.063 MB / 0.8051 GB, free: 130 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.385, allocations: 1.125 MB / 0.8062 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/1.388, allocations: 0.8984 MB / 0.8071 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.388, allocations: 0.5625 kB / 0.8071 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.007152/1.395, allocations: 2.239 MB / 0.8093 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/1.395, allocations: 182 kB / 0.8094 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005615/1.401, allocations: 1.863 MB / 0.8112 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/1.401, allocations: 0 / 0.8112 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01667/1.418, allocations: 0.9495 MB / 0.8122 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/1.418, allocations: 4.562 kB / 0.8122 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01558/1.433, allocations: 0.7957 MB / 0.813 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006096/1.434, allocations: 75.88 kB / 0.813 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.434, allocations: 4 kB / 0.813 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006965/1.441, allocations: 2.181 MB / 0.8152 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00571/1.447, allocations: 1.869 MB / 0.817 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.447, allocations: 7.844 kB / 0.817 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01735/1.464, allocations: 0.9431 MB / 0.8179 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.464, allocations: 7.953 kB / 0.8179 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/1.48, allocations: 0.7958 MB / 0.8187 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/1.481, allocations: 75.88 kB / 0.8188 GB, free: 117.9 MB / 0.6511 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 () * 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.0005248/1.481, allocations: 121.2 kB / 0.8189 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/1.481, allocations: 31.62 kB / 0.8189 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/1.488, allocations: 1.353 MB / 0.8202 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.488, allocations: 4 kB / 0.8202 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.488, allocations: 7.516 kB / 0.8202 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.488, allocations: 4 kB / 0.8203 GB, free: 116.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/1.489, allocations: 1.093 MB / 0.8213 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002126/1.491, allocations: 0.7588 MB / 0.8221 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/1.497, allocations: 325.5 kB / 0.8224 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.497, allocations: 4 kB / 0.8224 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.497, allocations: 31.89 kB / 0.8224 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.497, allocations: 11.78 kB / 0.8224 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.497, allocations: 0 / 0.8224 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.499, allocations: 0.9049 MB / 0.8233 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.5, allocations: 116.5 kB / 0.8234 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/1.5, allocations: 4 kB / 0.8234 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004788/1.505, allocations: 247.8 kB / 0.8237 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.505, allocations: 23.92 kB / 0.8237 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.505, allocations: 31.97 kB / 0.8237 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003057/1.505, allocations: 222.2 kB / 0.8239 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.505, allocations: 4 kB / 0.8239 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002098/1.507, allocations: 367.6 kB / 0.8243 GB, free: 112.2 MB / 0.6511 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 () * 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.00297/1.51, allocations: 1.542 MB / 0.8258 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007509/1.518, allocations: 2.412 MB / 0.8281 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.518, allocations: 0 / 0.8281 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.519, allocations: 419.8 kB / 0.8285 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/1.52, allocations: 81.64 kB / 0.8286 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/1.522, allocations: 0.7696 MB / 0.8294 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.523, allocations: 0.8083 MB / 0.8302 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007711/1.53, allocations: 0.7216 MB / 0.8309 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.532, allocations: 235.2 kB / 0.8311 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.532, allocations: 0 / 0.8311 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1178/1.65, allocations: 41.96 MB / 0.8721 GB, free: 63.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.65, allocations: 178.3 kB / 0.8722 GB, free: 62.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.143/8.793, allocations: 0 / 0.8722 GB, free: 62.93 MB / 0.6511 GB