Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.231/2.231, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.918e-05, allocations: 4 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/1.898, allocations: 498.6 MB / 0.8215 GB, free: 55.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.899, allocations: 75.64 kB / 0.8216 GB, free: 55.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1134/2.012, allocations: 31.16 MB / 0.8521 GB, free: 27.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/2.012, allocations: 0 / 0.8521 GB, free: 27.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/2.012, allocations: 7.938 kB / 0.8521 GB, free: 27.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006524/2.013, allocations: 414.2 kB / 0.8525 GB, free: 27.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/2.013, allocations: 8.031 kB / 0.8525 GB, free: 27.28 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/2.013, allocations: 38.56 kB / 0.8525 GB, free: 27.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/2.014, allocations: 92.28 kB / 0.8526 GB, free: 27.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/2.015, allocations: 194.9 kB / 0.8528 GB, free: 26.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/2.015, allocations: 0 / 0.8528 GB, free: 26.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/2.015, allocations: 8 kB / 0.8528 GB, free: 26.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/2.015, allocations: 71.31 kB / 0.8528 GB, free: 26.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/2.015, allocations: 0 / 0.8528 GB, free: 26.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/2.015, allocations: 0 / 0.8528 GB, free: 26.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/2.015, allocations: 0 / 0.8528 GB, free: 26.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/2.015, allocations: 23.98 kB / 0.8529 GB, free: 26.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/2.015, allocations: 202.4 kB / 0.8531 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/2.016, allocations: 101.2 kB / 0.8532 GB, free: 26.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/2.016, allocations: 25.78 kB / 0.8532 GB, free: 26.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/2.017, allocations: 1.639 MB / 0.8548 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/2.017, allocations: 34.56 kB / 0.8548 GB, free: 24.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/2.017, allocations: 4 kB / 0.8548 GB, free: 24.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002986/2.017, allocations: 73.61 kB / 0.8549 GB, free: 24.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/2.017, allocations: 81.09 kB / 0.855 GB, free: 24.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/2.018, allocations: 121 kB / 0.8551 GB, free: 24.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/2.018, allocations: 29.69 kB / 0.8551 GB, free: 24.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/2.018, allocations: 150.6 kB / 0.8553 GB, free: 23.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/2.018, allocations: 27.66 kB / 0.8553 GB, free: 23.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/2.018, allocations: 0 / 0.8553 GB, free: 23.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/2.018, allocations: 314.8 kB / 0.8556 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/2.018, allocations: 19.98 kB / 0.8556 GB, free: 23.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/2.018, allocations: 39.38 kB / 0.8556 GB, free: 23.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/2.018, allocations: 28.06 kB / 0.8557 GB, free: 23.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.018, allocations: 3.953 kB / 0.8557 GB, free: 23.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000227/2.018, allocations: 93.5 kB / 0.8558 GB, free: 23.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/2.018, allocations: 4 kB / 0.8558 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/2.018, allocations: 3.938 kB / 0.8558 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/2.018, allocations: 4 kB / 0.8558 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/2.019, allocations: 15.98 kB / 0.8558 GB, free: 23.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/2.019, allocations: 0 / 0.8558 GB, free: 23.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/2.019, allocations: 7.984 kB / 0.8558 GB, free: 23.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/2.019, allocations: 8.062 kB / 0.8558 GB, free: 23.28 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.094e-05/2.019, allocations: 112.9 kB / 0.8559 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/2.019, allocations: 3.953 kB / 0.8559 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/2.019, allocations: 109.5 kB / 0.856 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/2.019, allocations: 4 kB / 0.856 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/2.019, allocations: 0 / 0.856 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/2.019, allocations: 4 kB / 0.856 GB, free: 23.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/2.02, allocations: 181.5 kB / 0.8562 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/2.02, allocations: 7.953 kB / 0.8562 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/2.02, allocations: 11.98 kB / 0.8562 GB, free: 22.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/2.02, allocations: 0 / 0.8562 GB, free: 22.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/2.02, allocations: 11.98 kB / 0.8562 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/2.02, allocations: 0 / 0.8562 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/2.02, allocations: 4 kB / 0.8562 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/2.02, allocations: 147.5 kB / 0.8564 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/2.02, allocations: 96.98 kB / 0.8565 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/2.02, allocations: 0 / 0.8565 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/2.021, allocations: 11.92 kB / 0.8565 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/2.021, allocations: 0 / 0.8565 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/2.021, allocations: 7.984 kB / 0.8565 GB, free: 22.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001329/2.021, allocations: 111.3 kB / 0.8566 GB, free: 22.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.021, allocations: 4.062 kB / 0.8566 GB, free: 22.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008558/2.022, allocations: 159.8 kB / 0.8567 GB, free: 22.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.002138/2.024, allocations: 1.358 MB / 0.8581 GB, free: 20.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/2.024, allocations: 47.92 kB / 0.8581 GB, free: 20.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/2.024, allocations: 0 / 0.8581 GB, free: 20.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.46e-05/2.024, allocations: 19.94 kB / 0.8581 GB, free: 20.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/2.025, allocations: 14.73 kB / 0.8582 GB, free: 20.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/2.026, allocations: 361.5 kB / 0.8585 GB, free: 20.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/2.026, allocations: 0.6926 MB / 0.8592 GB, free: 19.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/2.026, allocations: 35.41 kB / 0.8592 GB, free: 19.58 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/2.026, allocations: 0 / 0.8592 GB, free: 19.58 MB / 458.7 MB [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)).