Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Sensors",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.722/2.722, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1951/2.917, allocations: 57.19 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/3.214, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/3.396, allocations: 81.69 MB / 435.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/3.396, allocations: 63.91 kB / 435.8 MB, free: 11.53 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0164/3.413, allocations: 2.848 MB / 438.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/3.413, allocations: 12 kB / 438.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/3.413, allocations: 11.81 kB / 438.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/3.414, allocations: 203.1 kB / 438.9 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/3.414, allocations: 4 kB / 438.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/3.414, allocations: 8 kB / 438.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004591/3.414, allocations: 72.55 kB / 439 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/3.415, allocations: 99.64 kB / 439.1 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/3.415, allocations: 7.844 kB / 439.1 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/3.415, allocations: 0 / 439.1 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/3.415, allocations: 7.984 kB / 439.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/3.417, allocations: 0.5192 MB / 439.6 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/3.417, allocations: 54.45 kB / 439.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.219e-05/3.417, allocations: 25.02 kB / 439.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/3.417, allocations: 0 / 439.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/3.417, allocations: 34.56 kB / 439.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/3.417, allocations: 0 / 439.7 MB, free: 7.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003566/3.418, allocations: 53.61 kB / 439.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/3.418, allocations: 59.41 kB / 439.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/3.418, allocations: 120.6 kB / 440 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/3.418, allocations: 29.7 kB / 440 MB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/3.418, allocations: 135.5 kB / 440.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/3.418, allocations: 23.64 kB / 440.1 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/3.418, allocations: 0 / 440.1 MB, free: 7.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/3.418, allocations: 322.8 kB / 440.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/3.419, allocations: 15.94 kB / 440.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/3.419, allocations: 48.28 kB / 440.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/3.419, allocations: 24 kB / 440.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/3.419, allocations: 0 / 440.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003874/3.419, allocations: 89.52 kB / 440.6 MB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/3.419, allocations: 4 kB / 440.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.419, allocations: 4 kB / 440.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/3.419, allocations: 128 / 440.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/3.42, allocations: 35.92 kB / 440.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/3.42, allocations: 0 / 440.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/3.42, allocations: 19.95 kB / 440.7 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/3.42, allocations: 8 kB / 440.7 MB, free: 6.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/3.42, allocations: 105 kB / 440.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/3.42, allocations: 11.81 kB / 440.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/3.421, allocations: 8.188 kB / 440.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/3.421, allocations: 7.938 kB / 440.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/3.421, allocations: 0 / 440.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/3.421, allocations: 3.984 kB / 440.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/3.421, allocations: 174.1 kB / 441 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/3.421, allocations: 0 / 441 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/3.421, allocations: 19.98 kB / 441 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/3.421, allocations: 7.891 kB / 441 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/3.421, allocations: 7.984 kB / 441 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/3.421, allocations: 0 / 441 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/3.421, allocations: 0 / 441 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003058/3.422, allocations: 151.5 kB / 441.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004935/3.422, allocations: 0.5388 MB / 441.7 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/3.422, allocations: 81.02 kB / 441.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/3.422, allocations: 0 / 441.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/3.423, allocations: 11.98 kB / 441.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/3.423, allocations: 7.938 kB / 441.8 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/3.423, allocations: 4 kB / 441.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001886/3.423, allocations: 107.2 kB / 441.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002527/3.426, allocations: 23.91 kB / 442 MB, free: 5.062 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 (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 Backend phase and start with SimCode phase: time 0.0002175/3.426, allocations: 107.2 kB / 442.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002951/3.426, allocations: 39.94 kB / 442.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/3.426, allocations: 256 / 442.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/3.426, allocations: 20 kB / 442.1 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/3.427, allocations: 16.08 kB / 442.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/3.428, allocations: 143.3 kB / 442.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/3.428, allocations: 0.727 MB / 443 MB, free: 3.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/3.428, allocations: 4 kB / 443 MB, free: 3.953 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat