Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_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.001/2.001, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2802/2.281, allocations: 51.05 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/2.421, allocations: 48.68 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.88/3.301, allocations: 339.4 MB / 0.6401 GB, free: 2.414 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004654/3.301, allocations: 81.45 kB / 0.6401 GB, free: 2.371 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 1.642/4.943, allocations: 304.3 MB / 0.9373 GB, free: 18.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/4.943, allocations: 12 kB / 0.9373 GB, free: 18.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/4.945, allocations: 201.8 kB / 0.9375 GB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005138/4.95, allocations: 1.269 MB / 0.9387 GB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/4.95, allocations: 151.2 kB / 0.9388 GB, free: 16.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/4.951, allocations: 64 kB / 0.9389 GB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005573/4.957, allocations: 1.793 MB / 0.9407 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004753/4.961, allocations: 1.791 MB / 0.9424 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/4.962, allocations: 0 / 0.9424 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/4.962, allocations: 4 kB / 0.9424 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/4.962, allocations: 122.2 kB / 0.9425 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/4.989, allocations: 6.816 MB / 0.9492 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/4.993, allocations: 1.023 MB / 0.9502 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/4.995, allocations: 0.7773 MB / 0.9509 GB, free: 3.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/5.005, allocations: 4.411 MB / 0.9553 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/5.005, allocations: 51.7 kB / 0.9553 GB, free: 14.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=117): time 5.18e-06/5.005, allocations: 0 / 0.9553 GB, free: 14.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.03807/5.043, allocations: 5.2 MB / 0.9604 GB, free: 9.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/5.044, allocations: 226.9 kB / 0.9606 GB, free: 9.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/5.046, allocations: 0.9091 MB / 0.9615 GB, free: 8.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004033/5.046, allocations: 29.7 kB / 0.9615 GB, free: 8.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/5.047, allocations: 491.6 kB / 0.962 GB, free: 7.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007206/5.048, allocations: 441 kB / 0.9624 GB, free: 7.449 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/5.048, allocations: 0 / 0.9624 GB, free: 7.449 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/5.048, allocations: 369.9 kB / 0.9628 GB, free: 7.082 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/5.05, allocations: 0.7419 MB / 0.9635 GB, free: 6.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/5.053, allocations: 1.059 MB / 0.9645 GB, free: 5.164 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02439/5.078, allocations: 2.698 MB / 0.9671 GB, free: 2.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/5.078, allocations: 4 kB / 0.9672 GB, free: 2.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.2167/5.294, allocations: 4.174 MB / 0.9712 GB, free: 99.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006472/5.295, allocations: 2.97 MB / 0.9741 GB, free: 96.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-05/5.295, allocations: 13.19 kB / 0.9741 GB, free: 96.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/5.308, allocations: 1.173 MB / 0.9753 GB, free: 96.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/5.312, allocations: 330.4 kB / 0.9756 GB, free: 96.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/5.326, allocations: 2.205 MB / 0.9778 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009215/5.335, allocations: 76.25 kB / 0.9778 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006181/5.336, allocations: 79.39 kB / 0.9779 GB, free: 96.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/5.336, allocations: 8.906 kB / 0.9779 GB, free: 96.07 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04082/5.377, allocations: 3.425 MB / 0.9813 GB, free: 96.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.511e-05/5.377, allocations: 6.625 kB / 0.9813 GB, free: 96.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/5.39, allocations: 0.9324 MB / 0.9822 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004078/5.394, allocations: 347.9 kB / 0.9825 GB, free: 96.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/5.399, allocations: 1.394 MB / 0.9839 GB, free: 95.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/5.402, allocations: 72.39 kB / 0.9839 GB, free: 95.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/5.403, allocations: 73.11 kB / 0.984 GB, free: 95.51 MB / 442.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.0006734/5.403, allocations: 141.8 kB / 0.9841 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/5.404, allocations: 150.3 kB / 0.9843 GB, free: 95.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/5.418, allocations: 2.83 MB / 0.987 GB, free: 95.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/5.418, allocations: 17.19 kB / 0.9871 GB, free: 95.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/5.418, allocations: 0 / 0.9871 GB, free: 95.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-05/5.418, allocations: 7.781 kB / 0.9871 GB, free: 95.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/5.434, allocations: 4.177 MB / 0.9911 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/5.434, allocations: 2.688 kB / 0.9912 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/5.437, allocations: 236 kB / 0.9914 GB, free: 95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/5.442, allocations: 0.9384 MB / 0.9923 GB, free: 94.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004603/5.443, allocations: 18.3 kB / 0.9923 GB, free: 94.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007987/5.451, allocations: 2.181 MB / 0.9944 GB, free: 94.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/5.451, allocations: 13.52 kB / 0.9945 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01949/5.47, allocations: 3.582 MB / 0.998 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02366/5.494, allocations: 5.12 MB / 1.003 GB, free: 93.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/5.496, allocations: 432.3 kB / 1.003 GB, free: 93.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000754/5.497, allocations: 11.06 kB / 1.003 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/5.5, allocations: 78.28 kB / 1.003 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006342/5.501, allocations: 107.3 kB / 1.004 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003806/5.502, allocations: 60.47 kB / 1.004 GB, free: 93.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002144/5.504, allocations: 0.6702 MB / 1.004 GB, free: 93.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01476/5.519, allocations: 1.57 MB / 1.006 GB, free: 93.23 MB / 442.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.007111/5.526, allocations: 1.218 MB / 1.007 GB, free: 93.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01615/5.542, allocations: 3.001 MB / 1.01 GB, free: 93.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/5.542, allocations: 4.219 kB / 1.01 GB, free: 93.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005623/5.548, allocations: 0.9836 MB / 1.011 GB, free: 93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00823/5.556, allocations: 0.5853 MB / 1.011 GB, free: 93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/5.573, allocations: 2.836 MB / 1.014 GB, free: 92.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003515/5.577, allocations: 1.619 MB / 1.016 GB, free: 91.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/5.577, allocations: 0 / 1.016 GB, free: 91.73 MB / 442.7 MB