Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.796e-05, allocations: 7.984 kB / 347.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5014, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.497/1.999, allocations: 489.1 MB / 0.877 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.999, allocations: 82.2 kB / 0.8771 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7568/2.756, allocations: 99.87 MB / 0.9746 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.164e-06/2.756, allocations: 0 / 0.9746 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.591e-05/2.756, allocations: 11.94 kB / 0.9747 GB, free: 158.1 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002192/2.758, allocations: 0.8062 MB / 0.9754 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/2.758, allocations: 11.97 kB / 0.9755 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/2.758, allocations: 74.53 kB / 0.9755 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005206/2.759, allocations: 72.19 kB / 0.9756 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009543/2.76, allocations: 414.8 kB / 0.976 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/2.76, allocations: 62.48 kB / 0.976 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/2.76, allocations: 38.5 kB / 0.9761 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/2.761, allocations: 489.8 kB / 0.9766 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/2.761, allocations: 3.938 kB / 0.9766 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/2.761, allocations: 16 kB / 0.9766 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/2.761, allocations: 20.77 kB / 0.9766 GB, free: 156 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/2.762, allocations: 321.3 kB / 0.9769 GB, free: 155.7 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/2.767, allocations: 2.435 MB / 0.9793 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/2.767, allocations: 272.7 kB / 0.9795 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/2.768, allocations: 125.4 kB / 0.9797 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/2.768, allocations: 9.625 kB / 0.9797 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/2.768, allocations: 229.5 kB / 0.9799 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.176e-06/2.768, allocations: 3.938 kB / 0.9799 GB, free: 152.4 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01497/2.783, allocations: 2.656 MB / 0.9825 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/2.783, allocations: 170.2 kB / 0.9826 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/2.784, allocations: 338.7 kB / 0.983 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/2.784, allocations: 37.7 kB / 0.983 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/2.784, allocations: 302.9 kB / 0.9833 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/2.784, allocations: 164.4 kB / 0.9834 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/2.784, allocations: 12 kB / 0.9835 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/2.784, allocations: 330.8 kB / 0.9838 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/2.785, allocations: 157.5 kB / 0.9839 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/2.785, allocations: 337.2 kB / 0.9842 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/2.786, allocations: 239.2 kB / 0.9845 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/2.786, allocations: 4 kB / 0.9845 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001447/2.787, allocations: 0.5961 MB / 0.9851 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/2.787, allocations: 37.69 kB / 0.9851 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/2.788, allocations: 8 kB / 0.9851 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/2.788, allocations: 112.7 kB / 0.9852 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/2.789, allocations: 151.9 kB / 0.9854 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006866/2.79, allocations: 0.6684 MB / 0.986 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/2.791, allocations: 71.94 kB / 0.9861 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/2.791, allocations: 43.98 kB / 0.9861 GB, free: 145.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002335/2.791, allocations: 147.9 kB / 0.9863 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/2.792, allocations: 47.44 kB / 0.9863 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/2.794, allocations: 0.6196 MB / 0.9869 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/2.794, allocations: 8 kB / 0.9869 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.794, allocations: 4 kB / 0.9869 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/2.794, allocations: 3.984 kB / 0.9869 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/2.797, allocations: 1.14 MB / 0.988 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/2.797, allocations: 4 kB / 0.988 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/2.797, allocations: 116 kB / 0.9882 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008797/2.798, allocations: 100.8 kB / 0.9883 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/2.798, allocations: 23.92 kB / 0.9883 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/2.801, allocations: 1.675 MB / 0.9899 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/2.801, allocations: 0 / 0.9899 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/2.803, allocations: 0.8573 MB / 0.9907 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/2.803, allocations: 160.5 kB / 0.9909 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/2.803, allocations: 12 kB / 0.9909 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/2.804, allocations: 59.94 kB / 0.991 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/2.804, allocations: 63.91 kB / 0.991 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.916e-05/2.804, allocations: 32 kB / 0.9911 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004032/2.805, allocations: 265.2 kB / 0.9913 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/2.805, allocations: 0 / 0.9913 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00147/2.806, allocations: 299.8 kB / 0.9916 GB, free: 139.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/2.811, allocations: 2.445 MB / 0.994 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001361/2.812, allocations: 488.8 kB / 0.9945 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.812, allocations: 6.266 kB / 0.9945 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000677/2.813, allocations: 325.9 kB / 0.9948 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/2.814, allocations: 179.3 kB / 0.9949 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/2.817, allocations: 1.018 MB / 0.9959 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/2.818, allocations: 0.8591 MB / 0.9968 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/2.818, allocations: 199.4 kB / 0.997 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/2.818, allocations: 0 / 0.997 GB, free: 134.3 MB / 0.5261 GB [CodegenCppCommon.tpl:986:14-986:14:writable] Error: Template error: Unknown exp:.Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)).