Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",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 5.358/5.358, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2934/5.652, allocations: 95.01 MB / 0.4941 GB, free: 7.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/6.283, allocations: 92.67 MB / 0.5846 GB, free: 3.355 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2777/6.561, allocations: 122.1 MB / 0.7038 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/6.561, allocations: 79.95 kB / 0.7039 GB, free: 11.46 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.03581/6.597, allocations: 5.833 MB / 0.7096 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/6.597, allocations: 16 kB / 0.7096 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/6.597, allocations: 27.62 kB / 0.7096 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/6.598, allocations: 278.6 kB / 0.7099 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/6.598, allocations: 8 kB / 0.7099 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/6.598, allocations: 8 kB / 0.7099 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004668/6.599, allocations: 120.2 kB / 0.71 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/6.599, allocations: 209.8 kB / 0.7102 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/6.599, allocations: 0 / 0.7102 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/6.599, allocations: 0 / 0.7102 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/6.599, allocations: 4 kB / 0.7102 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/6.601, allocations: 0.5222 MB / 0.7108 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/6.602, allocations: 142.5 kB / 0.7109 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/6.602, allocations: 92.97 kB / 0.711 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/6.602, allocations: 0 / 0.711 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/6.602, allocations: 173 kB / 0.7111 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.975e-06/6.602, allocations: 0 / 0.7111 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0008443/6.603, allocations: 229.3 kB / 0.7114 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/6.603, allocations: 132.5 kB / 0.7115 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/6.604, allocations: 216.3 kB / 0.7117 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/6.604, allocations: 25.7 kB / 0.7117 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/6.604, allocations: 128.2 kB / 0.7118 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/6.604, allocations: 43.45 kB / 0.7119 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/6.604, allocations: 0 / 0.7119 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001641/6.604, allocations: 330.8 kB / 0.7122 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/6.605, allocations: 88.06 kB / 0.7123 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/6.605, allocations: 119.3 kB / 0.7124 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/6.605, allocations: 82.02 kB / 0.7125 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/6.605, allocations: 0 / 0.7125 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000784/6.606, allocations: 245.3 kB / 0.7127 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/6.606, allocations: 15.92 kB / 0.7127 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/6.606, allocations: 0 / 0.7127 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/6.606, allocations: 0 / 0.7127 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/6.607, allocations: 23.98 kB / 0.7128 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/6.607, allocations: 0 / 0.7128 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/6.607, allocations: 39.86 kB / 0.7128 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/6.607, allocations: 12 kB / 0.7128 GB, free: 2.094 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0002087/6.607, allocations: 155.4 kB / 0.7129 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/6.607, allocations: 23.81 kB / 0.713 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/6.608, allocations: 25.77 kB / 0.713 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/6.608, allocations: 3.906 kB / 0.713 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/6.608, allocations: 0 / 0.713 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/6.608, allocations: 0 / 0.713 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/6.608, allocations: 262 kB / 0.7133 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/6.608, allocations: 3.906 kB / 0.7133 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/6.608, allocations: 23.98 kB / 0.7133 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/6.608, allocations: 0 / 0.7133 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/6.609, allocations: 8 kB / 0.7133 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/6.609, allocations: 0 / 0.7133 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/6.609, allocations: 0 / 0.7133 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001259/6.61, allocations: 396.6 kB / 0.7137 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001719/6.612, allocations: 0.8861 MB / 0.7145 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/6.612, allocations: 96.77 kB / 0.7146 GB, free: 124 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/6.612, allocations: 8 kB / 0.7146 GB, free: 116 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/6.612, allocations: 36.03 kB / 0.7147 GB, free: 80 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/6.612, allocations: 27.95 kB / 0.7147 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/6.612, allocations: 11.91 kB / 0.7147 GB, free: 40 kB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0003969/6.613, allocations: 172.5 kB / 0.7149 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001773/6.615, allocations: 59.98 kB / 0.7149 GB, free: 15.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0004013/6.615, allocations: 149.6 kB / 0.7151 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006185/6.616, allocations: 193.8 kB / 0.7152 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/6.616, allocations: 0 / 0.7152 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/6.616, allocations: 145.6 kB / 0.7154 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/6.617, allocations: 28.64 kB / 0.7154 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/6.618, allocations: 332.8 kB / 0.7157 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/6.619, allocations: 0.7666 MB / 0.7165 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.613e-06/6.619, allocations: 4 kB / 0.7165 GB, free: 14.14 MB / 0.6042 GB