Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Force",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.306/2.306, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1608/2.467, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/2.747, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/2.909, allocations: 84.25 MB / 438.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/2.909, allocations: 67.91 kB / 438.3 MB, free: 9.008 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.02975/2.939, allocations: 5.834 MB / 444.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/2.939, allocations: 8 kB / 444.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/2.939, allocations: 43.53 kB / 444.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/2.94, allocations: 290.1 kB / 444.5 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/2.94, allocations: 12 kB / 444.5 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/2.94, allocations: 24 kB / 444.5 MB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001575/2.942, allocations: 241.5 kB / 444.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/2.943, allocations: 262.2 kB / 445 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/2.943, allocations: 0 / 445 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/2.943, allocations: 0 / 445 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/2.943, allocations: 12 kB / 445 MB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/2.949, allocations: 1.269 MB / 446.3 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/2.95, allocations: 219.3 kB / 446.5 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/2.951, allocations: 141.3 kB / 446.6 MB, free: 468 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/2.951, allocations: 8.281 kB / 446.6 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/2.951, allocations: 34.84 kB / 446.7 MB, free: 416 kB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 6.433e-06/2.951, allocations: 0 / 446.7 MB, free: 416 kB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002087/2.953, allocations: 235.7 kB / 446.9 MB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/2.953, allocations: 55.41 kB / 446.9 MB, free: 108 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1667/3.12, allocations: 195.3 kB / 447.1 MB, free: 130.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/3.12, allocations: 25.7 kB / 447.2 MB, free: 130.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/3.12, allocations: 200.6 kB / 447.4 MB, free: 130.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.324e-05/3.12, allocations: 108 kB / 447.5 MB, free: 130.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/3.12, allocations: 0 / 447.5 MB, free: 130.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/3.121, allocations: 344.1 kB / 447.8 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/3.121, allocations: 78.56 kB / 447.9 MB, free: 130.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/3.121, allocations: 149.1 kB / 448 MB, free: 130.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/3.121, allocations: 105.1 kB / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/3.121, allocations: 0 / 448.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007579/3.122, allocations: 292.9 kB / 448.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/3.122, allocations: 7.625 kB / 448.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/3.122, allocations: 3.75 kB / 448.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/3.122, allocations: 3.812 kB / 448.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/3.123, allocations: 110.5 kB / 448.5 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/3.123, allocations: 3.406 kB / 448.5 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/3.124, allocations: 39.38 kB / 448.6 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/3.124, allocations: 12.06 kB / 448.6 MB, free: 130.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001047/3.124, allocations: 118.5 kB / 448.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/3.124, allocations: 25.88 kB / 448.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/3.125, allocations: 274.6 kB / 449 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/3.125, allocations: 3.812 kB / 449 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.125, allocations: 3.375 kB / 449 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/3.125, allocations: 0 / 449 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/3.125, allocations: 339.3 kB / 449.3 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/3.126, allocations: 0 / 449.3 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/3.127, allocations: 91.91 kB / 449.4 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/3.127, allocations: 3.938 kB / 449.4 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/3.127, allocations: 3.391 kB / 449.4 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/3.127, allocations: 0 / 449.4 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/3.127, allocations: 0 / 449.4 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001433/3.128, allocations: 460.3 kB / 449.9 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002042/3.13, allocations: 0.9352 MB / 450.8 MB, free: 129.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000274/3.131, allocations: 125 kB / 450.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/3.131, allocations: 3.656 kB / 450.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/3.131, allocations: 7.812 kB / 450.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/3.131, allocations: 20.7 kB / 451 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/3.132, allocations: 8.688 kB / 451 MB, free: 129.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002707/3.132, allocations: 155.9 kB / 451.1 MB, free: 129.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002454/3.134, allocations: 91.33 kB / 451.2 MB, free: 129.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0002234/3.135, allocations: 100.3 kB / 451.3 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/3.136, allocations: 234.8 kB / 451.5 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.136, allocations: 0 / 451.5 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/3.136, allocations: 118.8 kB / 451.7 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/3.137, allocations: 19.12 kB / 451.7 MB, free: 129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/3.139, allocations: 0.542 MB / 452.2 MB, free: 128.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/3.14, allocations: 0.8386 MB / 453.1 MB, free: 128.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.744e-06/3.14, allocations: 3.875 kB / 453.1 MB, free: 128.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat