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.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.059/4.059, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.855e-05, allocations: 6.375 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/0.4794, allocations: 130.4 MB / 0.7562 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.4798, allocations: 83.94 kB / 0.7563 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04765/0.5275, allocations: 10.01 MB / 0.7661 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5275, allocations: 0 / 0.7661 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.864e-05/0.5276, allocations: 15.94 kB / 0.7661 GB, free: 12.36 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001799/0.5294, allocations: 0.7013 MB / 0.7668 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.5295, allocations: 8.031 kB / 0.7668 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.5296, allocations: 59.34 kB / 0.7668 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.5304, allocations: 339.5 kB / 0.7672 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.5305, allocations: 12 kB / 0.7672 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.5306, allocations: 28 kB / 0.7672 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008915/0.5315, allocations: 282.5 kB / 0.7675 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.5324, allocations: 315.9 kB / 0.7678 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5324, allocations: 7.938 kB / 0.7678 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.5325, allocations: 0 / 0.7678 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.5325, allocations: 12 kB / 0.7678 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.5363, allocations: 1.206 MB / 0.769 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5374, allocations: 373 kB / 0.7693 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.5379, allocations: 204.8 kB / 0.7695 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.538, allocations: 11.98 kB / 0.7695 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.5381, allocations: 46.45 kB / 0.7696 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.065e-06/0.5381, allocations: 0 / 0.7696 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.003221/0.5413, allocations: 0.6421 MB / 0.7702 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5414, allocations: 63.39 kB / 0.7703 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.5418, allocations: 226.4 kB / 0.7705 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.5419, allocations: 25.7 kB / 0.7705 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.5422, allocations: 224.3 kB / 0.7707 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.5423, allocations: 137.9 kB / 0.7709 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.5424, allocations: 0 / 0.7709 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5425, allocations: 342.8 kB / 0.7712 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.5429, allocations: 119.9 kB / 0.7713 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.5433, allocations: 178 kB / 0.7715 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.5437, allocations: 140.6 kB / 0.7716 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5437, allocations: 0 / 0.7716 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00315/0.5469, allocations: 0.6535 MB / 0.7722 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.547, allocations: 92.95 kB / 0.7723 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.547, allocations: 3.938 kB / 0.7723 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.55, allocations: 396.5 kB / 0.7727 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.5503, allocations: 31.97 kB / 0.7727 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.5527, allocations: 1.103 MB / 0.7738 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.5535, allocations: 31.81 kB / 0.7738 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.5536, allocations: 8.062 kB / 0.7739 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5536, allocations: 6.188 kB / 0.7739 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002895/0.5565, allocations: 0.59 MB / 0.7744 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.5566, allocations: 4.188 kB / 0.7744 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.5593, allocations: 392.5 kB / 0.7748 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.5596, allocations: 39.91 kB / 0.7749 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5583/1.118, allocations: 3.541 MB / 0.7783 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/1.119, allocations: 37.94 kB / 0.7783 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/1.119, allocations: 8.188 kB / 0.7784 GB, free: 140.3 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 (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001472/1.119, allocations: 108 kB / 0.7785 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002709/1.122, allocations: 0.6263 MB / 0.7791 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/1.122, allocations: 34.12 kB / 0.7791 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/1.122, allocations: 51.72 kB / 0.7792 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/1.122, allocations: 4.828 kB / 0.7792 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.122, allocations: 3.281 kB / 0.7792 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/1.122, allocations: 2.391 kB / 0.7792 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/1.123, allocations: 432.8 kB / 0.7796 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.123, allocations: 0 / 0.7796 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/1.123, allocations: 27.27 kB / 0.7796 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/1.126, allocations: 394.7 kB / 0.78 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/1.126, allocations: 1.25 kB / 0.78 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/1.135, allocations: 3.529 MB / 0.7834 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.135, allocations: 0 / 0.7834 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/1.138, allocations: 0.727 MB / 0.7841 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/1.138, allocations: 143.8 kB / 0.7843 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/1.138, allocations: 10.91 kB / 0.7843 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/1.138, allocations: 16.94 kB / 0.7843 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.139, allocations: 33.75 kB / 0.7843 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/1.139, allocations: 14.02 kB / 0.7843 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002837/1.139, allocations: 185.1 kB / 0.7845 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.139, allocations: 2.125 kB / 0.7845 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001272/1.14, allocations: 269.6 kB / 0.7848 GB, free: 138.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 (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.003214/1.143, allocations: 1.28 MB / 0.786 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003679/1.147, allocations: 0.8757 MB / 0.7869 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.147, allocations: 1.25 kB / 0.7869 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/1.149, allocations: 450.9 kB / 0.7873 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008711/1.15, allocations: 87.53 kB / 0.7874 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/1.152, allocations: 0.6096 MB / 0.788 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.153, allocations: 0.8406 MB / 0.7888 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004055/1.153, allocations: 43.69 kB / 0.7889 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.153, allocations: 123.7 kB / 0.789 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.153, allocations: 1.156 kB / 0.789 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06856/1.222, allocations: 12.91 MB / 0.8016 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/1.222, allocations: 158 kB / 0.8017 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/4.431, allocations: 4 kB / 0.8017 GB, free: 134.3 MB / 0.6511 GB