Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.277/4.277, allocations: 403.9 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3143/4.591, allocations: 95.02 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/5.146, allocations: 92.7 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/5.459, allocations: 124.1 MB / 0.7058 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004336/5.46, allocations: 87.94 kB / 0.7059 GB, free: 9.469 MB / 0.5886 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/HeatExchangers/DXCoils/BaseClasses/SpeedSelect.mo:15:52-15:57:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.05096/5.511, allocations: 9.788 MB / 0.7155 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/5.511, allocations: 8 kB / 0.7155 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/5.511, allocations: 55.28 kB / 0.7155 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/5.513, allocations: 391.7 kB / 0.7159 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/5.513, allocations: 8 kB / 0.7159 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/5.513, allocations: 0 / 0.7159 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001882/5.513, allocations: 28 kB / 0.716 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/5.513, allocations: 77.66 kB / 0.716 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/5.513, allocations: 0 / 0.716 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/5.513, allocations: 0 / 0.716 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/5.514, allocations: 0 / 0.716 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/5.515, allocations: 417.2 kB / 0.7164 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/5.515, allocations: 62.56 kB / 0.7165 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/5.516, allocations: 28.86 kB / 0.7165 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/5.516, allocations: 0 / 0.7165 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/5.516, allocations: 91.47 kB / 0.7166 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 3.637e-06/5.516, allocations: 0 / 0.7166 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0007236/5.517, allocations: 156.9 kB / 0.7167 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/5.517, allocations: 81.11 kB / 0.7168 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/5.519, allocations: 0.6245 MB / 0.7174 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/5.52, allocations: 25.7 kB / 0.7175 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/5.52, allocations: 140.1 kB / 0.7176 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/5.52, allocations: 19.8 kB / 0.7176 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/5.52, allocations: 0 / 0.7176 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003499/5.52, allocations: 374.7 kB / 0.718 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/5.521, allocations: 35.98 kB / 0.718 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/5.521, allocations: 43.91 kB / 0.718 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/5.521, allocations: 43.97 kB / 0.7181 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/5.521, allocations: 0 / 0.7181 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007297/5.522, allocations: 157 kB / 0.7182 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/5.522, allocations: 4 kB / 0.7182 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/5.522, allocations: 0 / 0.7182 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/5.522, allocations: 4 kB / 0.7182 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/5.522, allocations: 3.938 kB / 0.7182 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/5.522, allocations: 3.906 kB / 0.7183 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/5.522, allocations: 7.984 kB / 0.7183 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/5.522, allocations: 12 kB / 0.7183 GB, free: 12.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * 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.0002012/5.523, allocations: 130.7 kB / 0.7184 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/5.523, allocations: 55.25 kB / 0.7184 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/5.523, allocations: 60.61 kB / 0.7185 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/5.523, allocations: 0 / 0.7185 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/5.523, allocations: 0 / 0.7185 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/5.523, allocations: 4 kB / 0.7185 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008168/5.524, allocations: 302.1 kB / 0.7188 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/5.524, allocations: 3.984 kB / 0.7188 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/5.524, allocations: 4 kB / 0.7188 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/5.524, allocations: 3.906 kB / 0.7188 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/5.524, allocations: 0 / 0.7188 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/5.524, allocations: 0 / 0.7188 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.524, allocations: 4 kB / 0.7188 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006333/5.525, allocations: 184.4 kB / 0.719 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005785/5.526, allocations: 0.5674 MB / 0.7195 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/5.526, allocations: 124.4 kB / 0.7197 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/5.526, allocations: 0 / 0.7197 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/5.526, allocations: 11.89 kB / 0.7197 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/5.526, allocations: 0 / 0.7197 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/5.526, allocations: 7.984 kB / 0.7197 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001225/5.527, allocations: 0.5186 MB / 0.7202 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001647/5.529, allocations: 52 kB / 0.7202 GB, free: 10.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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.0007306/5.53, allocations: 300.3 kB / 0.7205 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003356/5.53, allocations: 131.3 kB / 0.7206 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/5.53, allocations: 7.938 kB / 0.7207 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/5.53, allocations: 69.67 kB / 0.7207 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/5.531, allocations: 102.9 kB / 0.7208 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/5.534, allocations: 0.7475 MB / 0.7216 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/5.535, allocations: 0.9617 MB / 0.7225 GB, free: 8.016 MB / 0.6042 GB Notification: Performance of SimCode: time 3.767e-06/5.535, allocations: 0 / 0.7225 GB, free: 8.016 MB / 0.6042 GB