Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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 4.168/4.168, allocations: 404 MB / 410.9 MB, free: 4.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2487/4.417, allocations: 95.01 MB / 0.4941 GB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/4.893, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/5.177, allocations: 146.2 MB / 0.7274 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004077/5.178, allocations: 99.88 kB / 0.7275 GB, free: 3.289 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0757/5.254, allocations: 16.48 MB / 0.7436 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/5.254, allocations: 12 kB / 0.7436 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/5.255, allocations: 95.61 kB / 0.7437 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/5.256, allocations: 255 kB / 0.7439 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/5.256, allocations: 11.91 kB / 0.7439 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/5.256, allocations: 12 kB / 0.744 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007337/5.257, allocations: 232.8 kB / 0.7442 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/5.258, allocations: 343.7 kB / 0.7445 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/5.258, allocations: 0 / 0.7445 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/5.258, allocations: 0 / 0.7445 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/5.258, allocations: 20.42 kB / 0.7445 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/5.261, allocations: 1.115 MB / 0.7456 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005102/5.261, allocations: 202.5 kB / 0.7458 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/5.261, allocations: 116.8 kB / 0.7459 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/5.262, allocations: 85.11 kB / 0.746 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/5.262, allocations: 34.56 kB / 0.746 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 6.162e-06/5.262, allocations: 0 / 0.746 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.002448/5.264, allocations: 0.7382 MB / 0.7468 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/5.264, allocations: 51.41 kB / 0.7468 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/5.265, allocations: 165.4 kB / 0.747 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/5.265, allocations: 25.7 kB / 0.747 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/5.265, allocations: 159.9 kB / 0.7471 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/5.265, allocations: 63.02 kB / 0.7472 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/5.265, allocations: 0 / 0.7472 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001392/5.265, allocations: 330.8 kB / 0.7475 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/5.265, allocations: 104 kB / 0.7476 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/5.266, allocations: 173.9 kB / 0.7478 GB, free: 14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/5.266, allocations: 155.8 kB / 0.7479 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/5.266, allocations: 0 / 0.7479 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001522/5.268, allocations: 417.2 kB / 0.7483 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/5.268, allocations: 4 kB / 0.7483 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/5.268, allocations: 4 kB / 0.7483 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/5.269, allocations: 96.95 kB / 0.7484 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/5.269, allocations: 47.91 kB / 0.7485 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/5.272, allocations: 1.647 MB / 0.7501 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/5.273, allocations: 8 kB / 0.7501 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/5.273, allocations: 8.062 kB / 0.7501 GB, free: 11.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/5.273, allocations: 119.6 kB / 0.7502 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/5.273, allocations: 15.81 kB / 0.7502 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/5.274, allocations: 307.1 kB / 0.7505 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/5.274, allocations: 4 kB / 0.7505 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/5.274, allocations: 0 / 0.7505 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/5.274, allocations: 0 / 0.7505 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/5.276, allocations: 0.6722 MB / 0.7512 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/5.276, allocations: 0 / 0.7512 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/5.277, allocations: 55.95 kB / 0.7512 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/5.277, allocations: 0 / 0.7512 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/5.277, allocations: 4 kB / 0.7512 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/5.277, allocations: 0 / 0.7512 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/5.277, allocations: 8 kB / 0.7512 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001349/5.278, allocations: 0.5608 MB / 0.7518 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001813/5.28, allocations: 1.083 MB / 0.7528 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/5.281, allocations: 112.9 kB / 0.753 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/5.281, allocations: 0 / 0.753 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/5.281, allocations: 7.938 kB / 0.753 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/5.281, allocations: 11.98 kB / 0.753 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/5.281, allocations: 12.05 kB / 0.753 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001946/5.281, allocations: 136.3 kB / 0.7531 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001497/5.283, allocations: 71.94 kB / 0.7532 GB, free: 8.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002473/5.283, allocations: 119 kB / 0.7533 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001285/5.284, allocations: 397.6 kB / 0.7537 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/5.284, allocations: 0 / 0.7537 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/5.285, allocations: 115.9 kB / 0.7538 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/5.285, allocations: 28.86 kB / 0.7538 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/5.287, allocations: 0.4917 MB / 0.7543 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/5.288, allocations: 0.8128 MB / 0.7551 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.163e-06/5.288, allocations: 0 / 0.7551 GB, free: 6.176 MB / 0.6355 GB