Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_FixedShape",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(ModelicaTest): time 2.264/2.264, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1537/2.418, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/2.683, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/2.853, allocations: 82.49 MB / 436.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/2.853, allocations: 71.91 kB / 436.5 MB, free: 10.78 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.04548/2.899, allocations: 6.714 MB / 443.3 MB, free: 3.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/2.899, allocations: 8 kB / 443.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/2.899, allocations: 35.62 kB / 443.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/2.9, allocations: 274.9 kB / 443.6 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/2.9, allocations: 12 kB / 443.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/2.9, allocations: 19.94 kB / 443.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/2.901, allocations: 185 kB / 443.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/2.902, allocations: 191.1 kB / 444 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/2.902, allocations: 11.78 kB / 444 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/2.902, allocations: 0 / 444 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/2.902, allocations: 4 kB / 444 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/2.906, allocations: 0.8277 MB / 444.8 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/2.908, allocations: 300.4 kB / 445.1 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/2.908, allocations: 120.9 kB / 445.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-05/2.909, allocations: 7.984 kB / 445.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/2.909, allocations: 34.55 kB / 445.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 4.909e-06/2.909, allocations: 0 / 445.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004894/2.914, allocations: 476.8 kB / 445.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/2.914, allocations: 55.41 kB / 445.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/2.914, allocations: 180.1 kB / 446 MB, free: 1.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.792e-05/2.914, allocations: 29.7 kB / 446 MB, free: 1.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/2.914, allocations: 140.3 kB / 446.1 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/2.915, allocations: 102.5 kB / 446.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/2.915, allocations: 0 / 446.2 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/2.915, allocations: 334.8 kB / 446.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/2.915, allocations: 72 kB / 446.6 MB, free: 448 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/2.916, allocations: 97.98 kB / 446.7 MB, free: 340 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/2.916, allocations: 89.38 kB / 446.8 MB, free: 252 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/2.916, allocations: 0 / 446.8 MB, free: 252 kB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.1486/3.065, allocations: 498.2 kB / 447.3 MB, free: 131.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/3.065, allocations: 2.938 kB / 447.3 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/3.065, allocations: 7.625 kB / 447.3 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/3.068, allocations: 315.5 kB / 447.6 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/3.068, allocations: 28.83 kB / 447.6 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/3.078, allocations: 6.063 MB / 453.7 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/3.079, allocations: 26.5 kB / 453.7 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/3.079, allocations: 10.59 kB / 453.7 MB, free: 126.5 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/3.079, allocations: 112.5 kB / 453.8 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/3.079, allocations: 25 kB / 453.9 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/3.082, allocations: 0.4916 MB / 454.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/3.082, allocations: 2.969 kB / 454.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/3.082, allocations: 3.906 kB / 454.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/3.082, allocations: 3.281 kB / 454.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/3.083, allocations: 306.4 kB / 454.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/3.083, allocations: 0 / 454.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/3.083, allocations: 22.53 kB / 454.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002739/3.086, allocations: 318.8 kB / 455 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/3.086, allocations: 3.281 kB / 455 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/3.097, allocations: 6.007 MB / 461 MB, free: 121.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/3.097, allocations: 0.5 kB / 461 MB, free: 121.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00506/3.102, allocations: 0.567 MB / 461.6 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004964/3.107, allocations: 0.9435 MB / 462.5 MB, free: 120.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/3.107, allocations: 106.4 kB / 462.6 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/3.107, allocations: 1.188 kB / 462.6 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/3.108, allocations: 13.59 kB / 462.6 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/3.108, allocations: 16.08 kB / 462.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/3.108, allocations: 5.406 kB / 462.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000282/3.108, allocations: 149.4 kB / 462.8 MB, free: 120.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002713/3.111, allocations: 105.2 kB / 462.9 MB, free: 120.3 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 (11): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/3.111, allocations: 109.3 kB / 463 MB, free: 120.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00273/3.114, allocations: 0.6397 MB / 463.7 MB, free: 119.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/3.114, allocations: 0 / 463.7 MB, free: 119.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/3.115, allocations: 0.5691 MB / 464.2 MB, free: 119.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/3.116, allocations: 24.03 kB / 464.3 MB, free: 119.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/3.117, allocations: 374.4 kB / 464.6 MB, free: 119.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/3.118, allocations: 0.7821 MB / 465.4 MB, free: 118.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/3.118, allocations: 0 / 465.4 MB, free: 118.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat