Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.205/4.205, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.171e-05, allocations: 6.656 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2465, allocations: 98.73 MB / 0.6289 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.5489, allocations: 136.6 MB / 0.7623 GB, free: 400 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5493, allocations: 75.97 kB / 0.7624 GB, free: 324 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8308/1.38, allocations: 30.71 MB / 0.7924 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.904e-06/1.38, allocations: 0 / 0.7924 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001002/1.38, allocations: 15.5 kB / 0.7924 GB, free: 138.6 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002128/1.382, allocations: 0.8294 MB / 0.7932 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.383, allocations: 12.59 kB / 0.7932 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005147/1.383, allocations: 83.41 kB / 0.7933 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/1.387, allocations: 1.244 MB / 0.7945 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/1.387, allocations: 11.36 kB / 0.7945 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.388, allocations: 24.47 kB / 0.7945 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005564/1.388, allocations: 207.8 kB / 0.7947 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/1.389, allocations: 318.8 kB / 0.795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.389, allocations: 5.25 kB / 0.795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/1.389, allocations: 1.062 kB / 0.795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.389, allocations: 5.594 kB / 0.795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004559/1.393, allocations: 2.047 MB / 0.797 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.395, allocations: 377.7 kB / 0.7974 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/1.395, allocations: 124.8 kB / 0.7975 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/1.395, allocations: 1.375 kB / 0.7975 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.395, allocations: 44.62 kB / 0.7976 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.906e-06/1.395, allocations: 4 kB / 0.7976 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001072/1.397, allocations: 314.1 kB / 0.7979 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/1.397, allocations: 54.34 kB / 0.7979 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.399, allocations: 0.866 MB / 0.7988 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/1.399, allocations: 26.77 kB / 0.7988 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/1.399, allocations: 299.1 kB / 0.7991 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/1.399, allocations: 64.41 kB / 0.7991 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/1.399, allocations: 0 / 0.7991 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.399, allocations: 379.7 kB / 0.7995 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/1.4, allocations: 211.5 kB / 0.7997 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.401, allocations: 0.5395 MB / 0.8002 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/1.401, allocations: 283.5 kB / 0.8005 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.401, allocations: 3.844 kB / 0.8005 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001775/1.403, allocations: 0.725 MB / 0.8012 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.403, allocations: 13.58 kB / 0.8012 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/1.403, allocations: 7.469 kB / 0.8012 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/1.403, allocations: 57.23 kB / 0.8013 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/1.404, allocations: 148.7 kB / 0.8014 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/1.406, allocations: 1.427 MB / 0.8028 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.408, allocations: 204 kB / 0.803 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.408, allocations: 27.19 kB / 0.803 GB, free: 134 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.408, allocations: 128.3 kB / 0.8032 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008076/1.409, allocations: 318.9 kB / 0.8035 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/1.409, allocations: 57.88 kB / 0.8035 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/1.41, allocations: 67.03 kB / 0.8036 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.41, allocations: 3.516 kB / 0.8036 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.41, allocations: 0 / 0.8036 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.41, allocations: 0 / 0.8036 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/1.411, allocations: 0.62 MB / 0.8042 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.411, allocations: 3.953 kB / 0.8042 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/1.411, allocations: 53.59 kB / 0.8043 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/1.411, allocations: 44.09 kB / 0.8043 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/1.412, allocations: 7.969 kB / 0.8043 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/1.413, allocations: 1.408 MB / 0.8057 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.413, allocations: 0 / 0.8057 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/1.414, allocations: 0.5317 MB / 0.8062 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/1.414, allocations: 348.2 kB / 0.8065 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/1.414, allocations: 7.812 kB / 0.8065 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/1.415, allocations: 83.98 kB / 0.8066 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/1.416, allocations: 19.42 kB / 0.8066 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.416, allocations: 3.938 kB / 0.8066 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00115/1.417, allocations: 0.6425 MB / 0.8073 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.312e-06/1.417, allocations: 3.875 kB / 0.8073 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001119/1.418, allocations: 190.8 kB / 0.8075 GB, free: 131.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/1.419, allocations: 1.15 MB / 0.8086 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.42, allocations: 0.5138 MB / 0.8091 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.42, allocations: 0.9375 kB / 0.8091 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/1.421, allocations: 236.1 kB / 0.8093 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.422, allocations: 150.1 kB / 0.8094 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/1.425, allocations: 1.423 MB / 0.8108 GB, free: 129 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/1.426, allocations: 1.018 MB / 0.8118 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007986/1.427, allocations: 185.2 kB / 0.812 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/1.427, allocations: 207 kB / 0.8122 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.427, allocations: 4 kB / 0.8122 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06864/1.496, allocations: 13.61 MB / 0.8255 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/1.496, allocations: 147.6 kB / 0.8256 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/4.396, allocations: 0 / 0.8256 GB, free: 115.9 MB / 0.6511 GB