Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",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.03/4.03, allocations: 403.9 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2634/4.294, allocations: 95.03 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/4.829, allocations: 92.68 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/5.066, allocations: 121.2 MB / 0.703 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/5.066, allocations: 91.92 kB / 0.7031 GB, free: 12.4 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00804/5.074, allocations: 1.493 MB / 0.7045 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/5.075, allocations: 16 kB / 0.7045 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/5.075, allocations: 11.91 kB / 0.7046 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/5.075, allocations: 178.9 kB / 0.7047 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/5.075, allocations: 0 / 0.7047 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/5.075, allocations: 11.94 kB / 0.7047 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002117/5.075, allocations: 43.98 kB / 0.7048 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/5.075, allocations: 65.67 kB / 0.7048 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/5.075, allocations: 0 / 0.7048 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/5.075, allocations: 7.969 kB / 0.7048 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/5.075, allocations: 3.906 kB / 0.7049 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/5.076, allocations: 325.2 kB / 0.7052 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/5.077, allocations: 62.7 kB / 0.7052 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/5.077, allocations: 28.86 kB / 0.7052 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/5.077, allocations: 192 / 0.7053 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/5.077, allocations: 83.31 kB / 0.7053 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/5.077, allocations: 7.938 kB / 0.7053 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003347/5.077, allocations: 77.59 kB / 0.7054 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/5.077, allocations: 63.34 kB / 0.7055 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/5.078, allocations: 113.1 kB / 0.7056 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/5.078, allocations: 33.7 kB / 0.7056 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/5.078, allocations: 84.12 kB / 0.7057 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/5.078, allocations: 31.55 kB / 0.7057 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/5.078, allocations: 4 kB / 0.7057 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001286/5.078, allocations: 318.8 kB / 0.706 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/5.078, allocations: 24 kB / 0.7061 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/5.078, allocations: 68.62 kB / 0.7061 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/5.078, allocations: 23.98 kB / 0.7061 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/5.078, allocations: 0 / 0.7061 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003331/5.079, allocations: 101.5 kB / 0.7062 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/5.079, allocations: 4.938 kB / 0.7062 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/5.079, allocations: 12.02 kB / 0.7063 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/5.079, allocations: 4 kB / 0.7063 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/5.079, allocations: 31.88 kB / 0.7063 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/5.079, allocations: 7.938 kB / 0.7063 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/5.079, allocations: 31.97 kB / 0.7063 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/5.079, allocations: 4 kB / 0.7063 GB, free: 8.844 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001063/5.08, allocations: 108.5 kB / 0.7064 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/5.08, allocations: 11.91 kB / 0.7064 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/5.08, allocations: 110 kB / 0.7065 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/5.08, allocations: 0 / 0.7065 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/5.08, allocations: 0 / 0.7065 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/5.08, allocations: 0 / 0.7065 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/5.081, allocations: 347 kB / 0.7069 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/5.081, allocations: 0 / 0.7069 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/5.081, allocations: 35.91 kB / 0.7069 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/5.081, allocations: 0 / 0.7069 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/5.081, allocations: 0 / 0.7069 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/5.081, allocations: 0 / 0.7069 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/5.081, allocations: 4 kB / 0.7069 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003023/5.081, allocations: 195.3 kB / 0.7071 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004512/5.082, allocations: 0.5467 MB / 0.7076 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/5.082, allocations: 88.94 kB / 0.7077 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/5.082, allocations: 15.92 kB / 0.7077 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/5.082, allocations: 27.98 kB / 0.7078 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/5.082, allocations: 19.95 kB / 0.7078 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/5.082, allocations: 0 / 0.7078 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.887e-05/5.082, allocations: 99.91 kB / 0.7079 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001396/5.084, allocations: 23.84 kB / 0.7079 GB, free: 7.125 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.trigger,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001958/5.084, allocations: 111 kB / 0.708 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003295/5.084, allocations: 79.88 kB / 0.7081 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/5.084, allocations: 0 / 0.7081 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/5.085, allocations: 39.94 kB / 0.7081 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/5.085, allocations: 15.98 kB / 0.7081 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/5.086, allocations: 123.7 kB / 0.7083 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/5.086, allocations: 0.7114 MB / 0.709 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/5.086, allocations: 0 / 0.709 GB, free: 5.996 MB / 0.5886 GB