Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sources_TestSources",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.433/2.433, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2043/2.637, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/2.954, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.12/13.08, allocations: 3.668 GB / 4.013 GB, free: 103.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/13.08, allocations: 86.28 kB / 4.013 GB, free: 103.1 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 10/23.08, allocations: 1.444 GB / 5.457 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/23.08, allocations: 8 kB / 5.457 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/23.08, allocations: 276.3 kB / 5.457 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/23.09, allocations: 1.523 MB / 5.459 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/23.09, allocations: 60 kB / 5.459 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/23.09, allocations: 108 kB / 5.459 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01022/23.1, allocations: 2.919 MB / 5.462 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009996/23.11, allocations: 2.67 MB / 5.465 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.419e-05/23.11, allocations: 0 / 5.465 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/23.11, allocations: 7.906 kB / 5.465 GB, free: 2.098 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000288/23.11, allocations: 175.8 kB / 5.465 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/23.15, allocations: 11.85 MB / 5.476 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006744/23.16, allocations: 1.507 MB / 5.478 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/23.16, allocations: 0.7026 MB / 5.478 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006766/23.17, allocations: 2.54 MB / 5.481 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/23.17, allocations: 55.81 kB / 5.481 GB, free: 15.91 MB / 0.573 GB Notification: Performance of pre-optimization done (n=141): time 1.189e-05/23.17, allocations: 0 / 5.481 GB, free: 15.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=141): time 0.01538/23.18, allocations: 2.079 MB / 5.483 GB, free: 13.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/23.18, allocations: 201.2 kB / 5.483 GB, free: 13.57 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/23.19, allocations: 1.147 MB / 5.484 GB, free: 12.42 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005923/23.19, allocations: 29.7 kB / 5.484 GB, free: 12.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009779/23.19, allocations: 0.8164 MB / 5.485 GB, free: 11.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/23.19, allocations: 488.9 kB / 5.486 GB, free: 11.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/23.19, allocations: 0 / 5.486 GB, free: 11.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003073/23.19, allocations: 394.1 kB / 5.486 GB, free: 10.68 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/23.19, allocations: 0.8008 MB / 5.487 GB, free: 9.871 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/23.2, allocations: 1.462 MB / 5.488 GB, free: 8.109 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03311/23.23, allocations: 3.373 MB / 5.491 GB, free: 4.734 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-05/23.23, allocations: 8 kB / 5.491 GB, free: 4.727 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.3809/23.61, allocations: 4.932 MB / 5.496 GB, free: 74.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001898/23.61, allocations: 8.042 MB / 5.504 GB, free: 66.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/23.61, allocations: 17.88 kB / 5.504 GB, free: 66.06 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/23.62, allocations: 339.6 kB / 5.505 GB, free: 66.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/23.62, allocations: 499.5 kB / 5.505 GB, free: 66.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005136/23.63, allocations: 1.851 MB / 5.507 GB, free: 65.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/23.63, allocations: 267.2 kB / 5.507 GB, free: 65.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009983/23.63, allocations: 156.7 kB / 5.507 GB, free: 65.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/23.63, allocations: 3.375 kB / 5.507 GB, free: 65.02 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04562/23.68, allocations: 4.485 MB / 5.512 GB, free: 64.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/23.68, allocations: 18.72 kB / 5.512 GB, free: 64.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006718/23.68, allocations: 169.6 kB / 5.512 GB, free: 64.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/23.69, allocations: 0.5519 MB / 5.512 GB, free: 64.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/23.69, allocations: 1.43 MB / 5.514 GB, free: 63.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/23.69, allocations: 195.3 kB / 5.514 GB, free: 63.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/23.69, allocations: 167.1 kB / 5.514 GB, free: 63.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (256): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008984/23.69, allocations: 169.2 kB / 5.514 GB, free: 63.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/23.69, allocations: 172.8 kB / 5.514 GB, free: 63.76 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/23.71, allocations: 3.385 MB / 5.518 GB, free: 63.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/23.71, allocations: 15.81 kB / 5.518 GB, free: 63.58 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/23.71, allocations: 0 / 5.518 GB, free: 63.58 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/23.71, allocations: 6.609 kB / 5.518 GB, free: 63.58 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/23.73, allocations: 5.97 MB / 5.524 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/23.73, allocations: 12.06 kB / 5.524 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/23.74, allocations: 279.7 kB / 5.524 GB, free: 62.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/23.74, allocations: 324.5 kB / 5.524 GB, free: 62.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004911/23.74, allocations: 37.44 kB / 5.524 GB, free: 62.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/23.74, allocations: 1.872 MB / 5.526 GB, free: 61.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/23.74, allocations: 12.91 kB / 5.526 GB, free: 61.14 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01192/23.76, allocations: 3.091 MB / 5.529 GB, free: 59.85 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01442/23.77, allocations: 4.006 MB / 5.533 GB, free: 58.19 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/23.77, allocations: 312.2 kB / 5.533 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/23.77, allocations: 16.28 kB / 5.533 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003628/23.78, allocations: 74.84 kB / 5.533 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006114/23.78, allocations: 125.5 kB / 5.533 GB, free: 58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004119/23.78, allocations: 109.7 kB / 5.534 GB, free: 58 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002556/23.78, allocations: 0.8558 MB / 5.534 GB, free: 57.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03041/23.81, allocations: 3.976 MB / 5.538 GB, free: 57.82 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02071/23.83, allocations: 4.544 MB / 5.543 GB, free: 57.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01288/23.85, allocations: 3.467 MB / 5.546 GB, free: 57.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-05/23.85, allocations: 2.844 kB / 5.546 GB, free: 57.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003162/23.85, allocations: 0.8598 MB / 5.547 GB, free: 57.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009066/23.86, allocations: 0.7277 MB / 5.548 GB, free: 57.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/23.87, allocations: 3.293 MB / 5.551 GB, free: 56.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004172/23.88, allocations: 1.943 MB / 5.553 GB, free: 55.39 MB / 0.573 GB Notification: Performance of SimCode: time 1.783e-06/23.88, allocations: 1.969 kB / 5.553 GB, free: 55.39 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat does not exist to compare? outputFormat=mat