Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_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.848/4.848, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2844/5.132, allocations: 94.99 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/5.709, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/5.966, allocations: 121.4 MB / 0.7031 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/5.966, allocations: 67.97 kB / 0.7032 GB, free: 12.29 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.01885/5.985, allocations: 3.552 MB / 0.7066 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/5.985, allocations: 19.98 kB / 0.7066 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/5.985, allocations: 19.81 kB / 0.7067 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/5.986, allocations: 226.7 kB / 0.7069 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/5.986, allocations: 7.938 kB / 0.7069 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/5.986, allocations: 7.906 kB / 0.7069 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001914/5.986, allocations: 43.92 kB / 0.7069 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/5.987, allocations: 110 kB / 0.707 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/5.987, allocations: 8 kB / 0.707 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/5.987, allocations: 7.984 kB / 0.7071 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/5.987, allocations: 0 / 0.7071 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/5.988, allocations: 0.7093 MB / 0.7077 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/5.989, allocations: 38.58 kB / 0.7078 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/5.989, allocations: 18.52 kB / 0.7078 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/5.989, allocations: 4 kB / 0.7078 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/5.989, allocations: 110.6 kB / 0.7079 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 3.968e-06/5.989, allocations: 0 / 0.7079 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0005499/5.99, allocations: 101.5 kB / 0.708 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/5.99, allocations: 132.5 kB / 0.7081 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/5.99, allocations: 153.5 kB / 0.7083 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/5.99, allocations: 25.7 kB / 0.7083 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/5.991, allocations: 115.8 kB / 0.7084 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/5.991, allocations: 35.52 kB / 0.7084 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/5.991, allocations: 0 / 0.7084 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002946/5.991, allocations: 330.9 kB / 0.7088 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/5.991, allocations: 20.38 kB / 0.7088 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/5.991, allocations: 127.1 kB / 0.7089 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/5.992, allocations: 35.98 kB / 0.7089 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/5.992, allocations: 4 kB / 0.7089 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008638/5.993, allocations: 157.5 kB / 0.7091 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/5.993, allocations: 4.938 kB / 0.7091 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/5.993, allocations: 4 kB / 0.7091 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.747e-05/5.993, allocations: 8 kB / 0.7091 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/5.993, allocations: 39.81 kB / 0.7091 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.33e-05/5.993, allocations: 8 kB / 0.7092 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/5.994, allocations: 28.08 kB / 0.7092 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/5.994, allocations: 8 kB / 0.7092 GB, free: 5.781 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002048/5.994, allocations: 124.3 kB / 0.7093 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/5.994, allocations: 15.81 kB / 0.7093 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/5.994, allocations: 21.39 kB / 0.7093 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/5.995, allocations: 8 kB / 0.7094 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/5.995, allocations: 0 / 0.7094 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/5.995, allocations: 0 / 0.7094 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/5.997, allocations: 470.3 kB / 0.7098 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/5.997, allocations: 0 / 0.7098 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/5.997, allocations: 23.98 kB / 0.7098 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/5.997, allocations: 7.844 kB / 0.7098 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/5.997, allocations: 4 kB / 0.7098 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/5.997, allocations: 3.938 kB / 0.7098 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/5.997, allocations: 0 / 0.7098 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008522/5.998, allocations: 344.8 kB / 0.7102 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001051/5.999, allocations: 0.7478 MB / 0.7109 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/5.999, allocations: 88.92 kB / 0.711 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/6, allocations: 4 kB / 0.711 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/6, allocations: 23.98 kB / 0.711 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/6, allocations: 11.89 kB / 0.711 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/6, allocations: 7.984 kB / 0.711 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0002466/6.001, allocations: 128.3 kB / 0.7111 GB, free: 3.621 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002629/6.003, allocations: 27.94 kB / 0.7112 GB, free: 3.594 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.pulsStart,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.0003408/6.004, allocations: 111 kB / 0.7113 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004679/6.004, allocations: 75.81 kB / 0.7114 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/6.004, allocations: 0 / 0.7114 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/6.004, allocations: 40.92 kB / 0.7114 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/6.006, allocations: 57.77 kB / 0.7114 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/6.007, allocations: 247.8 kB / 0.7117 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/6.008, allocations: 0.7512 MB / 0.7124 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of SimCode: time 2.906e-06/6.008, allocations: 0 / 0.7124 GB, free: 2.262 MB / 0.5886 GB