Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_TestConversionBlock",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.864/1.864, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3016/2.166, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/2.263, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/2.574, allocations: 70.58 MB / 364.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/2.574, allocations: 62.84 kB / 364.5 MB, free: 7.191 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.00716/2.582, allocations: 1.322 MB / 365.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/2.582, allocations: 7.75 kB / 365.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/2.582, allocations: 8.656 kB / 365.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/2.582, allocations: 168.5 kB / 366 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/2.582, allocations: 3.984 kB / 366 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/2.582, allocations: 7.875 kB / 366 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002096/2.582, allocations: 34.14 kB / 366 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/2.582, allocations: 59.02 kB / 366.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/2.582, allocations: 0 / 366.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/2.582, allocations: 0 / 366.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/2.582, allocations: 3.844 kB / 366.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/2.583, allocations: 280.4 kB / 366.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/2.583, allocations: 46.02 kB / 366.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/2.583, allocations: 23.08 kB / 366.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/2.583, allocations: 0 / 366.4 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/2.583, allocations: 31.97 kB / 366.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/2.583, allocations: 0 / 366.5 MB, free: 6.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003332/2.584, allocations: 66.69 kB / 366.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/2.584, allocations: 55.5 kB / 366.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/2.584, allocations: 106.6 kB / 366.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/2.584, allocations: 25.7 kB / 366.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/2.584, allocations: 92.91 kB / 366.8 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/2.584, allocations: 13.95 kB / 366.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/2.584, allocations: 0 / 366.8 MB, free: 5.887 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/2.584, allocations: 316 kB / 367.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/2.584, allocations: 10.94 kB / 367.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/2.584, allocations: 17.31 kB / 367.1 MB, free: 5.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/2.584, allocations: 15.52 kB / 367.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/2.584, allocations: 0 / 367.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002287/2.585, allocations: 62.3 kB / 367.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/2.585, allocations: 9.312 kB / 367.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/2.585, allocations: 0 / 367.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/2.585, allocations: 1.172 kB / 367.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/2.585, allocations: 32.19 kB / 367.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/2.585, allocations: 4.312 kB / 367.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/2.585, allocations: 21.55 kB / 367.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/2.585, allocations: 7.875 kB / 367.3 MB, free: 5.52 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 0.0001247/2.586, allocations: 108.2 kB / 367.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/2.586, allocations: 12.95 kB / 367.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/2.586, allocations: 78.05 kB / 367.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/2.586, allocations: 0 / 367.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.586, allocations: 0 / 367.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/2.586, allocations: 1.922 kB / 367.5 MB, free: 21.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/2.586, allocations: 166.2 kB / 367.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/2.586, allocations: 4.656 kB / 367.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/2.587, allocations: 33.92 kB / 367.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/2.587, allocations: 0 / 367.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/2.587, allocations: 3.844 kB / 367.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/2.587, allocations: 0 / 367.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/2.587, allocations: 0 / 367.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003235/2.587, allocations: 179.4 kB / 367.9 MB, free: 21.05 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000483/2.588, allocations: 0.5322 MB / 368.4 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/2.588, allocations: 86.33 kB / 368.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/2.588, allocations: 0 / 368.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/2.588, allocations: 20 kB / 368.5 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/2.588, allocations: 14.66 kB / 368.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/2.588, allocations: 0 / 368.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.507e-05/2.588, allocations: 88.03 kB / 368.6 MB, free: 20.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002128/2.591, allocations: 20.45 kB / 368.6 MB, free: 20.35 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.0002177/2.591, allocations: 111 kB / 368.7 MB, free: 20.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/2.591, allocations: 34.48 kB / 368.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.591, allocations: 0 / 368.8 MB, free: 20.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/2.591, allocations: 26.56 kB / 368.8 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/2.592, allocations: 7.25 kB / 368.8 MB, free: 20.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/2.592, allocations: 99.8 kB / 368.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/2.593, allocations: 0.7016 MB / 369.6 MB, free: 19.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/2.593, allocations: 0 / 369.6 MB, free: 19.47 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat