Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_Force",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.89/2.89, allocations: 235 MB / 242 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2127/3.103, allocations: 57.2 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/3.431, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/3.607, allocations: 84.24 MB / 438.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/3.608, allocations: 75.91 kB / 438.4 MB, free: 8.973 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.04429/3.652, allocations: 5.818 MB / 444.2 MB, free: 3.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/3.652, allocations: 8 kB / 444.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/3.652, allocations: 39.53 kB / 444.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/3.653, allocations: 294.1 kB / 444.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/3.653, allocations: 12 kB / 444.6 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/3.653, allocations: 23.98 kB / 444.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001473/3.655, allocations: 245.5 kB / 444.8 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/3.656, allocations: 262.2 kB / 445.1 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/3.656, allocations: 4 kB / 445.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/3.656, allocations: 0 / 445.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/3.656, allocations: 8 kB / 445.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006475/3.663, allocations: 1.269 MB / 446.4 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/3.664, allocations: 227.2 kB / 446.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/3.665, allocations: 137.3 kB / 446.7 MB, free: 436 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/3.665, allocations: 4.281 kB / 446.7 MB, free: 432 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/3.665, allocations: 46.78 kB / 446.8 MB, free: 376 kB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.708e-06/3.665, allocations: 0 / 446.8 MB, free: 376 kB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001216/3.666, allocations: 235.8 kB / 447 MB, free: 136 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/3.666, allocations: 55.41 kB / 447.1 MB, free: 68 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2185/3.885, allocations: 191.5 kB / 447.2 MB, free: 130.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/3.885, allocations: 25.7 kB / 447.3 MB, free: 130.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/3.885, allocations: 189.3 kB / 447.4 MB, free: 130.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/3.885, allocations: 114.9 kB / 447.6 MB, free: 130.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/3.885, allocations: 1.812 kB / 447.6 MB, free: 130.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/3.885, allocations: 341.7 kB / 447.9 MB, free: 130.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/3.886, allocations: 76.38 kB / 448 MB, free: 130.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/3.886, allocations: 154 kB / 448.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/3.887, allocations: 101.5 kB / 448.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/3.887, allocations: 0 / 448.2 MB, free: 130.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009545/3.888, allocations: 299.4 kB / 448.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/3.888, allocations: 3.312 kB / 448.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/3.888, allocations: 6.312 kB / 448.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/3.888, allocations: 6.688 kB / 448.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/3.889, allocations: 103.9 kB / 448.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/3.889, allocations: 4.938 kB / 448.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/3.89, allocations: 43.22 kB / 448.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/3.89, allocations: 13.66 kB / 448.7 MB, free: 130.2 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.0001469/3.89, allocations: 110.6 kB / 448.8 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/3.89, allocations: 32.27 kB / 448.8 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/3.891, allocations: 265 kB / 449.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/3.891, allocations: 3.375 kB / 449.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/3.891, allocations: 6.5 kB / 449.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/3.891, allocations: 2.766 kB / 449.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/3.892, allocations: 336.8 kB / 449.4 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/3.892, allocations: 0 / 449.4 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/3.893, allocations: 86.22 kB / 449.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/3.893, allocations: 0 / 449.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/3.893, allocations: 9.734 kB / 449.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/3.893, allocations: 3.781 kB / 449.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/3.893, allocations: 3.375 kB / 449.5 MB, free: 129.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001146/3.894, allocations: 454.7 kB / 450 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001499/3.895, allocations: 0.9313 MB / 450.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/3.896, allocations: 126.4 kB / 451 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/3.896, allocations: 3.906 kB / 451 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/3.896, allocations: 15.23 kB / 451 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/3.896, allocations: 15.72 kB / 451.1 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/3.896, allocations: 10.25 kB / 451.1 MB, free: 129.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002167/3.897, allocations: 152.2 kB / 451.2 MB, free: 129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001675/3.898, allocations: 89.56 kB / 451.3 MB, free: 129 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.0001794/3.899, allocations: 106.9 kB / 451.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007565/3.899, allocations: 230.4 kB / 451.6 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.899, allocations: 0 / 451.6 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/3.9, allocations: 126.5 kB / 451.8 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/3.9, allocations: 10.62 kB / 451.8 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/3.902, allocations: 0.5491 MB / 452.3 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/3.903, allocations: 0.8385 MB / 453.2 MB, free: 128 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/3.903, allocations: 0 / 453.2 MB, free: 128 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat