Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sensors",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.35/2.35, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1809/2.531, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/2.794, allocations: 54.83 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/2.957, allocations: 81.69 MB / 435.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/2.957, allocations: 71.91 kB / 435.7 MB, free: 11.59 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.01311/2.97, allocations: 2.849 MB / 438.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/2.97, allocations: 12 kB / 438.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/2.97, allocations: 15.81 kB / 438.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/2.971, allocations: 203.1 kB / 438.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/2.971, allocations: 4 kB / 438.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/2.971, allocations: 8 kB / 438.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002965/2.971, allocations: 68.56 kB / 438.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/2.971, allocations: 99.64 kB / 439 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/2.971, allocations: 3.906 kB / 439 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/2.971, allocations: 7.922 kB / 439 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/2.971, allocations: 4 kB / 439 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/2.973, allocations: 0.5153 MB / 439.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/2.973, allocations: 66.48 kB / 439.6 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/2.973, allocations: 16.98 kB / 439.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/2.973, allocations: 0 / 439.6 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/2.973, allocations: 30.56 kB / 439.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/2.973, allocations: 0 / 439.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003144/2.973, allocations: 65.59 kB / 439.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/2.973, allocations: 51.41 kB / 439.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/2.974, allocations: 127.9 kB / 439.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/2.974, allocations: 25.7 kB / 439.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/2.974, allocations: 131.5 kB / 440 MB, free: 7.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/2.974, allocations: 19.66 kB / 440 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/2.974, allocations: 0 / 440 MB, free: 7.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/2.974, allocations: 326.8 kB / 440.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/2.974, allocations: 19.94 kB / 440.4 MB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/2.974, allocations: 48.3 kB / 440.4 MB, free: 6.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/2.974, allocations: 15.98 kB / 440.4 MB, free: 6.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/2.974, allocations: 4 kB / 440.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002521/2.975, allocations: 85.53 kB / 440.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/2.975, allocations: 4.125 kB / 440.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/2.975, allocations: 7.938 kB / 440.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/2.975, allocations: 4 kB / 440.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/2.975, allocations: 35.92 kB / 440.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/2.975, allocations: 0 / 440.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/2.975, allocations: 19.89 kB / 440.6 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/2.975, allocations: 4 kB / 440.6 MB, free: 6.473 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 9.596e-05/2.975, allocations: 101 kB / 440.7 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/2.975, allocations: 11.81 kB / 440.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/2.975, allocations: 16.17 kB / 440.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/2.975, allocations: 0 / 440.7 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/2.975, allocations: 3.938 kB / 440.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/2.975, allocations: 0 / 440.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/2.976, allocations: 178.1 kB / 440.9 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/2.976, allocations: 0 / 440.9 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/2.976, allocations: 27.98 kB / 440.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/2.976, allocations: 3.906 kB / 440.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/2.976, allocations: 0 / 440.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/2.976, allocations: 0 / 440.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/2.976, allocations: 0 / 440.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/2.976, allocations: 159.5 kB / 441.1 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003541/2.977, allocations: 0.5271 MB / 441.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/2.977, allocations: 85.02 kB / 441.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/2.977, allocations: 4.172 kB / 441.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/2.977, allocations: 19.98 kB / 441.7 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/2.977, allocations: 7.938 kB / 441.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/2.977, allocations: 0 / 441.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001318/2.977, allocations: 108.2 kB / 441.8 MB, free: 5.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001201/2.978, allocations: 23.91 kB / 441.9 MB, free: 5.113 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.0001879/2.979, allocations: 99.19 kB / 441.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002268/2.979, allocations: 51.92 kB / 442 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.979, allocations: 0 / 442 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/2.979, allocations: 16 kB / 442 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/2.979, allocations: 7.906 kB / 442 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/2.98, allocations: 139.3 kB / 442.2 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/2.98, allocations: 0.735 MB / 442.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/2.98, allocations: 0 / 442.9 MB, free: 4.012 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat