Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.999/4.999, allocations: 404.2 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.995e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7123, allocations: 92.69 MB / 0.5851 GB, free: 2.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.9949, allocations: 119.8 MB / 0.702 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004643/0.9954, allocations: 75.95 kB / 0.7021 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.005342/1.001, allocations: 0.9177 MB / 0.703 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.324e-06/1.001, allocations: 0 / 0.703 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.536e-05/1.001, allocations: 0 / 0.703 GB, free: 9.477 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005606/1.001, allocations: 342.4 kB / 0.7033 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/1.002, allocations: 12.03 kB / 0.7033 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/1.002, allocations: 11.86 kB / 0.7033 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/1.002, allocations: 182.9 kB / 0.7035 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/1.002, allocations: 4 kB / 0.7035 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/1.002, allocations: 8 kB / 0.7035 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002134/1.002, allocations: 35.98 kB / 0.7036 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/1.003, allocations: 89.88 kB / 0.7036 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.003, allocations: 0 / 0.7036 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.003, allocations: 3.938 kB / 0.7036 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/1.003, allocations: 3.953 kB / 0.7036 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.004, allocations: 0.6056 MB / 0.7042 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/1.004, allocations: 169.1 kB / 0.7044 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/1.004, allocations: 84.14 kB / 0.7045 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/1.004, allocations: 75.28 kB / 0.7046 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.642e-05/1.004, allocations: 109.8 kB / 0.7047 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 3.005e-06/1.004, allocations: 0 / 0.7047 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001301/1.004, allocations: 29.7 kB / 0.7047 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/1.005, allocations: 51.41 kB / 0.7047 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/1.005, allocations: 113 kB / 0.7048 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/1.005, allocations: 33.64 kB / 0.7049 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.005, allocations: 111.8 kB / 0.705 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-06/1.005, allocations: 0 / 0.705 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/1.005, allocations: 0 / 0.705 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.005, allocations: 314.8 kB / 0.7053 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/1.005, allocations: 8 kB / 0.7053 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/1.005, allocations: 22.56 kB / 0.7053 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/1.005, allocations: 19.89 kB / 0.7053 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.005, allocations: 0 / 0.7053 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002294/1.006, allocations: 45.59 kB / 0.7054 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.006, allocations: 4 kB / 0.7054 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.006, allocations: 4 kB / 0.7054 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.006, allocations: 0 / 0.7054 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.006, allocations: 7.938 kB / 0.7054 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.006, allocations: 4.094 kB / 0.7054 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/1.006, allocations: 4 kB / 0.7054 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.006, allocations: 0 / 0.7054 GB, free: 6.777 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001535/1.006, allocations: 184.2 kB / 0.7056 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000161/1.006, allocations: 138.6 kB / 0.7057 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/1.007, allocations: 108.9 kB / 0.7058 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.251e-05/1.007, allocations: 105 kB / 0.7059 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/1.007, allocations: 188.2 kB / 0.7061 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/1.007, allocations: 184.2 kB / 0.7063 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/1.007, allocations: 180.8 kB / 0.7064 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/1.008, allocations: 409.6 kB / 0.7068 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.464e-05/1.008, allocations: 101.5 kB / 0.7069 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/1.008, allocations: 105 kB / 0.707 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/1.008, allocations: 188.2 kB / 0.7072 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.008, allocations: 176.3 kB / 0.7074 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000112/1.008, allocations: 180.3 kB / 0.7075 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001155/1.008, allocations: 188.2 kB / 0.7077 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/1.009, allocations: 303.8 kB / 0.708 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.009, allocations: 193.9 kB / 0.7082 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.009, allocations: 180.3 kB / 0.7084 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.009, allocations: 102.1 kB / 0.7085 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.009, allocations: 180.2 kB / 0.7086 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/1.009, allocations: 105 kB / 0.7087 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001435/1.01, allocations: 99.27 kB / 0.7088 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.92e-07/1.01, allocations: 0 / 0.7088 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007158/1.01, allocations: 11.94 kB / 0.7088 GB, free: 3.023 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006906/1.011, allocations: 0.8124 MB / 0.7096 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001241/1.011, allocations: 11.92 kB / 0.7096 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.011, allocations: 3.938 kB / 0.7097 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/1.011, allocations: 0 / 0.7097 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/1.012, allocations: 0.5224 MB / 0.7102 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/1.013, allocations: 193.1 kB / 0.7103 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.013, allocations: 0.7001 MB / 0.711 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.64e-05/1.013, allocations: 3.906 kB / 0.711 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/1.013, allocations: 23.36 kB / 0.7111 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/1.013, allocations: 0 / 0.7111 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06119/1.075, allocations: 0.7807 MB / 0.7118 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003817/1.075, allocations: 149.8 kB / 0.712 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.925/4, allocations: 1.828 kB / 0.712 GB, free: 15.7 MB / 0.6042 GB