Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.532/4.532, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3199/4.852, allocations: 95.02 MB / 0.4941 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/5.438, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/5.743, allocations: 122.1 MB / 0.7039 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000476/5.743, allocations: 87.94 kB / 0.704 GB, free: 11.48 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02205/5.765, allocations: 3.53 MB / 0.7074 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/5.766, allocations: 8 kB / 0.7074 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/5.766, allocations: 24.67 kB / 0.7074 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/5.766, allocations: 218.7 kB / 0.7077 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/5.766, allocations: 4 kB / 0.7077 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/5.766, allocations: 11.98 kB / 0.7077 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003053/5.767, allocations: 39.91 kB / 0.7077 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/5.767, allocations: 121 kB / 0.7078 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/5.767, allocations: 7.938 kB / 0.7078 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/5.767, allocations: 0 / 0.7078 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/5.767, allocations: 3.938 kB / 0.7078 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/5.769, allocations: 0.7124 MB / 0.7085 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/5.77, allocations: 30.58 kB / 0.7086 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/5.77, allocations: 16.86 kB / 0.7086 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/5.77, allocations: 7.938 kB / 0.7086 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/5.77, allocations: 102.8 kB / 0.7087 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 4.378e-06/5.77, allocations: 4 kB / 0.7087 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0005069/5.771, allocations: 89.42 kB / 0.7088 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/5.771, allocations: 132.5 kB / 0.7089 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/5.771, allocations: 151.5 kB / 0.709 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/5.771, allocations: 25.7 kB / 0.7091 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/5.771, allocations: 111.9 kB / 0.7092 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/5.772, allocations: 31.55 kB / 0.7092 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/5.772, allocations: 4.062 kB / 0.7092 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002584/5.772, allocations: 330.7 kB / 0.7095 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/5.772, allocations: 23.94 kB / 0.7095 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/5.772, allocations: 105 kB / 0.7096 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/5.772, allocations: 41.3 kB / 0.7097 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/5.773, allocations: 0 / 0.7097 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000598/5.773, allocations: 129.3 kB / 0.7098 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/5.773, allocations: 4 kB / 0.7098 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/5.773, allocations: 4.406 kB / 0.7098 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/5.773, allocations: 8 kB / 0.7098 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/5.774, allocations: 35.91 kB / 0.7099 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/5.774, allocations: 7.938 kB / 0.7099 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/5.774, allocations: 27.89 kB / 0.7099 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/5.774, allocations: 8 kB / 0.7099 GB, free: 5.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.00016/5.774, allocations: 108.9 kB / 0.71 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/5.774, allocations: 19.75 kB / 0.71 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/5.775, allocations: 21.48 kB / 0.71 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/5.775, allocations: 7.984 kB / 0.7101 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/5.775, allocations: 0 / 0.7101 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/5.775, allocations: 4 kB / 0.7101 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/5.776, allocations: 474.2 kB / 0.7105 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/5.776, allocations: 0 / 0.7105 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/5.777, allocations: 23.98 kB / 0.7105 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/5.777, allocations: 0 / 0.7105 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/5.777, allocations: 4 kB / 0.7105 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/5.777, allocations: 128 / 0.7105 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/5.777, allocations: 8 kB / 0.7105 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007573/5.778, allocations: 345.3 kB / 0.7109 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001058/5.779, allocations: 0.7361 MB / 0.7116 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/5.779, allocations: 96.91 kB / 0.7117 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/5.779, allocations: 4 kB / 0.7117 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/5.78, allocations: 19.98 kB / 0.7117 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/5.78, allocations: 7.984 kB / 0.7117 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/5.78, allocations: 4 kB / 0.7117 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002268/5.78, allocations: 128.3 kB / 0.7118 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001957/5.782, allocations: 27.84 kB / 0.7119 GB, free: 2.914 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003463/5.782, allocations: 114.5 kB / 0.712 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000447/5.783, allocations: 71.86 kB / 0.712 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/5.783, allocations: 4.219 kB / 0.712 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/5.783, allocations: 31.94 kB / 0.7121 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/5.784, allocations: 67.75 kB / 0.7121 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/5.785, allocations: 259.5 kB / 0.7124 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/5.786, allocations: 0.7509 MB / 0.7131 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of SimCode: time 1.383e-06/5.786, allocations: 4 kB / 0.7131 GB, free: 1.559 MB / 0.5886 GB