Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_FixedShape",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.769/2.769, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2191/2.988, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/3.336, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/3.541, allocations: 82.5 MB / 436.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/3.541, allocations: 75.89 kB / 436.6 MB, free: 10.73 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.04292/3.584, allocations: 6.706 MB / 443.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/3.584, allocations: 8 kB / 443.4 MB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/3.584, allocations: 39.61 kB / 443.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000871/3.585, allocations: 275 kB / 443.7 MB, free: 3.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/3.585, allocations: 8 kB / 443.7 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/3.585, allocations: 12 kB / 443.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008907/3.586, allocations: 189 kB / 443.9 MB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/3.587, allocations: 191.1 kB / 444.1 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/3.587, allocations: 7.844 kB / 444.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/3.587, allocations: 0 / 444.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/3.587, allocations: 8 kB / 444.1 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/3.59, allocations: 0.8316 MB / 444.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/3.592, allocations: 299 kB / 445.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/3.592, allocations: 116.8 kB / 445.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/3.592, allocations: 8 kB / 445.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/3.592, allocations: 38.56 kB / 445.4 MB, free: 1.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.426e-06/3.592, allocations: 0 / 445.4 MB, free: 1.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004071/3.596, allocations: 484.7 kB / 445.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/3.597, allocations: 55.41 kB / 445.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/3.597, allocations: 176.2 kB / 446.1 MB, free: 1.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/3.597, allocations: 25.7 kB / 446.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/3.597, allocations: 144.3 kB / 446.2 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/3.597, allocations: 98.47 kB / 446.3 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/3.597, allocations: 4 kB / 446.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/3.598, allocations: 330.8 kB / 446.6 MB, free: 476 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/3.598, allocations: 72 kB / 446.7 MB, free: 404 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/3.598, allocations: 97.98 kB / 446.8 MB, free: 296 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/3.599, allocations: 81.38 kB / 446.9 MB, free: 216 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/3.599, allocations: 4 kB / 446.9 MB, free: 212 kB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.195/3.794, allocations: 0.4891 MB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/3.794, allocations: 7.219 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/3.794, allocations: 3.719 kB / 447.4 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/3.797, allocations: 319.7 kB / 447.7 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/3.798, allocations: 27.12 kB / 447.7 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/3.809, allocations: 6.069 MB / 453.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/3.809, allocations: 24.95 kB / 453.8 MB, free: 126.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/3.809, allocations: 7.781 kB / 453.8 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.0002063/3.809, allocations: 116.7 kB / 453.9 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/3.809, allocations: 27.97 kB / 454 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/3.813, allocations: 498.5 kB / 454.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/3.813, allocations: 3.906 kB / 454.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/3.813, allocations: 7.031 kB / 454.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/3.813, allocations: 3.844 kB / 454.5 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/3.814, allocations: 301.8 kB / 454.8 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/3.814, allocations: 1.688 kB / 454.8 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/3.814, allocations: 29.75 kB / 454.8 MB, free: 126.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003276/3.817, allocations: 312.1 kB / 455.1 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/3.817, allocations: 4 kB / 455.1 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/3.828, allocations: 6.004 MB / 461.1 MB, free: 121.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/3.828, allocations: 1.094 kB / 461.1 MB, free: 121.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00366/3.832, allocations: 0.5668 MB / 461.7 MB, free: 121.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003752/3.836, allocations: 0.9506 MB / 462.6 MB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/3.836, allocations: 107.2 kB / 462.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/3.836, allocations: 0 / 462.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/3.837, allocations: 10.47 kB / 462.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/3.837, allocations: 16.28 kB / 462.8 MB, free: 120.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/3.837, allocations: 10.16 kB / 462.8 MB, free: 120.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002281/3.837, allocations: 147.9 kB / 462.9 MB, free: 120.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001957/3.839, allocations: 104.6 kB / 463 MB, free: 120.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 (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.0002226/3.839, allocations: 105.3 kB / 463.1 MB, free: 120.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/3.841, allocations: 0.6329 MB / 463.8 MB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.841, allocations: 4.062 kB / 463.8 MB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/3.843, allocations: 0.5764 MB / 464.3 MB, free: 119.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/3.843, allocations: 17.62 kB / 464.3 MB, free: 119.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/3.845, allocations: 389.2 kB / 464.7 MB, free: 119.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/3.845, allocations: 0.7835 MB / 465.5 MB, free: 118.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/3.845, allocations: 0 / 465.5 MB, free: 118.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat