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.CenterOfGlass.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.CenterOfGlass,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 433.2 MB / 440.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.497e-05, allocations: 8 kB / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6424, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2579/0.9004, allocations: 139.5 MB / 0.7652 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.9009, allocations: 91.94 kB / 0.7652 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1538/1.055, allocations: 33.18 MB / 0.7977 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.124e-06/1.055, allocations: 0 / 0.7977 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001353/1.055, allocations: 20 kB / 0.7977 GB, free: 2.465 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004433/1.059, allocations: 1.426 MB / 0.7991 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/1.059, allocations: 11.97 kB / 0.7991 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6152/1.675, allocations: 4.426 MB / 0.8034 GB, free: 147.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005277/1.68, allocations: 1.466 MB / 0.8048 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/1.68, allocations: 23.08 kB / 0.8049 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006728/1.681, allocations: 45.91 kB / 0.8049 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004759/1.685, allocations: 1.793 MB / 0.8066 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/1.69, allocations: 1.809 MB / 0.8084 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/1.691, allocations: 0 / 0.8084 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/1.691, allocations: 0 / 0.8084 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/1.691, allocations: 18.97 kB / 0.8084 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/1.709, allocations: 8.072 MB / 0.8163 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/1.713, allocations: 1.705 MB / 0.818 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/1.716, allocations: 1.44 MB / 0.8194 GB, free: 143 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/1.716, allocations: 54.66 kB / 0.8194 GB, free: 143 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.716, allocations: 38.88 kB / 0.8195 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 5.19e-06/1.716, allocations: 0 / 0.8195 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02004/1.736, allocations: 5.539 MB / 0.8249 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.736, allocations: 62.59 kB / 0.8249 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.738, allocations: 1.015 MB / 0.8259 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0006789/1.739, allocations: 25.7 kB / 0.826 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/1.739, allocations: 498.1 kB / 0.8264 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/1.74, allocations: 233.2 kB / 0.8267 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/1.74, allocations: 3.656 kB / 0.8267 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/1.74, allocations: 331.8 kB / 0.827 GB, free: 140 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/1.745, allocations: 2.067 MB / 0.829 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004524/1.749, allocations: 2.24 MB / 0.8312 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02409/1.773, allocations: 4.456 MB / 0.8355 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.773, allocations: 0 / 0.8355 GB, free: 137.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.09028/1.864, allocations: 8.172 MB / 0.8435 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/1.864, allocations: 92.12 kB / 0.8436 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04751/1.911, allocations: 7.21 MB / 0.8506 GB, free: 123.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05319/1.965, allocations: 5.439 MB / 0.856 GB, free: 117.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/1.975, allocations: 0.7991 MB / 0.8567 GB, free: 117.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/1.99, allocations: 5.245 MB / 0.8619 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/2.005, allocations: 0.9995 MB / 0.8628 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004424/2.005, allocations: 59.92 kB / 0.8629 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.005, allocations: 5.094 kB / 0.8629 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02986/2.035, allocations: 7.474 MB / 0.8702 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02822/2.063, allocations: 6.977 MB / 0.877 GB, free: 96.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005486/2.069, allocations: 1.004 MB / 0.878 GB, free: 95.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0136/2.082, allocations: 1.056 MB / 0.879 GB, free: 94.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/2.098, allocations: 7.001 MB / 0.8859 GB, free: 87.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/2.112, allocations: 0.993 MB / 0.8868 GB, free: 86.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005779/2.113, allocations: 67.92 kB / 0.8869 GB, free: 86.19 MB / 0.6667 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0005912/2.114, allocations: 108.9 kB / 0.887 GB, free: 86.08 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01907/2.133, allocations: 5.423 MB / 0.8923 GB, free: 80.66 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006138/2.133, allocations: 98.78 kB / 0.8924 GB, free: 80.56 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/2.148, allocations: 4.739 MB / 0.897 GB, free: 75.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/2.148, allocations: 8 kB / 0.897 GB, free: 75.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/2.148, allocations: 0 / 0.897 GB, free: 75.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/2.148, allocations: 3.984 kB / 0.897 GB, free: 75.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/2.165, allocations: 6.85 MB / 0.9037 GB, free: 68.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08062/2.245, allocations: 7.852 MB / 0.9114 GB, free: 60.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00519/2.251, allocations: 419.4 kB / 0.9118 GB, free: 60.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08068/2.331, allocations: 7.433 MB / 0.919 GB, free: 53.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/2.332, allocations: 27.95 kB / 0.9191 GB, free: 53.06 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/2.343, allocations: 4.143 MB / 0.9231 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/2.343, allocations: 3.953 kB / 0.9231 GB, free: 48.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08557/2.428, allocations: 8.06 MB / 0.931 GB, free: 40.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/2.43, allocations: 0.5423 MB / 0.9315 GB, free: 40.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/2.431, allocations: 4 kB / 0.9315 GB, free: 40.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009477/2.44, allocations: 0.6162 MB / 0.9321 GB, free: 39.61 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/2.44, allocations: 44.72 kB / 0.9322 GB, free: 39.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/2.441, allocations: 43.95 kB / 0.9322 GB, free: 39.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002482/2.443, allocations: 0.7892 MB / 0.933 GB, free: 38.72 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.092e-06/2.443, allocations: 0 / 0.933 GB, free: 38.72 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003934/2.447, allocations: 0.7731 MB / 0.9337 GB, free: 37.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/2.46, allocations: 4.682 MB / 0.9383 GB, free: 33.28 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.476, allocations: 5.973 MB / 0.9441 GB, free: 27.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/2.476, allocations: 0 / 0.9441 GB, free: 27.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/2.48, allocations: 1.509 MB / 0.9456 GB, free: 25.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/2.482, allocations: 219.3 kB / 0.9458 GB, free: 25.56 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/2.49, allocations: 2.972 MB / 0.9487 GB, free: 22.55 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009322/2.491, allocations: 1.324 MB / 0.95 GB, free: 21.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.006894/2.498, allocations: 0.9691 MB / 0.951 GB, free: 20.28 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/2.5, allocations: 443.2 kB / 0.9514 GB, free: 19.84 MB / 0.6667 GB Notification: Performance of SimCode: time 1.323e-06/2.5, allocations: 0 / 0.9514 GB, free: 19.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.193/2.693, allocations: 72.42 MB / 1.022 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/2.693, allocations: 157.7 kB / 1.022 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/10.43, allocations: 3.938 kB / 1.022 GB, free: 11.36 MB / 0.7292 GB