Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.64e-05, allocations: 4 kB / 347.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.767/9.196, allocations: 2.771 GB / 3.17 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/9.196, allocations: 85.97 kB / 3.17 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.58/13.78, allocations: 0.8159 GB / 3.986 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.854e-06/13.78, allocations: 0 / 3.986 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001586/13.78, allocations: 52.59 kB / 3.986 GB, free: 50.03 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01309/13.79, allocations: 2.976 MB / 3.989 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/13.79, allocations: 11.72 kB / 3.989 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001008/13.79, allocations: 259 kB / 3.989 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009566/13.8, allocations: 0.8494 MB / 3.99 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/13.8, allocations: 1.112 MB / 3.991 GB, free: 48.26 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/13.81, allocations: 461.1 kB / 3.992 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006756/13.81, allocations: 173.2 kB / 3.992 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009891/13.82, allocations: 3.107 MB / 3.995 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.901e-05/13.82, allocations: 14.19 kB / 3.995 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/13.82, allocations: 84.47 kB / 3.995 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/13.82, allocations: 87.81 kB / 3.995 GB, free: 47.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009228/13.83, allocations: 2.503 MB / 3.997 GB, free: 47.18 MB / 0.5573 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.02516/13.85, allocations: 15.73 MB / 4.013 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005219/13.86, allocations: 1.336 MB / 4.014 GB, free: 36.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/13.86, allocations: 446.5 kB / 4.014 GB, free: 36.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/13.86, allocations: 0.69 MB / 4.015 GB, free: 35.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/13.86, allocations: 56.17 kB / 4.015 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 3.657e-06/13.86, allocations: 0 / 4.015 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.02065/13.88, allocations: 4.531 MB / 4.02 GB, free: 34.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/13.88, allocations: 165.5 kB / 4.02 GB, free: 34.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/13.88, allocations: 1.267 MB / 4.021 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/13.88, allocations: 48.42 kB / 4.021 GB, free: 34.48 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/13.88, allocations: 0.9268 MB / 4.022 GB, free: 33.92 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/13.88, allocations: 423.2 kB / 4.022 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/13.88, allocations: 45 kB / 4.022 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001642/13.88, allocations: 397 kB / 4.023 GB, free: 33.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/13.89, allocations: 0.5593 MB / 4.023 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/13.89, allocations: 1.772 MB / 4.025 GB, free: 31.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/13.89, allocations: 0.8988 MB / 4.026 GB, free: 31.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/13.89, allocations: 18.75 kB / 4.026 GB, free: 31.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006715/13.9, allocations: 2.387 MB / 4.028 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/13.9, allocations: 27.56 kB / 4.028 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.307e-05/13.9, allocations: 46.34 kB / 4.028 GB, free: 31.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/13.9, allocations: 429.6 kB / 4.029 GB, free: 31.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/13.9, allocations: 0.524 MB / 4.029 GB, free: 31.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/13.91, allocations: 2.726 MB / 4.032 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/13.91, allocations: 222.4 kB / 4.032 GB, free: 29.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005531/13.91, allocations: 145.4 kB / 4.032 GB, free: 29.51 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000654/13.91, allocations: 291.6 kB / 4.033 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/13.91, allocations: 176.4 kB / 4.033 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008129/13.92, allocations: 4.801 MB / 4.037 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/13.92, allocations: 50.47 kB / 4.038 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/13.92, allocations: 3.406 kB / 4.038 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.594e-05/13.92, allocations: 6.516 kB / 4.038 GB, free: 28.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/13.93, allocations: 6.88 MB / 4.044 GB, free: 28.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/13.93, allocations: 3.75 kB / 4.044 GB, free: 28.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/13.93, allocations: 277.9 kB / 4.045 GB, free: 28.08 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/13.94, allocations: 434.5 kB / 4.045 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/13.94, allocations: 25.56 kB / 4.045 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/13.94, allocations: 2.775 MB / 4.048 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/13.94, allocations: 3.531 kB / 4.048 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/13.95, allocations: 3.912 MB / 4.051 GB, free: 25.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/13.95, allocations: 0.5574 MB / 4.052 GB, free: 24.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005125/13.95, allocations: 28.64 kB / 4.052 GB, free: 24.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/13.95, allocations: 141 kB / 4.052 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/13.95, allocations: 111.2 kB / 4.052 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/13.95, allocations: 53.69 kB / 4.052 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002518/13.95, allocations: 1.188 MB / 4.053 GB, free: 24.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.42e-07/13.95, allocations: 2.281 kB / 4.053 GB, free: 24.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008209/13.96, allocations: 1.503 MB / 4.055 GB, free: 24.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01829/13.98, allocations: 7.092 MB / 4.062 GB, free: 22.41 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004882/13.99, allocations: 1.925 MB / 4.064 GB, free: 22.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/13.99, allocations: 3.812 kB / 4.064 GB, free: 22.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002804/13.99, allocations: 1.21 MB / 4.065 GB, free: 22.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00798/14, allocations: 0.8583 MB / 4.066 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/14.01, allocations: 4.596 MB / 4.07 GB, free: 21.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/14.02, allocations: 1.696 MB / 4.072 GB, free: 20.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/14.02, allocations: 0.9482 MB / 4.073 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.893e-06/14.02, allocations: 0 / 4.073 GB, free: 20.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.255/19.27, allocations: 93 MB / 4.164 GB, free: 63.36 MB / 0.573 GB