Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.036/3.036, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.917e-05, allocations: 4.078 kB / 370.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 67 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5811/0.7297, allocations: 99.18 MB / 0.5243 GB, free: 16.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.73, allocations: 79.89 kB / 0.5243 GB, free: 16.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.7521, allocations: 4.267 MB / 0.5285 GB, free: 32.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7521, allocations: 0 / 0.5285 GB, free: 32.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.7521, allocations: 1.438 kB / 0.5285 GB, free: 32.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005885/0.7527, allocations: 374.3 kB / 0.5289 GB, free: 32.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7528, allocations: 9.875 kB / 0.5289 GB, free: 32.01 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.7529, allocations: 38.2 kB / 0.5289 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.7529, allocations: 2.562 kB / 0.5289 GB, free: 31.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.753, allocations: 175.1 kB / 0.5291 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.7531, allocations: 11.66 kB / 0.5291 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.7531, allocations: 4.281 kB / 0.5291 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.7533, allocations: 74.77 kB / 0.5292 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7533, allocations: 0 / 0.5292 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.7533, allocations: 4.281 kB / 0.5292 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7533, allocations: 1.594 kB / 0.5292 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.7535, allocations: 28.7 kB / 0.5292 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.7542, allocations: 340.5 kB / 0.5295 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.7544, allocations: 56.41 kB / 0.5296 GB, free: 31.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.7544, allocations: 23.08 kB / 0.5296 GB, free: 31.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.7545, allocations: 6.484 kB / 0.5296 GB, free: 31.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.7545, allocations: 36.97 kB / 0.5296 GB, free: 31.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 2.235e-06/0.7545, allocations: 3.984 kB / 0.5296 GB, free: 31.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001243/0.7558, allocations: 0.5549 MB / 0.5302 GB, free: 30.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.7558, allocations: 56.59 kB / 0.5302 GB, free: 30.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.7559, allocations: 98.95 kB / 0.5303 GB, free: 30.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.7559, allocations: 27.02 kB / 0.5304 GB, free: 30.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.756, allocations: 95.7 kB / 0.5304 GB, free: 30.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.7561, allocations: 33.7 kB / 0.5305 GB, free: 30.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.7561, allocations: 4.719 kB / 0.5305 GB, free: 30.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7563, allocations: 325.5 kB / 0.5308 GB, free: 30.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.7563, allocations: 26.53 kB / 0.5308 GB, free: 30.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.7564, allocations: 19.94 kB / 0.5308 GB, free: 30.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.897e-05/0.7565, allocations: 27.2 kB / 0.5309 GB, free: 30.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7565, allocations: 0 / 0.5309 GB, free: 30.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.7568, allocations: 94.22 kB / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7568, allocations: 5.125 kB / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7568, allocations: 0 / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.7568, allocations: 2.016 kB / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.7571, allocations: 31.02 kB / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.7572, allocations: 0 / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7573, allocations: 11.11 kB / 0.531 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.7573, allocations: 7.672 kB / 0.531 GB, free: 30.23 MB / 458.7 MB 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 (13): * Single equations (assignments): 13 * 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 8.93e-05/0.7574, allocations: 111 kB / 0.5311 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.7575, allocations: 8.328 kB / 0.5311 GB, free: 30.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.7578, allocations: 107.4 kB / 0.5312 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7578, allocations: 1.5 kB / 0.5312 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7578, allocations: 0 / 0.5312 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7578, allocations: 2.594 kB / 0.5312 GB, free: 30.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.7584, allocations: 371.8 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7584, allocations: 1.5 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.7587, allocations: 26.12 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.7588, allocations: 1.281 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.7588, allocations: 1.219 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.7588, allocations: 2.25 kB / 0.5316 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7588, allocations: 5.312 kB / 0.5316 GB, free: 29.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.7592, allocations: 232.5 kB / 0.5318 GB, free: 29.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.7592, allocations: 82.39 kB / 0.5319 GB, free: 29.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.7593, allocations: 3.375 kB / 0.5319 GB, free: 29.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.7595, allocations: 13.08 kB / 0.5319 GB, free: 29.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.7595, allocations: 6.594 kB / 0.5319 GB, free: 29.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.7596, allocations: 7.062 kB / 0.5319 GB, free: 29.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.7596, allocations: 80.03 kB / 0.532 GB, free: 29.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7596, allocations: 0 / 0.532 GB, free: 29.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.76, allocations: 44.39 kB / 0.5321 GB, free: 29.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008086/0.7608, allocations: 0.8068 MB / 0.5329 GB, free: 28.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.7611, allocations: 61.84 kB / 0.5329 GB, free: 28.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7611, allocations: 3.938 kB / 0.5329 GB, free: 28.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.7612, allocations: 34.91 kB / 0.5329 GB, free: 28.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7614, allocations: 12.69 kB / 0.533 GB, free: 28.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/0.7622, allocations: 303 kB / 0.5332 GB, free: 28.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.7626, allocations: 0.7034 MB / 0.5339 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.703e-05/0.7627, allocations: 7.547 kB / 0.5339 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.7627, allocations: 22.73 kB / 0.534 GB, free: 27.79 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7627, allocations: 0 / 0.534 GB, free: 27.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.7882, allocations: 1.998 MB / 0.5359 GB, free: 27.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.7885, allocations: 190.7 kB / 0.5361 GB, free: 27.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.185, allocations: 0 / 0.5361 GB, free: 27.28 MB / 458.7 MB