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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.193/4.193, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.507e-05, allocations: 5.781 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 98.74 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2816/0.5124, allocations: 131.7 MB / 0.7575 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005513/0.5131, allocations: 95.94 kB / 0.7576 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09984/0.613, allocations: 15.87 MB / 0.7731 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/0.613, allocations: 0 / 0.7731 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.825e-05/0.6131, allocations: 11.98 kB / 0.7731 GB, free: 5.125 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.001445/0.6145, allocations: 0.6423 MB / 0.7738 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.6146, allocations: 12.25 kB / 0.7738 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7782/1.393, allocations: 11.05 MB / 0.7846 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/1.423, allocations: 2.503 MB / 0.787 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/1.423, allocations: 8.734 kB / 0.787 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007357/1.424, allocations: 16.56 kB / 0.787 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/1.426, allocations: 0.7003 MB / 0.7877 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/1.428, allocations: 0.9284 MB / 0.7886 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/1.429, allocations: 0 / 0.7886 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.429, allocations: 3.953 kB / 0.7886 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/1.429, allocations: 9.062 kB / 0.7887 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009782/1.439, allocations: 5.428 MB / 0.794 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/1.44, allocations: 0.6874 MB / 0.7946 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/1.443, allocations: 0.5329 MB / 0.7951 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/1.443, allocations: 37.19 kB / 0.7952 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.443, allocations: 42.08 kB / 0.7952 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 4.869e-06/1.443, allocations: 0 / 0.7952 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.01352/1.457, allocations: 1.831 MB / 0.797 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/1.457, allocations: 53.59 kB / 0.7971 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/1.457, allocations: 241.5 kB / 0.7973 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0005446/1.458, allocations: 29.42 kB / 0.7973 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/1.458, allocations: 211 kB / 0.7975 GB, free: 133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/1.458, allocations: 74.25 kB / 0.7976 GB, free: 133 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/1.459, allocations: 0 / 0.7976 GB, free: 133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/1.459, allocations: 338.2 kB / 0.7979 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.462, allocations: 1.061 MB / 0.7989 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/1.465, allocations: 1.117 MB / 0.8 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0275/1.492, allocations: 2.396 MB / 0.8024 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.492, allocations: 0 / 0.8024 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0339/1.526, allocations: 3.709 MB / 0.806 GB, free: 131.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/1.526, allocations: 99.77 kB / 0.8061 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02143/1.548, allocations: 3.293 MB / 0.8093 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/1.548, allocations: 0 / 0.8093 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/1.564, allocations: 0.9459 MB / 0.8102 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.564, allocations: 7.094 kB / 0.8102 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01537/1.58, allocations: 0.7903 MB / 0.811 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/1.58, allocations: 78.94 kB / 0.8111 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.58, allocations: 5.406 kB / 0.8111 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02327/1.603, allocations: 3.631 MB / 0.8146 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02125/1.625, allocations: 3.292 MB / 0.8179 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.625, allocations: 0 / 0.8179 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01623/1.641, allocations: 0.9498 MB / 0.8188 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.641, allocations: 0 / 0.8188 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01586/1.657, allocations: 0.7829 MB / 0.8195 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006645/1.658, allocations: 77.19 kB / 0.8196 GB, free: 119.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0005208/1.658, allocations: 109.5 kB / 0.8197 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01095/1.669, allocations: 1.831 MB / 0.8215 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/1.67, allocations: 27.62 kB / 0.8215 GB, free: 118 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.68, allocations: 1.777 MB / 0.8233 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.68, allocations: 4 kB / 0.8233 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.68, allocations: 0 / 0.8233 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.68, allocations: 3.953 kB / 0.8233 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.682, allocations: 1.046 MB / 0.8243 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006328/1.688, allocations: 1.164 MB / 0.8254 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005146/1.693, allocations: 330.9 kB / 0.8258 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.693, allocations: 4 kB / 0.8258 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.694, allocations: 23.95 kB / 0.8258 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.694, allocations: 0 / 0.8258 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.694, allocations: 3.953 kB / 0.8258 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006533/1.7, allocations: 1.313 MB / 0.8271 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.7, allocations: 110.3 kB / 0.8272 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/1.701, allocations: 4.859 kB / 0.8272 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004689/1.705, allocations: 235.8 kB / 0.8274 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.705, allocations: 23.97 kB / 0.8274 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.706, allocations: 35.91 kB / 0.8275 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002265/1.706, allocations: 184.6 kB / 0.8276 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.706, allocations: 0 / 0.8276 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002128/1.708, allocations: 357.6 kB / 0.828 GB, free: 111.3 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.00714/1.715, allocations: 1.952 MB / 0.8299 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006047/1.721, allocations: 2.389 MB / 0.8322 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.721, allocations: 0 / 0.8322 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009995/1.722, allocations: 409.8 kB / 0.8326 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/1.723, allocations: 54.97 kB / 0.8327 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.725, allocations: 0.7349 MB / 0.8334 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/1.725, allocations: 0.8079 MB / 0.8342 GB, free: 105 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00752/1.733, allocations: 0.7159 MB / 0.8349 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.735, allocations: 230.8 kB / 0.8351 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.735, allocations: 4 kB / 0.8351 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.842, allocations: 39.31 MB / 0.8735 GB, free: 64.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.842, allocations: 161.8 kB / 0.8736 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/8.94, allocations: 0 / 0.8736 GB, free: 64.48 MB / 0.6511 GB