Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 3.02/3.02, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4024/3.423, allocations: 46.82 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/3.581, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.759/6.341, allocations: 0.7431 GB / 1.03 GB, free: 36.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004383/6.341, allocations: 68.7 kB / 1.03 GB, free: 36.42 MB / 394.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.765/7.106, allocations: 77.69 MB / 1.106 GB, free: 119.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.882e-05/7.106, allocations: 9.469 kB / 1.106 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/7.107, allocations: 43.58 kB / 1.106 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/7.108, allocations: 190.1 kB / 1.106 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/7.108, allocations: 1.125 kB / 1.106 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/7.108, allocations: 2.156 kB / 1.106 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002974/7.108, allocations: 50.14 kB / 1.106 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/7.108, allocations: 79.56 kB / 1.106 GB, free: 119.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/7.108, allocations: 0 / 1.106 GB, free: 119.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/7.108, allocations: 0 / 1.106 GB, free: 119.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/7.109, allocations: 0.9688 kB / 1.106 GB, free: 119.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/7.109, allocations: 162.6 kB / 1.107 GB, free: 119.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/7.11, allocations: 123.6 kB / 1.107 GB, free: 119.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/7.11, allocations: 30.86 kB / 1.107 GB, free: 119 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/7.111, allocations: 140.4 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/7.111, allocations: 31.53 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 5.53e-06/7.111, allocations: 1.5 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.002817/7.114, allocations: 197.6 kB / 1.107 GB, free: 118.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/7.114, allocations: 86.06 kB / 1.107 GB, free: 118.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/7.115, allocations: 125.5 kB / 1.107 GB, free: 118.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/7.115, allocations: 25.7 kB / 1.107 GB, free: 118.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/7.115, allocations: 85.8 kB / 1.107 GB, free: 118.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/7.115, allocations: 27.73 kB / 1.107 GB, free: 118.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/7.115, allocations: 3.938 kB / 1.107 GB, free: 118.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.562e-05/7.115, allocations: 317.2 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/7.115, allocations: 23.5 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/7.115, allocations: 54.2 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/7.117, allocations: 140.8 kB / 1.108 GB, free: 118 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/7.118, allocations: 0 / 1.108 GB, free: 118 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.002911/7.12, allocations: 218.1 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/7.121, allocations: 9.188 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/7.121, allocations: 1.188 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/7.121, allocations: 1.094 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/7.121, allocations: 17.45 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/7.121, allocations: 1.688 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/7.121, allocations: 6.219 kB / 1.108 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/7.121, allocations: 9.859 kB / 1.108 GB, free: 117.9 MB / 394.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 0.00014/7.122, allocations: 114 kB / 1.108 GB, free: 117.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/7.122, allocations: 7.344 kB / 1.108 GB, free: 117.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/7.125, allocations: 243.5 kB / 1.108 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/7.125, allocations: 1.062 kB / 1.108 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/7.125, allocations: 1.125 kB / 1.108 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/7.125, allocations: 1.125 kB / 1.108 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/7.126, allocations: 157.8 kB / 1.109 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/7.126, allocations: 5.125 kB / 1.109 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/7.126, allocations: 11.28 kB / 1.109 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/7.126, allocations: 5.406 kB / 1.109 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/7.126, allocations: 9.391 kB / 1.109 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/7.126, allocations: 1.5 kB / 1.109 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/7.126, allocations: 0 / 1.109 GB, free: 117.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003257/7.13, allocations: 283.1 kB / 1.109 GB, free: 117.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003251/7.133, allocations: 0.7072 MB / 1.11 GB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/7.133, allocations: 104.9 kB / 1.11 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/7.133, allocations: 0 / 1.11 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/7.134, allocations: 128 / 1.11 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/7.134, allocations: 15.98 kB / 1.11 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/7.134, allocations: 4 kB / 1.11 GB, free: 116.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001588/7.134, allocations: 111.2 kB / 1.11 GB, free: 116.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004774/7.139, allocations: 331.6 kB / 1.11 GB, free: 116 MB / 394.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.006286/7.145, allocations: 1.085 MB / 1.111 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/7.146, allocations: 55.91 kB / 1.111 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/7.146, allocations: 4 kB / 1.111 GB, free: 115 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/7.146, allocations: 32.3 kB / 1.111 GB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/7.147, allocations: 18.92 kB / 1.111 GB, free: 114.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/7.148, allocations: 233.8 kB / 1.112 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/7.148, allocations: 0.711 MB / 1.112 GB, free: 113.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.124e-06/7.148, allocations: 0 / 1.112 GB, free: 113.9 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat