Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.905e-05, allocations: 8 kB / 347.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4029, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.5579, allocations: 85.05 MB / 494 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5583, allocations: 63.95 kB / 494 MB, free: 5.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003889/0.5622, allocations: 0.9074 MB / 494.9 MB, free: 4.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5622, allocations: 4 kB / 494.9 MB, free: 4.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5622, allocations: 0 / 494.9 MB, free: 4.531 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003057/0.5625, allocations: 342.3 kB / 495.3 MB, free: 4.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5626, allocations: 11.97 kB / 495.3 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.5627, allocations: 34.56 kB / 495.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.5627, allocations: 0 / 495.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5628, allocations: 167 kB / 495.5 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5629, allocations: 7.984 kB / 495.5 MB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5629, allocations: 7.953 kB / 495.5 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.563, allocations: 53.62 kB / 495.6 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5631, allocations: 8 kB / 495.6 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5631, allocations: 0 / 495.6 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5631, allocations: 0 / 495.6 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.5633, allocations: 47.97 kB / 495.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.5635, allocations: 173.6 kB / 495.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.5637, allocations: 66.58 kB / 495.8 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.5638, allocations: 24.86 kB / 495.9 MB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000398/0.5642, allocations: 263.6 kB / 496.1 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5642, allocations: 38.45 kB / 496.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.5642, allocations: 0 / 496.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002469/0.5645, allocations: 73.69 kB / 496.2 MB, free: 3.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5645, allocations: 55.41 kB / 496.3 MB, free: 2.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.223e-05/0.5646, allocations: 92.94 kB / 496.4 MB, free: 2.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.5647, allocations: 25.7 kB / 496.4 MB, free: 2.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.5647, allocations: 154.7 kB / 496.6 MB, free: 2.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.5648, allocations: 35.45 kB / 496.6 MB, free: 2.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5648, allocations: 0 / 496.6 MB, free: 2.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5649, allocations: 318.8 kB / 496.9 MB, free: 2.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.565, allocations: 12 kB / 496.9 MB, free: 2.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.5651, allocations: 20.08 kB / 496.9 MB, free: 2.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.5652, allocations: 20.34 kB / 497 MB, free: 2.254 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5652, allocations: 0 / 497 MB, free: 2.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.5654, allocations: 81.56 kB / 497 MB, free: 2.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5654, allocations: 11.95 kB / 497 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5654, allocations: 3.984 kB / 497.1 MB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5654, allocations: 4 kB / 497.1 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.5656, allocations: 12 kB / 497.1 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5656, allocations: 0 / 497.1 MB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5657, allocations: 4 kB / 497.1 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.5657, allocations: 4 kB / 497.1 MB, free: 2.129 MB / 410.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 (10): * Single equations (assignments): 10 * 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.088e-05/0.5658, allocations: 104.9 kB / 497.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.5658, allocations: 15.89 kB / 497.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.5661, allocations: 97.7 kB / 497.3 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5661, allocations: 4 kB / 497.3 MB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5662, allocations: 0 / 497.3 MB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5662, allocations: 3.938 kB / 497.3 MB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.5664, allocations: 165.6 kB / 497.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5664, allocations: 8 kB / 497.5 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.5665, allocations: 15.98 kB / 497.5 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5665, allocations: 0 / 497.5 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5665, allocations: 4 kB / 497.5 MB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5666, allocations: 7.953 kB / 497.5 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5666, allocations: 4 kB / 497.5 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.5668, allocations: 109.1 kB / 497.6 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.5668, allocations: 81.11 kB / 497.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5669, allocations: 4 kB / 497.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.5669, allocations: 0 / 497.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.567, allocations: 11.94 kB / 497.7 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.567, allocations: 4 kB / 497.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.012e-05/0.567, allocations: 79.28 kB / 497.8 MB, free: 1.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.567, allocations: 0 / 497.8 MB, free: 1.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.5673, allocations: 23.94 kB / 497.8 MB, free: 1.293 MB / 410.7 MB 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 (10): * Single equations (assignments): 10 * 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.0005915/0.5679, allocations: 0.6553 MB / 498.5 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5681, allocations: 56.02 kB / 498.5 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5681, allocations: 0 / 498.5 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.5682, allocations: 31.94 kB / 498.5 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.5684, allocations: 7.953 kB / 498.6 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.5689, allocations: 160.2 kB / 498.7 MB, free: 320 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.5692, allocations: 0.6809 MB / 499.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.5693, allocations: 15.44 kB / 499.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5693, allocations: 4 kB / 499.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.5/3.07, allocations: 1.041 MB / 0.4887 GB, free: 14.55 MB / 426.7 MB