Running command: "" <> buildModelFMU(BuildSysPro.Utilities.Analysis.Examples.ThDiscomfortValidation,fileNamePrefix="BuildSysPro_BuildSysPro_Utilities_Analysis_Examples_ThDiscomfortValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.155/3.155, allocations: 325.3 MB / 337.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.217e-05, allocations: 4 kB / 414.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 74.41 MB / 489.3 MB, free: 11.49 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6706/0.832, allocations: 104.2 MB / 0.5795 GB, free: 11.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.8323, allocations: 59.5 kB / 0.5796 GB, free: 11.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02802/0.8603, allocations: 6.306 MB / 0.5858 GB, free: 5.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.137e-06/0.8604, allocations: 4 kB / 0.5858 GB, free: 5.816 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.762e-05/0.8604, allocations: 11.94 kB / 0.5858 GB, free: 5.805 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002033/0.8624, allocations: 0.9153 MB / 0.5867 GB, free: 4.824 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.8625, allocations: 8.031 kB / 0.5867 GB, free: 4.816 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/0.8627, allocations: 94.33 kB / 0.5868 GB, free: 4.746 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.8629, allocations: 67.3 kB / 0.5868 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.8635, allocations: 313.3 kB / 0.5871 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.8636, allocations: 42.94 kB / 0.5872 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.8638, allocations: 59.5 kB / 0.5872 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.865, allocations: 413.5 kB / 0.5876 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.8651, allocations: 0 / 0.5876 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.8652, allocations: 23.94 kB / 0.5876 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.8652, allocations: 12 kB / 0.5876 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.8663, allocations: 324.4 kB / 0.588 GB, free: 3.805 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.8703, allocations: 1.564 MB / 0.5895 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8714, allocations: 351.2 kB / 0.5898 GB, free: 2.254 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.8719, allocations: 188 kB / 0.59 GB, free: 2.145 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-05/0.872, allocations: 8.281 kB / 0.59 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009029/0.8729, allocations: 0.5179 MB / 0.5905 GB, free: 1.641 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 4.588e-06/0.873, allocations: 0 / 0.5905 GB, free: 1.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.001535/0.8745, allocations: 0.678 MB / 0.5912 GB, free: 1.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003621/0.8749, allocations: 498 kB / 0.5916 GB, free: 456 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.8753, allocations: 210 kB / 0.5918 GB, free: 268 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.8754, allocations: 44.64 kB / 0.5919 GB, free: 228 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.8756, allocations: 201.4 kB / 0.5921 GB, free: 60 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.8759, allocations: 210.2 kB / 0.5923 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.8759, allocations: 11.38 kB / 0.5923 GB, free: 15.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.8761, allocations: 356.5 kB / 0.5926 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.8766, allocations: 145.8 kB / 0.5928 GB, free: 15.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.8771, allocations: 205 kB / 0.593 GB, free: 15.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.8778, allocations: 431.8 kB / 0.5934 GB, free: 14.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8778, allocations: 0 / 0.5934 GB, free: 14.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001512/0.8793, allocations: 0.7644 MB / 0.5941 GB, free: 14.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.8795, allocations: 273.9 kB / 0.5944 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8796, allocations: 3.938 kB / 0.5944 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.8796, allocations: 7.938 kB / 0.5944 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.8804, allocations: 91.06 kB / 0.5945 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.8804, allocations: 4 kB / 0.5945 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.881, allocations: 71.28 kB / 0.5946 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.8811, allocations: 26.98 kB / 0.5946 GB, free: 13.73 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: inconfortThsansPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThsansPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid1.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempChaud1.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempFroid.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real inconfortThavecPresence.IntegraleTempChaud.preIt:DISCRETE(start = 0.0 fixed = false protected = true ) "Total integral at the previous time step Dt" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.inconfortThavecPresence.IntegraleTempChaud.preIt,inconfortThavecPresence.IntegraleTempChaud.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid.preIt,inconfortThavecPresence.IntegraleTempFroid.preIt,$PRE.inconfortThavecPresence.IntegraleTempChaud1.preIt,inconfortThavecPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.booleanToReal.u,inconfortThavecPresence.booleanToReal1.u,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.inconfortThsansPresence.IntegraleTempChaud.preIt,inconfortThsansPresence.IntegraleTempChaud.preIt,$PRE.inconfortThsansPresence.IntegraleTempFroid.preIt,inconfortThsansPresence.IntegraleTempFroid.preIt,$PRE.inconfortThsansPresence.IntegraleTempChaud1.preIt,inconfortThsansPresence.IntegraleTempChaud1.preIt,$PRE.inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.booleanToReal.u,inconfortThsansPresence.booleanToReal1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 9 * 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.0005247/0.8816, allocations: 429.6 kB / 0.595 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.8817, allocations: 55.47 kB / 0.595 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.8835, allocations: 0.8053 MB / 0.5958 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.8835, allocations: 4 kB / 0.5958 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8835, allocations: 0 / 0.5958 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.8835, allocations: 0 / 0.5958 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008684/0.8844, allocations: 0.5561 MB / 0.5964 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8844, allocations: 0 / 0.5964 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.8853, allocations: 83.75 kB / 0.5965 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.8853, allocations: 0 / 0.5965 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.8854, allocations: 27.06 kB / 0.5965 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.8854, allocations: 7.984 kB / 0.5965 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8854, allocations: 0 / 0.5965 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.8878, allocations: 1.101 MB / 0.5976 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8879, allocations: 116.6 kB / 0.5977 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.8881, allocations: 23.75 kB / 0.5977 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.8885, allocations: 35.38 kB / 0.5977 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.8887, allocations: 51.11 kB / 0.5978 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.8888, allocations: 23.8 kB / 0.5978 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.889, allocations: 162.3 kB / 0.598 GB, free: 10.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8891, allocations: 0 / 0.598 GB, free: 10.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006111/0.8897, allocations: 150.6 kB / 0.5981 GB, free: 10.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (inconfortThavecPresence.IntegraleTempChaud.It,inconfortThavecPresence.IntegraleTempFroid.It,inconfortThavecPresence.IntegraleTempChaud1.It,inconfortThavecPresence.IntegraleTempFroid1.It,inconfortThsansPresence.IntegraleTempChaud.It,inconfortThsansPresence.IntegraleTempFroid.It,inconfortThsansPresence.IntegraleTempChaud1.It,inconfortThsansPresence.IntegraleTempFroid1.It) * Number of discrete variables: 23 ($whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,inconfortThavecPresence.IntegraleTempChaud.preIt,inconfortThavecPresence.IntegraleTempFroid.preIt,inconfortThavecPresence.IntegraleTempChaud1.preIt,inconfortThavecPresence.IntegraleTempFroid1.preIt,inconfortThavecPresence.booleanToReal.u,inconfortThavecPresence.booleanToReal1.u,pulse.T_start,pulse.count,inconfortThsansPresence.IntegraleTempChaud.preIt,inconfortThsansPresence.IntegraleTempFroid.preIt,inconfortThsansPresence.IntegraleTempChaud1.preIt,inconfortThsansPresence.IntegraleTempFroid1.preIt,inconfortThsansPresence.booleanToReal.u,inconfortThsansPresence.booleanToReal1.u) * Number of discrete states: 17 (inconfortThavecPresence.IntegraleTempChaud.preIt,$whenCondition1,inconfortThavecPresence.IntegraleTempFroid.preIt,$whenCondition2,inconfortThavecPresence.IntegraleTempChaud1.preIt,$whenCondition3,inconfortThavecPresence.IntegraleTempFroid1.preIt,$whenCondition4,inconfortThsansPresence.IntegraleTempChaud.preIt,$whenCondition5,inconfortThsansPresence.IntegraleTempFroid.preIt,$whenCondition6,inconfortThsansPresence.IntegraleTempChaud1.preIt,$whenCondition7,inconfortThsansPresence.IntegraleTempFroid1.preIt,$whenCondition8,pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 2 * 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.002801/0.8925, allocations: 1.69 MB / 0.5998 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.8942, allocations: 1.011 MB / 0.6007 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8942, allocations: 0 / 0.6007 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8953, allocations: 0.7856 MB / 0.6015 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.8957, allocations: 50 kB / 0.6016 GB, free: 7.473 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.8985, allocations: 0.8616 MB / 0.6024 GB, free: 6.688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.8991, allocations: 0.8433 MB / 0.6032 GB, free: 5.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.8994, allocations: 39.27 kB / 0.6033 GB, free: 5.781 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.8998, allocations: 160.1 kB / 0.6034 GB, free: 5.734 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8998, allocations: 0 / 0.6034 GB, free: 5.734 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.9356, allocations: 8.126 MB / 0.6113 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004489/0.9362, allocations: 164.6 kB / 0.6115 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.672, allocations: 0 / 0.6115 GB, free: 13.53 MB / 0.4948 GB