Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",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.292/2.292, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1881/2.48, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/2.795, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9296/3.724, allocations: 345.5 MB / 0.683 GB, free: 96.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/3.725, allocations: 83.34 kB / 0.6831 GB, free: 96.36 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 1.608/5.333, allocations: 304.3 MB / 0.9803 GB, free: 57.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/5.333, allocations: 7.344 kB / 0.9803 GB, free: 57.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/5.335, allocations: 201.4 kB / 0.9805 GB, free: 57.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/5.341, allocations: 1.277 MB / 0.9817 GB, free: 57.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/5.341, allocations: 138.9 kB / 0.9819 GB, free: 57.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/5.341, allocations: 73.47 kB / 0.982 GB, free: 57.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0058/5.347, allocations: 1.785 MB / 0.9837 GB, free: 57.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/5.353, allocations: 1.791 MB / 0.9854 GB, free: 57.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/5.353, allocations: 0 / 0.9854 GB, free: 57.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/5.353, allocations: 3.312 kB / 0.9854 GB, free: 57.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/5.353, allocations: 125.3 kB / 0.9856 GB, free: 57.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/5.374, allocations: 6.814 MB / 0.9922 GB, free: 54.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/5.377, allocations: 1.024 MB / 0.9932 GB, free: 54.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/5.379, allocations: 0.7864 MB / 0.994 GB, free: 54.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009809/5.389, allocations: 4.413 MB / 0.9983 GB, free: 52.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.5e-05/5.389, allocations: 48.56 kB / 0.9983 GB, free: 52.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=117): time 4.499e-06/5.389, allocations: 0.75 kB / 0.9983 GB, free: 52.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.02909/5.418, allocations: 5.205 MB / 1.003 GB, free: 51.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/5.418, allocations: 221.6 kB / 1.004 GB, free: 51.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/5.42, allocations: 0.9069 MB / 1.005 GB, free: 51.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000533/5.421, allocations: 28.67 kB / 1.005 GB, free: 51.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/5.421, allocations: 493 kB / 1.005 GB, free: 51.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008786/5.422, allocations: 436.6 kB / 1.005 GB, free: 50.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/5.422, allocations: 3.812 kB / 1.005 GB, free: 50.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/5.423, allocations: 366.5 kB / 1.006 GB, free: 50.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/5.425, allocations: 0.7444 MB / 1.007 GB, free: 50.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/5.428, allocations: 1.058 MB / 1.008 GB, free: 50.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/5.451, allocations: 2.709 MB / 1.01 GB, free: 50.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-05/5.451, allocations: 3.594 kB / 1.01 GB, free: 50.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.02813/5.479, allocations: 4.169 MB / 1.014 GB, free: 50.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007598/5.48, allocations: 2.979 MB / 1.017 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-05/5.48, allocations: 10.75 kB / 1.017 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/5.492, allocations: 1.177 MB / 1.018 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/5.496, allocations: 330.4 kB / 1.019 GB, free: 47.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/5.509, allocations: 2.201 MB / 1.021 GB, free: 46.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/5.514, allocations: 71.55 kB / 1.021 GB, free: 46.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/5.515, allocations: 80.73 kB / 1.021 GB, free: 46.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.515, allocations: 3.75 kB / 1.021 GB, free: 46.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03438/5.549, allocations: 3.421 MB / 1.024 GB, free: 46.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-05/5.55, allocations: 9.312 kB / 1.024 GB, free: 46.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/5.561, allocations: 0.9261 MB / 1.025 GB, free: 46.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/5.564, allocations: 347.7 kB / 1.026 GB, free: 46.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/5.568, allocations: 1.396 MB / 1.027 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/5.571, allocations: 73.62 kB / 1.027 GB, free: 45.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/5.571, allocations: 77.2 kB / 1.027 GB, free: 45.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.000707/5.572, allocations: 142.8 kB / 1.027 GB, free: 45.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/5.572, allocations: 150.2 kB / 1.027 GB, free: 45.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/5.586, allocations: 2.824 MB / 1.03 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/5.586, allocations: 17.81 kB / 1.03 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/5.586, allocations: 0 / 1.03 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/5.586, allocations: 6.609 kB / 1.03 GB, free: 45.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/5.606, allocations: 4.17 MB / 1.034 GB, free: 45.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/5.606, allocations: 0 / 1.034 GB, free: 45.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003107/5.609, allocations: 229.7 kB / 1.034 GB, free: 45.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00742/5.617, allocations: 0.9436 MB / 1.035 GB, free: 45.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004959/5.617, allocations: 20.67 kB / 1.035 GB, free: 45.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009842/5.627, allocations: 2.189 MB / 1.037 GB, free: 44.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/5.627, allocations: 0 / 1.037 GB, free: 44.68 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01692/5.644, allocations: 3.595 MB / 1.041 GB, free: 44.41 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02144/5.666, allocations: 5.117 MB / 1.046 GB, free: 43.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/5.668, allocations: 431 kB / 1.046 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008325/5.669, allocations: 7.031 kB / 1.046 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/5.672, allocations: 83.23 kB / 1.046 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/5.673, allocations: 117.3 kB / 1.047 GB, free: 43.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/5.673, allocations: 56.27 kB / 1.047 GB, free: 43.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001945/5.675, allocations: 0.6679 MB / 1.047 GB, free: 43.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01056/5.686, allocations: 1.569 MB / 1.049 GB, free: 43.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.004942/5.691, allocations: 1.214 MB / 1.05 GB, free: 42.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01205/5.703, allocations: 3.001 MB / 1.053 GB, free: 42.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/5.703, allocations: 3.75 kB / 1.053 GB, free: 42.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00376/5.707, allocations: 0.9839 MB / 1.054 GB, free: 42.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/5.713, allocations: 0.5858 MB / 1.054 GB, free: 42.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/5.725, allocations: 2.851 MB / 1.057 GB, free: 42.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/5.727, allocations: 1.616 MB / 1.059 GB, free: 41.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/5.727, allocations: 0 / 1.059 GB, free: 41.48 MB / 474.7 MB