Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.333/3.333, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.525e-05, allocations: 12 kB / 436.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1831, allocations: 77.73 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6778/0.861, allocations: 108.1 MB / 0.6079 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.8614, allocations: 79.95 kB / 0.608 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02845/0.8898, allocations: 6.116 MB / 0.6139 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8899, allocations: 4 kB / 0.6139 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.8899, allocations: 4 kB / 0.614 GB, free: 6.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001089/0.891, allocations: 0.5139 MB / 0.6145 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8911, allocations: 8.031 kB / 0.6145 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.8912, allocations: 58.55 kB / 0.6145 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.8913, allocations: 35.58 kB / 0.6146 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.8916, allocations: 210.7 kB / 0.6148 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.8917, allocations: 20.56 kB / 0.6148 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.716e-05/0.8917, allocations: 24.22 kB / 0.6148 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.8924, allocations: 231.8 kB / 0.615 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.8924, allocations: 3.938 kB / 0.615 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.8925, allocations: 8 kB / 0.615 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.8925, allocations: 4 kB / 0.615 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.8931, allocations: 189.1 kB / 0.6152 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.8958, allocations: 1.077 MB / 0.6163 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.8972, allocations: 238.5 kB / 0.6165 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.8974, allocations: 64.8 kB / 0.6166 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.8975, allocations: 3.984 kB / 0.6166 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.8975, allocations: 34.56 kB / 0.6166 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.8975, allocations: 0 / 0.6166 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008993/0.8984, allocations: 232.7 kB / 0.6168 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.8985, allocations: 55.41 kB / 0.6169 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.899, allocations: 271.6 kB / 0.6171 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.8991, allocations: 25.7 kB / 0.6171 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.8993, allocations: 219.4 kB / 0.6174 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.8994, allocations: 63.11 kB / 0.6174 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.8994, allocations: 8 kB / 0.6174 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.8996, allocations: 342.8 kB / 0.6178 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.8998, allocations: 76.38 kB / 0.6178 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.9003, allocations: 194 kB / 0.618 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.9008, allocations: 104.6 kB / 0.6181 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.9008, allocations: 4 kB / 0.6181 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001638/0.9024, allocations: 408.7 kB / 0.6185 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.9025, allocations: 8.625 kB / 0.6185 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.9025, allocations: 4 kB / 0.6185 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.9032, allocations: 91.39 kB / 0.6186 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.9039, allocations: 75.91 kB / 0.6187 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/0.9107, allocations: 5.124 MB / 0.6237 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.9116, allocations: 43.53 kB / 0.6237 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.9117, allocations: 16 kB / 0.6237 GB, free: 11.57 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004222/0.9122, allocations: 161.1 kB / 0.6239 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.9123, allocations: 27.66 kB / 0.6239 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.9125, allocations: 42.06 kB / 0.624 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.9125, allocations: 0 / 0.624 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.9125, allocations: 4 kB / 0.624 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9125, allocations: 0 / 0.624 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.9134, allocations: 313.3 kB / 0.6243 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.9134, allocations: 0 / 0.6243 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.914, allocations: 31.98 kB / 0.6243 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006391/0.9146, allocations: 83.33 kB / 0.6244 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.9147, allocations: 4 kB / 0.6244 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006911/0.9216, allocations: 5.12 MB / 0.6294 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9217, allocations: 0 / 0.6294 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.9231, allocations: 403 kB / 0.6298 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.9233, allocations: 100.7 kB / 0.6299 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.9234, allocations: 8.062 kB / 0.6299 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.9239, allocations: 7.938 kB / 0.6299 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.924, allocations: 19.97 kB / 0.6299 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.9241, allocations: 0 / 0.6299 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004661/0.9245, allocations: 203.1 kB / 0.6301 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9246, allocations: 0 / 0.6301 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001147/0.9257, allocations: 103.8 kB / 0.6302 GB, free: 4.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/0.9277, allocations: 0.9498 MB / 0.6311 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.9295, allocations: 0.6162 MB / 0.6317 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9295, allocations: 4 kB / 0.6317 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.9307, allocations: 0.5038 MB / 0.6322 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.9316, allocations: 51.06 kB / 0.6323 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.9344, allocations: 0.6826 MB / 0.6329 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.9351, allocations: 0.7717 MB / 0.6337 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000321/0.9354, allocations: 22.08 kB / 0.6337 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.9357, allocations: 83.41 kB / 0.6338 GB, free: 472 kB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/0.9357, allocations: 0 / 0.6338 GB, free: 472 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/0.9878, allocations: 6.451 MB / 0.6401 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003924/0.9882, allocations: 178.9 kB / 0.6402 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/3.907, allocations: 0 / 0.6402 GB, free: 9.906 MB / 0.5261 GB