Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",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 2.969/2.969, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2387/3.208, allocations: 46.83 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/3.336, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/3.786, allocations: 71.43 MB / 365.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/3.787, allocations: 71.81 kB / 365.4 MB, free: 7.035 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.04112/3.828, allocations: 5.209 MB / 370.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/3.828, allocations: 7.844 kB / 370.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/3.828, allocations: 3.906 kB / 370.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/3.828, allocations: 164.7 kB / 370.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/3.828, allocations: 3.938 kB / 370.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/3.828, allocations: 0 / 370.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.019e-05/3.828, allocations: 4.438 kB / 370.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.956e-05/3.829, allocations: 39.12 kB / 370.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/3.829, allocations: 3.906 kB / 370.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/3.829, allocations: 0 / 370.8 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/3.829, allocations: 3.938 kB / 370.8 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/3.829, allocations: 377.8 kB / 371.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.009e-05/3.829, allocations: 173.7 kB / 371.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/3.829, allocations: 80.14 kB / 371.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.082e-05/3.829, allocations: 80.64 kB / 371.5 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/3.829, allocations: 113.6 kB / 371.7 MB, free: 21.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 4.138e-06/3.829, allocations: 0 / 371.7 MB, free: 21.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001271/3.83, allocations: 30.44 kB / 371.7 MB, free: 21.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/3.83, allocations: 77.86 kB / 371.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/3.83, allocations: 109.9 kB / 371.9 MB, free: 21.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/3.83, allocations: 25.7 kB / 371.9 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/3.83, allocations: 96.41 kB / 372 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/3.83, allocations: 0 / 372 MB, free: 20.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/3.83, allocations: 0 / 372 MB, free: 20.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/3.83, allocations: 312.2 kB / 372.3 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/3.83, allocations: 7.781 kB / 372.3 MB, free: 20.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/3.83, allocations: 4.797 kB / 372.3 MB, free: 20.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/3.83, allocations: 15.39 kB / 372.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/3.831, allocations: 0 / 372.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002973/3.831, allocations: 42.39 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/3.831, allocations: 7.75 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/3.831, allocations: 0 / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/3.831, allocations: 3.906 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/3.831, allocations: 4.672 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/3.831, allocations: 0 / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/3.831, allocations: 0.7969 kB / 372.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/3.831, allocations: 0.5156 kB / 372.4 MB, free: 20.63 MB / 314.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 (1): * Single equations (assignments): 1 * 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.0001758/3.831, allocations: 190.6 kB / 372.6 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/3.832, allocations: 110.4 kB / 372.7 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/3.832, allocations: 109.1 kB / 372.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/3.832, allocations: 181.5 kB / 373 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.962e-05/3.832, allocations: 184.2 kB / 373.1 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/3.832, allocations: 184.5 kB / 373.3 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/3.832, allocations: 381.9 kB / 373.7 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-05/3.833, allocations: 109.1 kB / 373.8 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/3.833, allocations: 105.8 kB / 373.9 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.94e-05/3.833, allocations: 177.1 kB / 374.1 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/3.833, allocations: 185.3 kB / 374.3 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001162/3.833, allocations: 180.3 kB / 374.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001041/3.833, allocations: 177.5 kB / 374.6 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002317/3.833, allocations: 309.2 kB / 374.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004504/3.834, allocations: 0.6733 MB / 375.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/3.834, allocations: 187.9 kB / 375.8 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/3.834, allocations: 188.6 kB / 375.9 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/3.834, allocations: 104.9 kB / 376 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/3.835, allocations: 177.2 kB / 376.2 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/3.835, allocations: 110.3 kB / 376.3 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001386/3.835, allocations: 87.16 kB / 376.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002806/3.838, allocations: 61.05 kB / 376.5 MB, free: 16.43 MB / 314.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 (0): * Single equations (assignments): 0 * 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.001015/3.839, allocations: 278.5 kB / 376.7 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/3.839, allocations: 8.531 kB / 376.8 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/3.839, allocations: 0 / 376.8 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-06/3.839, allocations: 0 / 376.8 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/3.84, allocations: 0.5307 MB / 377.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/3.84, allocations: 133 kB / 377.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/3.84, allocations: 0.6907 MB / 378.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/3.84, allocations: 0 / 378.1 MB, free: 14.86 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat does not exist to compare? outputFormat=mat