Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sources.TestSources,fileNamePrefix="ModelicaTest_3_2_1_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 1.961/1.961, allocations: 209.3 MB / 216.3 MB, free: 4.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1466/2.107, allocations: 51.03 MB / 267.3 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/2.441, allocations: 48.69 MB / 316 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.162/11.6, allocations: 3.661 GB / 3.969 GB, free: 104.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/11.6, allocations: 78.33 kB / 3.97 GB, free: 104.2 MB / 426.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.283/20.89, allocations: 1.434 GB / 5.403 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.736e-05/20.89, allocations: 7.688 kB / 5.403 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/20.89, allocations: 280.5 kB / 5.404 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008667/20.9, allocations: 1.52 MB / 5.405 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/20.9, allocations: 60.84 kB / 5.405 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/20.9, allocations: 107.7 kB / 5.405 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009373/20.91, allocations: 2.917 MB / 5.408 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009938/20.92, allocations: 2.675 MB / 5.411 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.366e-05/20.92, allocations: 3.375 kB / 5.411 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005991/20.92, allocations: 6.531 kB / 5.411 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/20.92, allocations: 173.8 kB / 5.411 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04443/20.97, allocations: 11.48 MB / 5.422 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/20.97, allocations: 1.511 MB / 5.424 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/20.98, allocations: 0.696 MB / 5.424 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004022/20.98, allocations: 2.548 MB / 5.427 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/20.98, allocations: 51.72 kB / 5.427 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 6.893e-06/20.98, allocations: 0 / 5.427 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141): time 0.01355/20.99, allocations: 2.086 MB / 5.429 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/20.99, allocations: 197.1 kB / 5.429 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/21, allocations: 1.143 MB / 5.43 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005507/21, allocations: 33.2 kB / 5.43 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007105/21, allocations: 0.8208 MB / 5.431 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008016/21, allocations: 481.8 kB / 5.432 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/21, allocations: 1.625 kB / 5.432 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002391/21, allocations: 392.8 kB / 5.432 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/21, allocations: 0.7988 MB / 5.433 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/21.01, allocations: 1.455 MB / 5.434 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03421/21.04, allocations: 3.38 MB / 5.437 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.642e-05/21.04, allocations: 4.25 kB / 5.437 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.03555/21.08, allocations: 4.934 MB / 5.442 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002209/21.08, allocations: 8.043 MB / 5.45 GB, free: 21.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/21.08, allocations: 20.41 kB / 5.45 GB, free: 21.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/21.08, allocations: 330 kB / 5.45 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/21.08, allocations: 0.4887 MB / 5.451 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/21.09, allocations: 1.849 MB / 5.453 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/21.1, allocations: 267.6 kB / 5.453 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/21.1, allocations: 167.4 kB / 5.453 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/21.1, allocations: 3.406 kB / 5.453 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04798/21.15, allocations: 4.478 MB / 5.458 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/21.15, allocations: 18.66 kB / 5.458 GB, free: 20.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/21.15, allocations: 176.4 kB / 5.458 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005162/21.15, allocations: 0.5478 MB / 5.458 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/21.15, allocations: 1.431 MB / 5.46 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/21.16, allocations: 196.9 kB / 5.46 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009909/21.16, allocations: 161.7 kB / 5.46 GB, free: 18.89 MB / 0.5261 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.001026/21.16, allocations: 173.4 kB / 5.46 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007021/21.16, allocations: 175.2 kB / 5.46 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/21.18, allocations: 3.381 MB / 5.464 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/21.18, allocations: 19.09 kB / 5.464 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/21.18, allocations: 0 / 5.464 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/21.18, allocations: 8.844 kB / 5.464 GB, free: 18.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/21.2, allocations: 5.968 MB / 5.469 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/21.2, allocations: 11.44 kB / 5.469 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/21.2, allocations: 283.8 kB / 5.47 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/21.2, allocations: 323 kB / 5.47 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006094/21.2, allocations: 44.36 kB / 5.47 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007858/21.21, allocations: 1.868 MB / 5.472 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/21.21, allocations: 16.98 kB / 5.472 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01335/21.22, allocations: 3.086 MB / 5.475 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01367/21.24, allocations: 4.001 MB / 5.479 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/21.24, allocations: 314.8 kB / 5.479 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001246/21.24, allocations: 11.58 kB / 5.479 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/21.25, allocations: 81.67 kB / 5.479 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/21.25, allocations: 122.8 kB / 5.479 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/21.25, allocations: 103.2 kB / 5.479 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002494/21.25, allocations: 0.8629 MB / 5.48 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02257/21.27, allocations: 3.964 MB / 5.484 GB, free: 12.04 MB / 0.5261 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.02234/21.29, allocations: 4.545 MB / 5.489 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01028/21.3, allocations: 3.472 MB / 5.492 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/21.3, allocations: 2.812 kB / 5.492 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002743/21.31, allocations: 0.8622 MB / 5.493 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007488/21.31, allocations: 0.7248 MB / 5.494 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/21.33, allocations: 3.301 MB / 5.497 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00453/21.33, allocations: 1.939 MB / 5.499 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/21.33, allocations: 2.375 kB / 5.499 GB, free: 8.875 MB / 0.5261 GB