Running command: "" <> buildModelFMU(BuildSysPro.Systems.HVAC.Production.Boiler.Boiler,fileNamePrefix="BuildSysPro_BuildSysPro_Systems_HVAC_Production_Boiler_Boiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.193/3.193, allocations: 325.3 MB / 337.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.888e-05/3.893e-05, allocations: 4 kB / 414.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 74.41 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6516/0.8175, allocations: 103 MB / 0.5784 GB, free: 12.43 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001431/0.8177, allocations: 48.3 kB / 0.5784 GB, free: 12.41 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BaseClasses/Media/OLD_THERMHYGAERO/AirFunctions/Psat.mo:3:3-3:24:writable] Warning: Invalid public variable AH, function variables that are not input/output must be protected. Notification: Performance of FrontEnd - DAE generated: time 0.02829/0.846, allocations: 5.843 MB / 0.5841 GB, free: 7.41 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8461, allocations: 0 / 0.5841 GB, free: 7.41 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.8461, allocations: 4 kB / 0.5841 GB, free: 7.406 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001154/0.8473, allocations: 0.5527 MB / 0.5847 GB, free: 6.812 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.8473, allocations: 8.031 kB / 0.5847 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.8475, allocations: 71.94 kB / 0.5848 GB, free: 6.738 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.8476, allocations: 35.62 kB / 0.5848 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.8479, allocations: 214.2 kB / 0.585 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.8479, allocations: 11.94 kB / 0.585 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.848, allocations: 30.98 kB / 0.585 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.8486, allocations: 223.6 kB / 0.5852 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.8487, allocations: 7.375 kB / 0.5852 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.8487, allocations: 7.812 kB / 0.5853 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8487, allocations: 7.938 kB / 0.5853 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.8492, allocations: 161.5 kB / 0.5854 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.8549, allocations: 1.09 MB / 0.5865 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.8556, allocations: 364.8 kB / 0.5868 GB, free: 4.875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.8561, allocations: 327.4 kB / 0.5871 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.8561, allocations: 0 / 0.5871 GB, free: 4.754 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.8566, allocations: 161.9 kB / 0.5873 GB, free: 4.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.8566, allocations: 0 / 0.5873 GB, free: 4.613 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.001031/0.8576, allocations: 332.2 kB / 0.5876 GB, free: 4.328 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.8577, allocations: 96.66 kB / 0.5877 GB, free: 4.219 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.858, allocations: 193.6 kB / 0.5879 GB, free: 4.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.8581, allocations: 29.7 kB / 0.5879 GB, free: 4.016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.8582, allocations: 173.2 kB / 0.5881 GB, free: 3.871 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.8584, allocations: 81.58 kB / 0.5882 GB, free: 3.801 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.8584, allocations: 15.56 kB / 0.5882 GB, free: 3.789 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8586, allocations: 330.1 kB / 0.5885 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.8588, allocations: 78.06 kB / 0.5886 GB, free: 3.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.8592, allocations: 142.5 kB / 0.5887 GB, free: 3.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.8595, allocations: 144 kB / 0.5888 GB, free: 3.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8595, allocations: 0 / 0.5888 GB, free: 3.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001028/0.8606, allocations: 366.3 kB / 0.5892 GB, free: 2.852 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.8607, allocations: 49.17 kB / 0.5892 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8607, allocations: 4 kB / 0.5892 GB, free: 2.797 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.8609, allocations: 19.61 kB / 0.5893 GB, free: 2.777 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1162:9-1162:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/0.8639, allocations: 195.4 kB / 0.5894 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.8658, allocations: 1.915 MB / 0.5913 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.8665, allocations: 55.34 kB / 0.5914 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.8666, allocations: 18.86 kB / 0.5914 GB, free: 0.5195 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: NbCycle:DISCRETE(start = 0 fixed = false ) type: Integer CpEau.T:VARIABLE(min = max(max(0.0, 0.0), max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real TimeF:DISCRETE(start = 0.0 unit = "s" fixed = false protected = true ) "End of the boiler cycle" type: Real Time0:DISCRETE(start = 0.0 unit = "s" fixed = false protected = true ) "Beginning of the boiler cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.NbCycle,NbCycle,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.Time0,Time0,$PRE.TimeF,TimeF) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003413/0.8669, allocations: 202.8 kB / 0.5916 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.867, allocations: 31.66 kB / 0.5916 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.8684, allocations: 406 kB / 0.592 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.8685, allocations: 4 kB / 0.592 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8685, allocations: 4 kB / 0.592 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8685, allocations: 0 / 0.592 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.8703, allocations: 0.7378 MB / 0.5927 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.8703, allocations: 4 kB / 0.5927 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.8705, allocations: 23.86 kB / 0.5928 GB, free: 15.22 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1162:9-1162:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of postOpt tearingSystem (simulation): time 0.0007129/0.8713, allocations: 84.64 kB / 0.5928 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.8713, allocations: 11.48 kB / 0.5928 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.8731, allocations: 1.861 MB / 0.5947 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8732, allocations: 4.188 kB / 0.5947 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.875, allocations: 0.6068 MB / 0.5953 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8751, allocations: 100.6 kB / 0.5954 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.8752, allocations: 11.94 kB / 0.5954 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.8758, allocations: 47.33 kB / 0.5954 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8759, allocations: 22.91 kB / 0.5954 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.876, allocations: 8 kB / 0.5954 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.8762, allocations: 151.2 kB / 0.5956 GB, free: 12.35 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8762, allocations: 0 / 0.5956 GB, free: 12.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006635/0.8769, allocations: 126.6 kB / 0.5957 GB, free: 12.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CpEau.T) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,Time0,TimeF,NbCycle) * Number of discrete states: 1 (NbCycle) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.8792, allocations: 1.205 MB / 0.5969 GB, free: 11.12 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1162:9-1162:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of simCode: created initialization part: time 0.002886/0.8821, allocations: 0.7945 MB / 0.5977 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8821, allocations: 0 / 0.5977 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.8832, allocations: 0.5834 MB / 0.5982 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.8836, allocations: 31.92 kB / 0.5983 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.8853, allocations: 0.499 MB / 0.5987 GB, free: 9.754 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.8858, allocations: 0.7677 MB / 0.5995 GB, free: 8.961 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.8859, allocations: 21.55 kB / 0.5995 GB, free: 8.941 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.8861, allocations: 76.84 kB / 0.5996 GB, free: 8.914 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8861, allocations: 0 / 0.5996 GB, free: 8.914 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.9212, allocations: 6.268 MB / 0.6057 GB, free: 2.742 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.9216, allocations: 193.4 kB / 0.6059 GB, free: 2.504 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.691, allocations: 0 / 0.6059 GB, free: 2.504 MB / 490.7 MB