Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.157/3.157, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.6e-05, allocations: 4 kB / 436.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1687, allocations: 77.74 MB / 0.5024 GB, free: 4.422 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.8197, allocations: 126.2 MB / 0.6256 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000491/0.8202, allocations: 124.5 kB / 0.6257 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.07673/0.897, allocations: 14.66 MB / 0.64 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.704e-06/0.897, allocations: 0 / 0.64 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.897, allocations: 0 / 0.64 GB, free: 11.84 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.001158/0.8982, allocations: 0.5567 MB / 0.6406 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8983, allocations: 12.03 kB / 0.6406 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.8984, allocations: 105.8 kB / 0.6407 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.8984, allocations: 87.14 kB / 0.6408 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.8986, allocations: 257.2 kB / 0.641 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.8987, allocations: 150.6 kB / 0.6412 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.8988, allocations: 154.5 kB / 0.6413 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.894e-05/0.8989, allocations: 101 kB / 0.6414 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.8989, allocations: 79.22 kB / 0.6415 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.899, allocations: 154.6 kB / 0.6416 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.768e-05/0.8991, allocations: 150.6 kB / 0.6418 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.8991, allocations: 154.5 kB / 0.6419 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.8995, allocations: 461.9 kB / 0.6424 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.8996, allocations: 177.1 kB / 0.6425 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.8997, allocations: 80.14 kB / 0.6426 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.8997, allocations: 79.27 kB / 0.6427 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.8998, allocations: 109.8 kB / 0.6428 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.8998, allocations: 0 / 0.6428 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 9.218e-05/0.8999, allocations: 33.61 kB / 0.6428 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.8999, allocations: 130.7 kB / 0.643 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.9001, allocations: 117.2 kB / 0.6431 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.9002, allocations: 25.7 kB / 0.6431 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.9002, allocations: 88.14 kB / 0.6432 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.9002, allocations: 0 / 0.6432 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.9003, allocations: 0 / 0.6432 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.9004, allocations: 322.8 kB / 0.6435 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.9004, allocations: 8 kB / 0.6435 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.9005, allocations: 4 kB / 0.6435 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.149e-05/0.9005, allocations: 4 kB / 0.6435 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9005, allocations: 4 kB / 0.6435 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001583/0.9007, allocations: 53.53 kB / 0.6436 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9007, allocations: 4 kB / 0.6436 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/0.9008, allocations: 4 kB / 0.6436 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.9008, allocations: 3.938 kB / 0.6436 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.9008, allocations: 3.938 kB / 0.6436 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.9008, allocations: 0 / 0.6436 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/0.9009, allocations: 0 / 0.6436 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.9009, allocations: 8.062 kB / 0.6436 GB, free: 7.992 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 9.954e-05/0.901, allocations: 184.2 kB / 0.6438 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.9011, allocations: 112.9 kB / 0.6439 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.9011, allocations: 108.6 kB / 0.644 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-05/0.9012, allocations: 180.3 kB / 0.6441 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.041e-05/0.9013, allocations: 184.5 kB / 0.6443 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.951e-05/0.9014, allocations: 186.9 kB / 0.6445 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.9017, allocations: 413.2 kB / 0.6449 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.9017, allocations: 105 kB / 0.645 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.9018, allocations: 104.9 kB / 0.6451 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-05/0.9019, allocations: 176.3 kB / 0.6453 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.9019, allocations: 180.3 kB / 0.6454 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.26e-05/0.902, allocations: 192.2 kB / 0.6456 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-05/0.9021, allocations: 176.3 kB / 0.6458 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.9023, allocations: 303.7 kB / 0.6461 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.9024, allocations: 190 kB / 0.6462 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.9025, allocations: 188.3 kB / 0.6464 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.9026, allocations: 104.9 kB / 0.6465 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.9027, allocations: 176.3 kB / 0.6467 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.9027, allocations: 105 kB / 0.6468 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001092/0.9029, allocations: 102.7 kB / 0.6469 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9029, allocations: 0 / 0.6469 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001379/0.9043, allocations: 323.5 kB / 0.6472 GB, free: 4.066 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.002195/0.9065, allocations: 1.22 MB / 0.6484 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.9067, allocations: 37.7 kB / 0.6484 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9067, allocations: 4 kB / 0.6484 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.9067, allocations: 0 / 0.6484 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.9072, allocations: 0.5224 MB / 0.6489 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.9082, allocations: 341.3 kB / 0.6493 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.9085, allocations: 0.6887 MB / 0.6499 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.9085, allocations: 4 kB / 0.6499 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.9086, allocations: 11.44 kB / 0.65 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.9086, allocations: 0 / 0.65 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.9444, allocations: 6.468 MB / 0.6563 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.9448, allocations: 285.7 kB / 0.6565 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.604, allocations: 0 / 0.6565 GB, free: 10.55 MB / 0.5417 GB