[: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 2.276/2.276, allocations: 268.2 MB / 275.2 MB, free: 7.699 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1912/2.468, allocations: 63.85 MB / 339 MB, free: 8.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/2.753, allocations: 61.52 MB / 400.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/3.768, allocations: 428 MB / 0.8092 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/3.769, allocations: 95.19 kB / 0.8092 GB, free: 123.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 1.968/5.737, allocations: 479.4 MB / 1.277 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/5.737, allocations: 8 kB / 1.277 GB, free: 68.03 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/5.739, allocations: 231.3 kB / 1.278 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005006/5.744, allocations: 1.389 MB / 1.279 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/5.744, allocations: 36 kB / 1.279 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/5.744, allocations: 91.91 kB / 1.279 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/5.746, allocations: 0.7422 MB / 1.28 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/5.749, allocations: 1.014 MB / 1.281 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/5.749, allocations: 3.938 kB / 1.281 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/5.749, allocations: 4 kB / 1.281 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/5.749, allocations: 27.5 kB / 1.281 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/5.76, allocations: 5.799 MB / 1.287 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/5.761, allocations: 307.6 kB / 1.287 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/5.761, allocations: 216.2 kB / 1.287 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/5.762, allocations: 339.9 kB / 1.287 GB, free: 57.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/5.762, allocations: 44.59 kB / 1.287 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.504e-06/5.762, allocations: 0 / 1.287 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.008079/5.77, allocations: 1.741 MB / 1.289 GB, free: 55.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/5.77, allocations: 136.9 kB / 1.289 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/5.772, allocations: 1.026 MB / 1.29 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/5.772, allocations: 41.7 kB / 1.29 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/5.772, allocations: 0.5691 MB / 1.291 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/5.773, allocations: 161.7 kB / 1.291 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/5.773, allocations: 12 kB / 1.291 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001106/5.773, allocations: 345.9 kB / 1.291 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/5.774, allocations: 373.7 kB / 1.292 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/5.775, allocations: 0.6953 MB / 1.292 GB, free: 52.16 MB / 0.5261 GB Error: Internal error BackendDAE.adjacencyRowEnhanced failed for eqn: algorithm if valLin.CvData == Buildings.Fluid.Types.CvTypes.OpPoint then valLin.Kv_SI := valLin.m_flow_nominal / sqrt(valLin.dpValve_nominal); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Kv then valLin.Kv_SI := 8.784104611578831e-07 * valLin.Kv * valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; elseif valLin.CvData == Buildings.Fluid.Types.CvTypes.Cv then valLin.Kv_SI := 7.599101126188108e-07 * valLin.Cv * valLin.rhoStd; valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Av := valLin.Kv_SI / sqrt(valLin.rhoStd); valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; else assert(valLin.CvData == Buildings.Fluid.Types.CvTypes.Av, "Invalid value for CvData. Obtained CvData = " + String(valLin.CvData, 0, true) + "."); valLin.Kv_SI := valLin.Av * sqrt(valLin.rhoStd); valLin.Kv := 1138419.957660617 * valLin.Kv_SI / valLin.rhoStd; valLin.Cv := 1315945.114289621 * valLin.Kv_SI / valLin.rhoStd; valLin.dpValve_nominal := (valLin.m_flow_nominal / valLin.Kv_SI) ^ 2.0; end if; Error: Internal error BackendDAEUtil.getAdjacencyMatrixEnhancedScalar failed Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves could not be translated to FMU