Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_cs_Modelica_ComplexBlocks_Examples_TestConversionBlock",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 1.679/1.679, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2295/1.909, allocations: 46.81 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/1.998, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/2.27, allocations: 70.59 MB / 364.5 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/2.27, allocations: 59.81 kB / 364.5 MB, free: 7.129 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.005605/2.276, allocations: 1.325 MB / 365.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/2.276, allocations: 11.56 kB / 365.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/2.276, allocations: 5.219 kB / 365.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.604e-05/2.276, allocations: 170.8 kB / 366.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/2.276, allocations: 3.875 kB / 366.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/2.276, allocations: 1.312 kB / 366.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001475/2.276, allocations: 31.78 kB / 366.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/2.276, allocations: 59.97 kB / 366.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/2.276, allocations: 0 / 366.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/2.276, allocations: 4 kB / 366.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/2.276, allocations: 0 / 366.1 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/2.277, allocations: 288.9 kB / 366.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/2.277, allocations: 45.7 kB / 366.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.376e-05/2.277, allocations: 19.73 kB / 366.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/2.277, allocations: 4 kB / 366.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/2.277, allocations: 30.56 kB / 366.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.552e-06/2.277, allocations: 3.812 kB / 366.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002347/2.277, allocations: 67.2 kB / 366.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/2.277, allocations: 51.41 kB / 366.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/2.277, allocations: 102.2 kB / 366.7 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/2.277, allocations: 25.7 kB / 366.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/2.278, allocations: 98.91 kB / 366.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/2.278, allocations: 11.12 kB / 366.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/2.278, allocations: 0 / 366.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/2.278, allocations: 321.5 kB / 367.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/2.278, allocations: 11.62 kB / 367.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/2.278, allocations: 11.75 kB / 367.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/2.278, allocations: 12.48 kB / 367.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/2.278, allocations: 3.938 kB / 367.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001598/2.278, allocations: 70.75 kB / 367.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/2.278, allocations: 9.469 kB / 367.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/2.278, allocations: 0 / 367.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/2.278, allocations: 1.406 kB / 367.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/2.278, allocations: 29.17 kB / 367.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/2.278, allocations: 0 / 367.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/2.279, allocations: 27.88 kB / 367.4 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/2.279, allocations: 3.188 kB / 367.4 MB, free: 5.453 MB / 298.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 (5): * Single equations (assignments): 5 * 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 8.7e-05/2.279, allocations: 104.8 kB / 367.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/2.279, allocations: 9.234 kB / 367.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/2.279, allocations: 78.86 kB / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/2.279, allocations: 0 / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/2.279, allocations: 3.938 kB / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/2.279, allocations: 5.359 kB / 367.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/2.279, allocations: 166.5 kB / 367.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/2.279, allocations: 0.6562 kB / 367.7 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/2.279, allocations: 30.33 kB / 367.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/2.28, allocations: 0 / 367.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/2.28, allocations: 3.969 kB / 367.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/2.28, allocations: 0 / 367.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.28, allocations: 1.594 kB / 367.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002121/2.28, allocations: 168.4 kB / 367.9 MB, free: 20.99 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003672/2.28, allocations: 0.5409 MB / 368.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/2.28, allocations: 84.67 kB / 368.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/2.28, allocations: 0 / 368.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/2.281, allocations: 24.55 kB / 368.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/2.281, allocations: 7.562 kB / 368.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/2.281, allocations: 0 / 368.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.198e-05/2.281, allocations: 87.64 kB / 368.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001285/2.282, allocations: 22.84 kB / 368.7 MB, free: 20.29 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 (7): * Single equations (assignments): 7 * 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.000179/2.282, allocations: 108.7 kB / 368.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/2.282, allocations: 40.86 kB / 368.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/2.282, allocations: 288 / 368.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/2.282, allocations: 22.44 kB / 368.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/2.283, allocations: 5.297 kB / 368.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/2.283, allocations: 97.36 kB / 369 MB, free: 20.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/2.283, allocations: 0.7063 MB / 369.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/2.283, allocations: 3.938 kB / 369.7 MB, free: 19.41 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat