Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.139/3.139, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.325e-05, allocations: 7.984 kB / 436.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 77.73 MB / 0.5024 GB, free: 4.441 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6899/0.9321, allocations: 126.9 MB / 0.6263 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004503/0.9326, allocations: 119.9 kB / 0.6264 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.07906/1.012, allocations: 14.98 MB / 0.6411 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/1.012, allocations: 4 kB / 0.6411 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.012, allocations: 0 / 0.6411 GB, free: 10.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001243/1.013, allocations: 0.5567 MB / 0.6416 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/1.013, allocations: 8.031 kB / 0.6416 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/1.013, allocations: 105.8 kB / 0.6417 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/1.013, allocations: 87.14 kB / 0.6418 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/1.014, allocations: 256.8 kB / 0.6421 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/1.014, allocations: 150.6 kB / 0.6422 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/1.014, allocations: 158.6 kB / 0.6423 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.409e-05/1.014, allocations: 101 kB / 0.6424 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.014, allocations: 75.28 kB / 0.6425 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/1.014, allocations: 154.6 kB / 0.6427 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.745e-05/1.014, allocations: 150.6 kB / 0.6428 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/1.014, allocations: 158.5 kB / 0.643 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/1.014, allocations: 465.9 kB / 0.6434 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/1.015, allocations: 173.1 kB / 0.6436 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/1.015, allocations: 80.14 kB / 0.6436 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.015, allocations: 75.28 kB / 0.6437 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/1.015, allocations: 109.8 kB / 0.6438 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/1.015, allocations: 0 / 0.6438 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.0001028/1.015, allocations: 37.55 kB / 0.6439 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/1.015, allocations: 130.7 kB / 0.644 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/1.015, allocations: 117.2 kB / 0.6441 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.015, allocations: 25.7 kB / 0.6441 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/1.015, allocations: 92.11 kB / 0.6442 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/1.015, allocations: 4 kB / 0.6442 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.015, allocations: 4 kB / 0.6442 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.015, allocations: 314.8 kB / 0.6445 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/1.015, allocations: 11.94 kB / 0.6445 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/1.015, allocations: 4 kB / 0.6445 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.764e-05/1.016, allocations: 8.031 kB / 0.6445 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.016, allocations: 0 / 0.6445 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/1.016, allocations: 57.66 kB / 0.6446 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.016, allocations: 4 kB / 0.6446 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.016, allocations: 7.938 kB / 0.6446 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.016, allocations: 0 / 0.6446 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/1.016, allocations: 0 / 0.6446 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.016, allocations: 0 / 0.6446 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/1.016, allocations: 3.938 kB / 0.6446 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/1.016, allocations: 4 kB / 0.6446 GB, free: 6.945 MB / 0.5261 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001182/1.016, allocations: 188.2 kB / 0.6448 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/1.016, allocations: 112.9 kB / 0.6449 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/1.016, allocations: 104.6 kB / 0.645 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.758e-05/1.016, allocations: 180.2 kB / 0.6452 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-05/1.016, allocations: 180.5 kB / 0.6453 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.459e-05/1.017, allocations: 190.9 kB / 0.6455 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/1.017, allocations: 421.1 kB / 0.6459 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.664e-05/1.017, allocations: 101 kB / 0.646 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/1.017, allocations: 101 kB / 0.6461 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.934e-05/1.017, allocations: 180.2 kB / 0.6463 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/1.017, allocations: 180.2 kB / 0.6465 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.003e-05/1.017, allocations: 184.3 kB / 0.6466 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-05/1.017, allocations: 180.2 kB / 0.6468 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/1.018, allocations: 311.7 kB / 0.6471 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.018, allocations: 189.9 kB / 0.6473 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/1.018, allocations: 180.3 kB / 0.6475 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.018, allocations: 101 kB / 0.6476 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/1.018, allocations: 180.2 kB / 0.6477 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/1.018, allocations: 109 kB / 0.6478 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.957e-05/1.018, allocations: 98.72 kB / 0.6479 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/1.018, allocations: 0 / 0.6479 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001539/1.02, allocations: 331.4 kB / 0.6482 GB, free: 3.012 MB / 0.5261 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 (0): * Single equations (assignments): 0 * 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.002439/1.022, allocations: 1.219 MB / 0.6494 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001583/1.022, allocations: 37.7 kB / 0.6495 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.022, allocations: 64 / 0.6495 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/1.022, allocations: 7.938 kB / 0.6495 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/1.023, allocations: 0.5309 MB / 0.65 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/1.024, allocations: 341.4 kB / 0.6503 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.024, allocations: 0.6926 MB / 0.651 GB, free: 100 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.217e-05/1.024, allocations: 4 kB / 0.651 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/1.024, allocations: 15.42 kB / 0.651 GB, free: 80 kB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/1.025, allocations: 3.938 kB / 0.651 GB, free: 76 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/1.067, allocations: 6.616 MB / 0.6575 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003798/1.067, allocations: 285.9 kB / 0.6577 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.743, allocations: 6 kB / 0.6578 GB, free: 9.324 MB / 0.5417 GB