Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",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.815/1.815, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2754/2.091, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/2.214, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8644/3.078, allocations: 323.3 MB / 0.6243 GB, free: 2.141 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/3.079, allocations: 87.52 kB / 0.6244 GB, free: 2.094 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.8291/3.908, allocations: 142 MB / 0.763 GB, free: 52.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/3.908, allocations: 8 kB / 0.763 GB, free: 52.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/3.909, allocations: 114.9 kB / 0.7631 GB, free: 52.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/3.914, allocations: 0.7086 MB / 0.7638 GB, free: 51.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/3.914, allocations: 88.7 kB / 0.7639 GB, free: 51.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000507/3.915, allocations: 36 kB / 0.7639 GB, free: 51.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003846/3.919, allocations: 0.8264 MB / 0.7648 GB, free: 50.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/3.924, allocations: 0.9412 MB / 0.7657 GB, free: 49.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/3.924, allocations: 7.922 kB / 0.7657 GB, free: 49.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/3.924, allocations: 8 kB / 0.7657 GB, free: 49.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/3.924, allocations: 53.28 kB / 0.7657 GB, free: 49.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/3.94, allocations: 3.902 MB / 0.7695 GB, free: 45.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/3.942, allocations: 0.5065 MB / 0.77 GB, free: 45.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/3.943, allocations: 377.9 kB / 0.7704 GB, free: 44.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007793/3.951, allocations: 2.356 MB / 0.7727 GB, free: 42.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009911/3.952, allocations: 425.5 kB / 0.7731 GB, free: 41.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.641e-06/3.952, allocations: 0 / 0.7731 GB, free: 41.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.01241/3.965, allocations: 2.438 MB / 0.7755 GB, free: 39.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/3.965, allocations: 166.2 kB / 0.7756 GB, free: 39.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/3.966, allocations: 0.5464 MB / 0.7762 GB, free: 38.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/3.966, allocations: 29.7 kB / 0.7762 GB, free: 38.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/3.967, allocations: 358.7 kB / 0.7766 GB, free: 38.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/3.967, allocations: 162.4 kB / 0.7767 GB, free: 38.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/3.967, allocations: 3.938 kB / 0.7767 GB, free: 38.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/3.967, allocations: 386.8 kB / 0.7771 GB, free: 37.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/3.968, allocations: 345.6 kB / 0.7774 GB, free: 37.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/3.969, allocations: 0.6171 MB / 0.778 GB, free: 36.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008654/3.978, allocations: 1.095 MB / 0.7791 GB, free: 35.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/3.978, allocations: 4 kB / 0.7791 GB, free: 35.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01138/3.989, allocations: 1.815 MB / 0.7809 GB, free: 33.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009631/3.99, allocations: 3.399 MB / 0.7842 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/3.99, allocations: 8 kB / 0.7842 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/3.992, allocations: 321.5 kB / 0.7845 GB, free: 29.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/3.993, allocations: 163.7 kB / 0.7846 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004009/3.997, allocations: 1.674 MB / 0.7863 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/3.999, allocations: 28.03 kB / 0.7863 GB, free: 27.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/3.999, allocations: 47.98 kB / 0.7864 GB, free: 27.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/3.999, allocations: 7.969 kB / 0.7864 GB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008803/4.008, allocations: 1.45 MB / 0.7878 GB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/4.008, allocations: 12 kB / 0.7878 GB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/4.009, allocations: 250 kB / 0.788 GB, free: 26.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/4.01, allocations: 159.7 kB / 0.7882 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/4.013, allocations: 2.167 MB / 0.7903 GB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/4.014, allocations: 40.02 kB / 0.7903 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/4.014, allocations: 44 kB / 0.7904 GB, free: 23.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004373/4.014, allocations: 163 kB / 0.7905 GB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/4.015, allocations: 75.06 kB / 0.7906 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005823/4.021, allocations: 1.186 MB / 0.7918 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/4.021, allocations: 11.98 kB / 0.7918 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/4.021, allocations: 0 / 0.7918 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/4.021, allocations: 0 / 0.7918 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008811/4.03, allocations: 1.925 MB / 0.7937 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/4.03, allocations: 0 / 0.7937 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/4.03, allocations: 79.98 kB / 0.7937 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/4.032, allocations: 310.6 kB / 0.794 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/4.032, allocations: 7.984 kB / 0.794 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003711/4.035, allocations: 1.644 MB / 0.7956 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/4.036, allocations: 0 / 0.7956 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006054/4.042, allocations: 1.629 MB / 0.7972 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007508/4.049, allocations: 2.497 MB / 0.7997 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009393/4.05, allocations: 236.1 kB / 0.7999 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/4.051, allocations: 15.83 kB / 0.7999 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/4.052, allocations: 31.98 kB / 0.7999 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/4.052, allocations: 48.36 kB / 0.8 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/4.052, allocations: 27.98 kB / 0.8 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007951/4.053, allocations: 419.1 kB / 0.8004 GB, free: 13.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00542/4.058, allocations: 0.6993 MB / 0.8011 GB, free: 12.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/4.061, allocations: 0.6131 MB / 0.8017 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004787/4.066, allocations: 1.431 MB / 0.8031 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/4.066, allocations: 0 / 0.8031 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/4.068, allocations: 423 kB / 0.8035 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/4.07, allocations: 243.4 kB / 0.8037 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/4.075, allocations: 1.342 MB / 0.805 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/4.076, allocations: 1.107 MB / 0.8061 GB, free: 7.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/4.076, allocations: 0 / 0.8061 GB, free: 7.133 MB / 426.7 MB