Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",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.319/2.319, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1947/2.514, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/2.78, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/2.972, allocations: 82.1 MB / 436.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/2.973, allocations: 71.91 kB / 436.1 MB, free: 11.12 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.04158/3.014, allocations: 7.119 MB / 443.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/3.014, allocations: 12 kB / 443.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/3.014, allocations: 43.53 kB / 443.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/3.015, allocations: 268.3 kB / 443.6 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/3.015, allocations: 8 kB / 443.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/3.015, allocations: 23.91 kB / 443.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007171/3.016, allocations: 197.5 kB / 443.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/3.017, allocations: 274.3 kB / 444.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/3.017, allocations: 0 / 444.1 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/3.017, allocations: 7.875 kB / 444.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/3.017, allocations: 12 kB / 444.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/3.02, allocations: 1.216 MB / 445.3 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/3.02, allocations: 158.7 kB / 445.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/3.021, allocations: 60.12 kB / 445.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/3.021, allocations: 4 kB / 445.5 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/3.021, allocations: 34.59 kB / 445.6 MB, free: 1.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.436e-06/3.021, allocations: 0 / 445.6 MB, free: 1.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005551/3.021, allocations: 125.3 kB / 445.7 MB, free: 1.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/3.021, allocations: 136.5 kB / 445.8 MB, free: 1.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/3.022, allocations: 235.3 kB / 446 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/3.022, allocations: 29.64 kB / 446.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/3.022, allocations: 219.4 kB / 446.3 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/3.022, allocations: 47.27 kB / 446.3 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/3.022, allocations: 0 / 446.3 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/3.022, allocations: 338.8 kB / 446.7 MB, free: 272 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/3.023, allocations: 48.56 kB / 446.7 MB, free: 220 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/3.023, allocations: 132 kB / 446.8 MB, free: 48 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1547/3.178, allocations: 73.48 kB / 446.9 MB, free: 130.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/3.178, allocations: 0 / 446.9 MB, free: 130.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000685/3.178, allocations: 215.9 kB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/3.178, allocations: 7.281 kB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/3.178, allocations: 6.5 kB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/3.178, allocations: 7.469 kB / 447.1 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/3.179, allocations: 83.02 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/3.179, allocations: 8.438 kB / 447.2 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/3.18, allocations: 43.95 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/3.18, allocations: 13.19 kB / 447.3 MB, free: 130.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.368e-05/3.18, allocations: 114.9 kB / 447.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/3.18, allocations: 28.09 kB / 447.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/3.18, allocations: 25.5 kB / 447.4 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/3.18, allocations: 9.281 kB / 447.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/3.18, allocations: 6.141 kB / 447.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/3.18, allocations: 0 / 447.5 MB, free: 130.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/3.181, allocations: 0.5318 MB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/3.181, allocations: 2.219 kB / 448 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/3.181, allocations: 52.84 kB / 448.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/3.181, allocations: 0 / 448.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/3.181, allocations: 3.812 kB / 448.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/3.181, allocations: 4.469 kB / 448.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.181, allocations: 4.25 kB / 448.1 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003857/3.182, allocations: 404.8 kB / 448.5 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004218/3.182, allocations: 0.7735 MB / 449.2 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/3.182, allocations: 107.3 kB / 449.3 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/3.183, allocations: 7.188 kB / 449.3 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/3.183, allocations: 22.12 kB / 449.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/3.183, allocations: 15.52 kB / 449.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/3.183, allocations: 5.875 kB / 449.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000224/3.183, allocations: 179.4 kB / 449.6 MB, free: 128.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001387/3.185, allocations: 70.88 kB / 449.6 MB, free: 128.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001509/3.185, allocations: 100.2 kB / 449.7 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004043/3.185, allocations: 136 kB / 449.9 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/3.185, allocations: 0 / 449.9 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/3.185, allocations: 57 kB / 449.9 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/3.186, allocations: 18.83 kB / 449.9 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/3.187, allocations: 357.5 kB / 450.3 MB, free: 128.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/3.187, allocations: 0.8181 MB / 451.1 MB, free: 127.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.565e-06/3.187, allocations: 2.344 kB / 451.1 MB, free: 127.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat