Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.043/3.043, allocations: 325.3 MB / 337.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.872e-05, allocations: 4 kB / 414.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 74.42 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6091/0.768, allocations: 103.7 MB / 0.5791 GB, free: 11.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.7684, allocations: 84.75 kB / 0.5792 GB, free: 11.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02336/0.7918, allocations: 4.572 MB / 0.5836 GB, free: 7.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7918, allocations: 0 / 0.5836 GB, free: 7.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.7919, allocations: 4 kB / 0.5836 GB, free: 7.738 MB / 474.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.0006162/0.7925, allocations: 381.5 kB / 0.584 GB, free: 7.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.7926, allocations: 8.031 kB / 0.584 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.7926, allocations: 38.19 kB / 0.584 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.7927, allocations: 4 kB / 0.5841 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.7928, allocations: 167 kB / 0.5842 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.7929, allocations: 4 kB / 0.5842 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.7929, allocations: 19.45 kB / 0.5842 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.7934, allocations: 96.27 kB / 0.5843 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.7935, allocations: 0 / 0.5843 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.7935, allocations: 0 / 0.5843 GB, free: 6.965 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7935, allocations: 3.938 kB / 0.5843 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.7939, allocations: 58.7 kB / 0.5844 GB, free: 6.914 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000739/0.7947, allocations: 330.1 kB / 0.5847 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.7952, allocations: 85.34 kB / 0.5848 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.7952, allocations: 24.16 kB / 0.5848 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.7955, allocations: 97.09 kB / 0.5849 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7956, allocations: 34.56 kB / 0.5849 GB, free: 6.305 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.7956, allocations: 0 / 0.5849 GB, free: 6.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.005946/0.8016, allocations: 0.8322 MB / 0.5857 GB, free: 5.445 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.8017, allocations: 63.03 kB / 0.5858 GB, free: 5.375 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.8018, allocations: 89 kB / 0.5859 GB, free: 5.281 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.8018, allocations: 29.08 kB / 0.5859 GB, free: 5.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.8019, allocations: 88.12 kB / 0.586 GB, free: 5.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.8019, allocations: 42.64 kB / 0.586 GB, free: 5.125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.802, allocations: 0 / 0.586 GB, free: 5.125 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8021, allocations: 326.5 kB / 0.5864 GB, free: 4.801 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.8022, allocations: 26.31 kB / 0.5864 GB, free: 4.785 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.8024, allocations: 34.17 kB / 0.5864 GB, free: 4.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.8025, allocations: 38.48 kB / 0.5864 GB, free: 4.734 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8025, allocations: 0 / 0.5864 GB, free: 4.734 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003548/0.8029, allocations: 113.3 kB / 0.5866 GB, free: 4.637 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.8029, allocations: 4 kB / 0.5866 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8029, allocations: 0 / 0.5866 GB, free: 4.633 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8029, allocations: 3.953 kB / 0.5866 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.8036, allocations: 47.02 kB / 0.5866 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.8036, allocations: 0.5469 kB / 0.5866 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.804, allocations: 23.98 kB / 0.5866 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.8041, allocations: 11.8 kB / 0.5866 GB, free: 4.555 MB / 474.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 0.0001027/0.8042, allocations: 107.7 kB / 0.5867 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.8042, allocations: 7.906 kB / 0.5868 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.8043, allocations: 10.97 kB / 0.5868 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8043, allocations: 4 kB / 0.5868 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8043, allocations: 8.047 kB / 0.5868 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8043, allocations: 3.938 kB / 0.5868 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/0.8051, allocations: 388.5 kB / 0.5871 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8051, allocations: 0 / 0.5871 GB, free: 4.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.8057, allocations: 43.91 kB / 0.5872 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.8057, allocations: 3.953 kB / 0.5872 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.8058, allocations: 11.67 kB / 0.5872 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8058, allocations: 4 kB / 0.5872 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8058, allocations: 0 / 0.5872 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.8064, allocations: 251.3 kB / 0.5874 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.8064, allocations: 81.02 kB / 0.5875 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.8065, allocations: 11.56 kB / 0.5875 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.807, allocations: 28.06 kB / 0.5876 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.807, allocations: 7.984 kB / 0.5876 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.8071, allocations: 7.5 kB / 0.5876 GB, free: 3.594 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.8071, allocations: 79.28 kB / 0.5877 GB, free: 3.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8071, allocations: 0 / 0.5877 GB, free: 3.516 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.8075, allocations: 23.25 kB / 0.5877 GB, free: 3.496 MB / 474.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.000884/0.8084, allocations: 0.8093 MB / 0.5885 GB, free: 2.707 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.8088, allocations: 80.8 kB / 0.5885 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8088, allocations: 0 / 0.5885 GB, free: 2.648 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.8089, allocations: 45.61 kB / 0.5886 GB, free: 2.617 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.8092, allocations: 7.953 kB / 0.5886 GB, free: 2.609 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.8111, allocations: 401.7 kB / 0.589 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.8114, allocations: 0.6926 MB / 0.5897 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.8117, allocations: 16.67 kB / 0.5897 GB, free: 1.465 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.8118, allocations: 25.48 kB / 0.5897 GB, free: 1.453 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8118, allocations: 0 / 0.5897 GB, free: 1.453 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.8312, allocations: 1.949 MB / 0.5916 GB, free: 15.65 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003594/0.8316, allocations: 207.6 kB / 0.5918 GB, free: 15.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.145, allocations: 0 / 0.5918 GB, free: 15.42 MB / 490.7 MB