Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sources_TestSources",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.176/2.176, allocations: 234.9 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2114/2.387, allocations: 57.22 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/2.7, allocations: 54.84 MB / 354 MB, free: 13.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.2/11.9, allocations: 3.668 GB / 4.013 GB, free: 107.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/11.9, allocations: 81.5 kB / 4.013 GB, free: 107.6 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 9.09/20.99, allocations: 1.444 GB / 5.457 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/20.99, allocations: 9.344 kB / 5.457 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/20.99, allocations: 280.2 kB / 5.457 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/21, allocations: 1.518 MB / 5.459 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/21, allocations: 59.59 kB / 5.459 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/21, allocations: 110 kB / 5.459 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009443/21.01, allocations: 2.912 MB / 5.462 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/21.03, allocations: 2.673 MB / 5.464 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.417e-05/21.03, allocations: 7.938 kB / 5.464 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008114/21.03, allocations: 7.906 kB / 5.464 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/21.03, allocations: 173 kB / 5.465 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/21.06, allocations: 11.85 MB / 5.476 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/21.07, allocations: 1.565 MB / 5.478 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/21.07, allocations: 0.7017 MB / 5.478 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003995/21.08, allocations: 2.541 MB / 5.481 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/21.08, allocations: 51.88 kB / 5.481 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=141): time 4.338e-06/21.08, allocations: 0 / 5.481 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141): time 0.01153/21.09, allocations: 2.081 MB / 5.483 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/21.09, allocations: 201.8 kB / 5.483 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/21.09, allocations: 1.145 MB / 5.484 GB, free: 9.344 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008542/21.09, allocations: 29.7 kB / 5.484 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001852/21.1, allocations: 0.8192 MB / 5.485 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001632/21.1, allocations: 486.4 kB / 5.486 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000689/21.1, allocations: 0 / 5.486 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0005405/21.1, allocations: 402.9 kB / 5.486 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/21.1, allocations: 0.8008 MB / 5.487 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/21.11, allocations: 1.454 MB / 5.488 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03122/21.14, allocations: 3.373 MB / 5.491 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-05/21.14, allocations: 8 kB / 5.491 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03681/21.18, allocations: 4.932 MB / 5.496 GB, free: 12.86 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004184/21.18, allocations: 8.042 MB / 5.504 GB, free: 4.227 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.031e-05/21.18, allocations: 20 kB / 5.504 GB, free: 4.207 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/21.18, allocations: 321.5 kB / 5.504 GB, free: 3.887 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/21.19, allocations: 0.4953 MB / 5.505 GB, free: 3.391 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/21.19, allocations: 1.85 MB / 5.507 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/21.2, allocations: 265.5 kB / 5.507 GB, free: 1.227 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/21.2, allocations: 159.9 kB / 5.507 GB, free: 1.07 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/21.2, allocations: 4 kB / 5.507 GB, free: 1.066 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3548/21.55, allocations: 4.479 MB / 5.512 GB, free: 78.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.125e-05/21.55, allocations: 20.56 kB / 5.512 GB, free: 78.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/21.55, allocations: 175.7 kB / 5.512 GB, free: 78.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004687/21.56, allocations: 0.5496 MB / 5.512 GB, free: 78.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/21.56, allocations: 1.426 MB / 5.514 GB, free: 77.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/21.57, allocations: 192.2 kB / 5.514 GB, free: 77.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/21.57, allocations: 163.3 kB / 5.514 GB, free: 77.32 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.0007679/21.57, allocations: 176.3 kB / 5.514 GB, free: 77.22 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006179/21.57, allocations: 176.4 kB / 5.514 GB, free: 77.22 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/21.58, allocations: 3.378 MB / 5.518 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/21.58, allocations: 17.41 kB / 5.518 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/21.58, allocations: 2.875 kB / 5.518 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.075e-05/21.58, allocations: 6.469 kB / 5.518 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/21.61, allocations: 5.966 MB / 5.523 GB, free: 75.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/21.61, allocations: 11.59 kB / 5.523 GB, free: 75.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/21.61, allocations: 280.3 kB / 5.524 GB, free: 75.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/21.61, allocations: 325.7 kB / 5.524 GB, free: 75.71 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003378/21.61, allocations: 38.92 kB / 5.524 GB, free: 75.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/21.61, allocations: 1.868 MB / 5.526 GB, free: 74.68 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/21.61, allocations: 13.89 kB / 5.526 GB, free: 74.68 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0104/21.62, allocations: 3.094 MB / 5.529 GB, free: 73.39 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01179/21.64, allocations: 3.995 MB / 5.533 GB, free: 71.74 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/21.64, allocations: 316.3 kB / 5.533 GB, free: 71.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009198/21.64, allocations: 19.39 kB / 5.533 GB, free: 71.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00302/21.64, allocations: 78.39 kB / 5.533 GB, free: 71.55 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/21.64, allocations: 123.8 kB / 5.533 GB, free: 71.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/21.64, allocations: 104.4 kB / 5.533 GB, free: 71.55 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002062/21.64, allocations: 0.8562 MB / 5.534 GB, free: 71.44 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02047/21.67, allocations: 3.979 MB / 5.538 GB, free: 71.37 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.02251/21.69, allocations: 4.555 MB / 5.543 GB, free: 70.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01075/21.7, allocations: 3.478 MB / 5.546 GB, free: 70.59 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/21.7, allocations: 448 / 5.546 GB, free: 70.59 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/21.7, allocations: 0.8557 MB / 5.547 GB, free: 70.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00776/21.71, allocations: 0.7189 MB / 5.548 GB, free: 70.57 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/21.72, allocations: 3.295 MB / 5.551 GB, free: 69.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004439/21.73, allocations: 1.942 MB / 5.553 GB, free: 68.94 MB / 0.573 GB Notification: Performance of SimCode: time 1.723e-06/21.73, allocations: 0 / 5.553 GB, free: 68.94 MB / 0.573 GB