Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_ConversionBlocks",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(ModelicaTest): time 2.628/2.628, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/2.816, allocations: 57.2 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/3.114, allocations: 54.84 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/3.314, allocations: 83.41 MB / 437.5 MB, free: 9.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/3.314, allocations: 63.91 kB / 437.5 MB, free: 9.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0344/3.349, allocations: 6.162 MB / 443.7 MB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/3.349, allocations: 8 kB / 443.7 MB, free: 3.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/3.351, allocations: 67.66 kB / 443.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/3.351, allocations: 190.7 kB / 444 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/3.351, allocations: 12 kB / 444 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/3.351, allocations: 16 kB / 444 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004804/3.352, allocations: 121.3 kB / 444.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/3.352, allocations: 156.8 kB / 444.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/3.352, allocations: 3.938 kB / 444.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/3.352, allocations: 0 / 444.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/3.352, allocations: 4 kB / 444.3 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/3.354, allocations: 0.5377 MB / 444.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009461/3.355, allocations: 199.2 kB / 445 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/3.355, allocations: 57.31 kB / 445.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/3.355, allocations: 4.234 kB / 445.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/3.355, allocations: 34.8 kB / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.586e-06/3.355, allocations: 0 / 445.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005088/3.356, allocations: 148 kB / 445.2 MB, free: 1.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/3.356, allocations: 55.34 kB / 445.3 MB, free: 1.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/3.356, allocations: 93 kB / 445.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/3.356, allocations: 25.7 kB / 445.4 MB, free: 1.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/3.356, allocations: 132.3 kB / 445.5 MB, free: 1.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/3.356, allocations: 82.66 kB / 445.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/3.356, allocations: 0 / 445.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/3.356, allocations: 330.7 kB / 445.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/3.357, allocations: 32 kB / 446 MB, free: 1.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/3.357, allocations: 32 kB / 446 MB, free: 1.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/3.357, allocations: 39.97 kB / 446 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/3.357, allocations: 0 / 446 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007042/3.358, allocations: 133.6 kB / 446.2 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/3.358, allocations: 4 kB / 446.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/3.358, allocations: 0 / 446.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/3.358, allocations: 4 kB / 446.2 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/3.359, allocations: 107.9 kB / 446.3 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/3.359, allocations: 3.938 kB / 446.3 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/3.36, allocations: 15.75 kB / 446.3 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/3.36, allocations: 4 kB / 446.3 MB, free: 0.7109 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0001856/3.36, allocations: 109.9 kB / 446.4 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/3.36, allocations: 7.906 kB / 446.4 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/3.36, allocations: 33.28 kB / 446.5 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/3.36, allocations: 4 kB / 446.5 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/3.36, allocations: 3.906 kB / 446.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/3.36, allocations: 0 / 446.5 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/3.361, allocations: 218 kB / 446.7 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/3.361, allocations: 0 / 446.7 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/3.363, allocations: 107.9 kB / 446.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/3.363, allocations: 0 / 446.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/3.363, allocations: 0 / 446.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/3.363, allocations: 0 / 446.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/3.363, allocations: 0 / 446.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1731/3.536, allocations: 251.7 kB / 447 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008538/3.537, allocations: 0.7389 MB / 447.8 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/3.537, allocations: 89.7 kB / 447.9 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/3.537, allocations: 0 / 447.9 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/3.537, allocations: 3.781 kB / 447.9 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/3.537, allocations: 18.78 kB / 447.9 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/3.537, allocations: 3.844 kB / 447.9 MB, free: 129.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.84e-05/3.537, allocations: 82.44 kB / 448 MB, free: 129.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001449/3.539, allocations: 48.3 kB / 448 MB, free: 129.4 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0001333/3.539, allocations: 95.86 kB / 448.1 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/3.539, allocations: 111.7 kB / 448.2 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/3.539, allocations: 0 / 448.2 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/3.539, allocations: 65.91 kB / 448.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/3.54, allocations: 7.391 kB / 448.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/3.54, allocations: 261.2 kB / 448.5 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/3.541, allocations: 0.7674 MB / 449.3 MB, free: 128.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/3.541, allocations: 0 / 449.3 MB, free: 128.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat