Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.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.Convection.Examples.Exterior,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.492/4.492, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.433e-05, allocations: 2.547 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2414, allocations: 98.73 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.5051, allocations: 130 MB / 0.7559 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5055, allocations: 87.95 kB / 0.756 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07386/0.5794, allocations: 14.55 MB / 0.7702 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5794, allocations: 0 / 0.7702 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.994e-05/0.5795, allocations: 12 kB / 0.7702 GB, free: 8.227 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001425/0.5809, allocations: 0.6191 MB / 0.7708 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.581, allocations: 8.031 kB / 0.7708 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.5812, allocations: 47.48 kB / 0.7708 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.582, allocations: 345.1 kB / 0.7712 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.5821, allocations: 12 kB / 0.7712 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.5822, allocations: 16 kB / 0.7712 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005421/0.5827, allocations: 173.5 kB / 0.7714 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.5833, allocations: 190.2 kB / 0.7715 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5833, allocations: 4 kB / 0.7715 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.5834, allocations: 3.953 kB / 0.7715 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.5834, allocations: 11.94 kB / 0.7716 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.5854, allocations: 0.7329 MB / 0.7723 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.5859, allocations: 182.7 kB / 0.7724 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.5861, allocations: 76.84 kB / 0.7725 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/0.5869, allocations: 0.7167 MB / 0.7732 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.587, allocations: 42.52 kB / 0.7733 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 2.875e-06/0.587, allocations: 0 / 0.7733 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001171/0.5882, allocations: 221.5 kB / 0.7735 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5883, allocations: 51.41 kB / 0.7735 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.5886, allocations: 198.1 kB / 0.7737 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.5886, allocations: 25.7 kB / 0.7737 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.5888, allocations: 192.5 kB / 0.7739 GB, free: 4.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.5889, allocations: 82.75 kB / 0.774 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.5889, allocations: 0 / 0.774 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5891, allocations: 342.8 kB / 0.7743 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.5893, allocations: 52.56 kB / 0.7744 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.5894, allocations: 48.84 kB / 0.7744 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.5902, allocations: 105.3 kB / 0.7745 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.5902, allocations: 4 kB / 0.7745 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001079/0.5913, allocations: 250.8 kB / 0.7748 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5913, allocations: 5.406 kB / 0.7748 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.5914, allocations: 0 / 0.7748 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/0.5914, allocations: 7.953 kB / 0.7748 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.5919, allocations: 67.91 kB / 0.7748 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5919, allocations: 0 / 0.7748 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.5923, allocations: 23.83 kB / 0.7749 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.5923, allocations: 4 kB / 0.7749 GB, free: 3.047 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 (33): * Single equations (assignments): 33 * 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.0001146/0.5924, allocations: 108.9 kB / 0.775 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001075/0.5935, allocations: 228.6 kB / 0.7752 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5937, allocations: 31.67 kB / 0.7752 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/0.5946, allocations: 279.4 kB / 0.7755 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5947, allocations: 4.109 kB / 0.7755 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5947, allocations: 3.938 kB / 0.7755 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5947, allocations: 0 / 0.7755 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.5952, allocations: 278.3 kB / 0.7758 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5952, allocations: 0 / 0.7758 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.5956, allocations: 43.92 kB / 0.7758 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.5956, allocations: 4 kB / 0.7758 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.5957, allocations: 0 / 0.7758 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5957, allocations: 3.953 kB / 0.7758 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5957, allocations: 0 / 0.7758 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.5964, allocations: 208.6 kB / 0.776 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.5966, allocations: 104.8 kB / 0.7761 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.5967, allocations: 0 / 0.7761 GB, free: 1.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5969, allocations: 11.98 kB / 0.7761 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.597, allocations: 19.94 kB / 0.7761 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.597, allocations: 4 kB / 0.7761 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002325/0.5973, allocations: 170 kB / 0.7763 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5973, allocations: 0 / 0.7763 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005412/0.5978, allocations: 103.6 kB / 0.7764 GB, free: 1.379 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 (21): * Single equations (assignments): 21 * 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.001197/0.5991, allocations: 0.778 MB / 0.7772 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.5995, allocations: 135.9 kB / 0.7773 GB, free: 452 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.5995, allocations: 0 / 0.7773 GB, free: 452 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.5997, allocations: 63.88 kB / 0.7774 GB, free: 388 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.6005, allocations: 85.25 kB / 0.7774 GB, free: 304 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5796/1.18, allocations: 380.3 kB / 0.7778 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/1.18, allocations: 0.7824 MB / 0.7786 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003175/1.181, allocations: 32.92 kB / 0.7786 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/1.181, allocations: 109.2 kB / 0.7787 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.525e-06/1.181, allocations: 0 / 0.7787 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/1.233, allocations: 5.455 MB / 0.784 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.233, allocations: 138.2 kB / 0.7842 GB, free: 140 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/3.976, allocations: 0 / 0.7842 GB, free: 140 MB / 0.6511 GB