Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"dynamic"}) [: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(Buildings): time 7.368/7.368, allocations: 403.9 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3366/7.704, allocations: 95.01 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/8.356, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.83/14.19, allocations: 2.177 GB / 2.762 GB, free: 39.06 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/14.19, allocations: 79.89 kB / 2.762 GB, free: 39.02 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 1.356/15.54, allocations: 220.2 MB / 2.977 GB, free: 122.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/15.54, allocations: 12 kB / 2.977 GB, free: 122.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007217/15.54, allocations: 71.41 kB / 2.977 GB, free: 122.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/15.55, allocations: 2.152 MB / 2.979 GB, free: 119.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/15.55, allocations: 12 kB / 2.979 GB, free: 119.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/15.55, allocations: 20 kB / 2.979 GB, free: 119.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007294/15.56, allocations: 197.2 kB / 2.979 GB, free: 119.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/15.56, allocations: 288.6 kB / 2.98 GB, free: 119.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/15.56, allocations: 0 / 2.98 GB, free: 119.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/15.56, allocations: 0 / 2.98 GB, free: 119.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/15.56, allocations: 11.98 kB / 2.98 GB, free: 119.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/15.56, allocations: 1.143 MB / 2.981 GB, free: 118.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/15.56, allocations: 135.9 kB / 2.981 GB, free: 118 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/15.56, allocations: 94.52 kB / 2.981 GB, free: 117.9 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/15.56, allocations: 7.938 kB / 2.981 GB, free: 117.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/15.56, allocations: 38.56 kB / 2.981 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 3.667e-06/15.56, allocations: 4 kB / 2.981 GB, free: 117.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=16): time 0.001129/15.56, allocations: 189.4 kB / 2.981 GB, free: 117.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/15.56, allocations: 106.8 kB / 2.981 GB, free: 117.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/15.56, allocations: 239.6 kB / 2.982 GB, free: 117.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/15.56, allocations: 29.7 kB / 2.982 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/15.56, allocations: 183.8 kB / 2.982 GB, free: 117 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/15.56, allocations: 55.19 kB / 2.982 GB, free: 117 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/15.56, allocations: 0 / 2.982 GB, free: 117 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/15.56, allocations: 334.8 kB / 2.982 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/15.56, allocations: 55.98 kB / 2.982 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/15.56, allocations: 148.5 kB / 2.982 GB, free: 116.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/15.56, allocations: 75.95 kB / 2.982 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/15.56, allocations: 4 kB / 2.982 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000613/15.56, allocations: 229 kB / 2.983 GB, free: 116.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/15.56, allocations: 0.7851 MB / 2.983 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/15.56, allocations: 4 kB / 2.983 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/15.56, allocations: 4 kB / 2.983 GB, free: 115.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/15.56, allocations: 56.09 kB / 2.983 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/15.56, allocations: 4 kB / 2.983 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/15.57, allocations: 39.81 kB / 2.983 GB, free: 115.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/15.57, allocations: 8 kB / 2.983 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/15.57, allocations: 4 kB / 2.983 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000458/15.57, allocations: 163.8 kB / 2.984 GB, free: 115 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/15.57, allocations: 4 kB / 2.984 GB, free: 115 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/15.57, allocations: 4 kB / 2.984 GB, free: 115 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/15.57, allocations: 51.88 kB / 2.984 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/15.57, allocations: 3.938 kB / 2.984 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004242/15.57, allocations: 31.98 kB / 2.984 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/15.57, allocations: 12.05 kB / 2.984 GB, free: 114.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/15.57, allocations: 108.5 kB / 2.984 GB, free: 114.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/15.57, allocations: 35.61 kB / 2.984 GB, free: 114.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/15.57, allocations: 38.55 kB / 2.984 GB, free: 114.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/15.57, allocations: 4 kB / 2.984 GB, free: 114.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/15.57, allocations: 4 kB / 2.984 GB, free: 114.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/15.57, allocations: 3.984 kB / 2.984 GB, free: 114.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/15.57, allocations: 0.869 MB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/15.57, allocations: 0 / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/15.57, allocations: 43.91 kB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/15.57, allocations: 4 kB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/15.57, allocations: 7.938 kB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/15.57, allocations: 4.562 kB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/15.57, allocations: 11.94 kB / 2.985 GB, free: 113.7 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005843/15.57, allocations: 460.6 kB / 2.985 GB, free: 113.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000803/15.57, allocations: 0.8612 MB / 2.986 GB, free: 112.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/15.57, allocations: 132.6 kB / 2.986 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-05/15.57, allocations: 8 kB / 2.986 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/15.57, allocations: 23.97 kB / 2.986 GB, free: 112 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/15.57, allocations: 19.83 kB / 2.986 GB, free: 111.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/15.57, allocations: 12 kB / 2.986 GB, free: 111.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002874/15.57, allocations: 195.1 kB / 2.986 GB, free: 111.7 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003838/15.58, allocations: 415.5 kB / 2.987 GB, free: 111.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/15.58, allocations: 1.03 MB / 2.988 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008285/15.58, allocations: 246.3 kB / 2.988 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/15.58, allocations: 4 kB / 2.988 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/15.58, allocations: 79.84 kB / 2.988 GB, free: 110 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/15.58, allocations: 125.7 kB / 2.988 GB, free: 109.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/15.58, allocations: 450.4 kB / 2.989 GB, free: 109.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/15.58, allocations: 0.8453 MB / 2.99 GB, free: 108.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.282e-06/15.58, allocations: 0 / 2.99 GB, free: 108.5 MB / 0.7605 GB