Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="me",version="2.0",platforms={"static"}) [: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 1.871/1.871, allocations: 194.9 MB / 202.5 MB, free: 6.855 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2957/2.166, allocations: 46.83 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/2.286, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/2.659, allocations: 68.96 MB / 362.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/2.659, allocations: 59.56 kB / 362.9 MB, free: 7.195 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00285/2.662, allocations: 0.8358 MB / 363.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/2.662, allocations: 11.69 kB / 363.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/2.662, allocations: 3.906 kB / 363.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.234e-05/2.663, allocations: 165.4 kB / 363.9 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/2.663, allocations: 3.906 kB / 363.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/2.663, allocations: 0 / 363.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001052/2.663, allocations: 39.05 kB / 363.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/2.663, allocations: 100.7 kB / 364 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.663, allocations: 2.672 kB / 364 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/2.663, allocations: 6.844 kB / 364 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/2.663, allocations: 0 / 364 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/2.663, allocations: 153 kB / 364.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/2.663, allocations: 108.8 kB / 364.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/2.663, allocations: 59.17 kB / 364.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/2.663, allocations: 14.48 kB / 364.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/2.663, allocations: 38.47 kB / 364.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/2.663, allocations: 3.938 kB / 364.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003059/2.664, allocations: 117.8 kB / 364.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/2.664, allocations: 128.5 kB / 364.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/2.664, allocations: 103.5 kB / 364.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/2.664, allocations: 29.83 kB / 364.8 MB, free: 5.871 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/2.664, allocations: 90.14 kB / 364.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/2.664, allocations: 3.906 kB / 364.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/2.664, allocations: 0 / 364.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/2.664, allocations: 314.8 kB / 365.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/2.664, allocations: 45.7 kB / 365.2 MB, free: 5.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/2.664, allocations: 55.45 kB / 365.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/2.664, allocations: 43.42 kB / 365.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.664, allocations: 1.641 kB / 365.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002711/2.665, allocations: 119.5 kB / 365.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/2.665, allocations: 6.406 kB / 365.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/2.665, allocations: 0.875 kB / 365.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/2.665, allocations: 0 / 365.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.939e-05/2.665, allocations: 8.031 kB / 365.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/2.665, allocations: 3.75 kB / 365.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/2.665, allocations: 3.906 kB / 365.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/2.665, allocations: 10 kB / 365.4 MB, free: 5.387 MB / 298.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: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001663/2.665, allocations: 113.2 kB / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/2.665, allocations: 3.875 kB / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/2.665, allocations: 13.28 kB / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/2.665, allocations: 0 / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/2.665, allocations: 0 / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/2.665, allocations: 3.875 kB / 365.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/2.665, allocations: 139.1 kB / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/2.665, allocations: 0.9375 kB / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/2.665, allocations: 6.781 kB / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/2.665, allocations: 0 / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/2.665, allocations: 3.812 kB / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/2.665, allocations: 0 / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.665, allocations: 3.938 kB / 365.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002682/2.666, allocations: 205.4 kB / 365.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006263/2.666, allocations: 0.6734 MB / 366.6 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/2.666, allocations: 86.27 kB / 366.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/2.666, allocations: 6.562 kB / 366.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/2.667, allocations: 3.75 kB / 366.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/2.667, allocations: 5.438 kB / 366.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/2.667, allocations: 17.77 kB / 366.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.996e-05/2.667, allocations: 89.19 kB / 366.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002204/2.669, allocations: 7.625 kB / 366.8 MB, free: 20.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004722/2.669, allocations: 137.6 kB / 366.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/2.67, allocations: 63.12 kB / 367 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.67, allocations: 0 / 367 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/2.67, allocations: 30 kB / 367 MB, free: 20.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/2.67, allocations: 3.906 kB / 367 MB, free: 20.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/2.67, allocations: 128.8 kB / 367.2 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/2.671, allocations: 0.7023 MB / 367.9 MB, free: 19.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.893e-06/2.671, allocations: 0 / 367.9 MB, free: 19.35 MB / 314.7 MB