Running command: "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.197/3.197, allocations: 325.3 MB / 337.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.885e-05, allocations: 7.359 kB / 414.9 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1664, allocations: 74.41 MB / 489.3 MB, free: 11.51 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6344/0.8008, allocations: 106.7 MB / 0.582 GB, free: 8.836 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.8011, allocations: 59.41 kB / 0.5821 GB, free: 8.809 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/CombiTable1Ds_ForStepMeteo.mo:90:5-91:64:writable] Warning: Unused input variable tableAvailable in function .BuildSysPro.BoundaryConditions.Weather.CombiTable1Ds_ForStepMeteo$meteofile$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/CombiTable1Ds_ForStepMeteo.mo:63:5-64:64:writable] Warning: Unused input variable tableAvailable in function .BuildSysPro.BoundaryConditions.Weather.CombiTable1Ds_ForStepMeteo$meteofile$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/Functions/CalculPs.mo:3:3-3:29:writable] Warning: Invalid public variable Tmin, function variables that are not input/output must be protected. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/Functions/CalculPs.mo:4:3-4:28:writable] Warning: Invalid public variable Tmax, function variables that are not input/output must be protected. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/Functions/CalculPs.mo:3:3-3:29:writable] Warning: Invalid public variable Tmin, function variables that are not input/output must be protected. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildSysPro 3.3.0/BoundaryConditions/Weather/Functions/CalculPs.mo:4:3-4:28:writable] Warning: Invalid public variable Tmax, function variables that are not input/output must be protected. Notification: Performance of FrontEnd - DAE generated: time 0.06684/0.868, allocations: 14.84 MB / 0.5965 GB, free: 12.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.868, allocations: 0 / 0.5965 GB, free: 12.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.118e-05/0.8681, allocations: 16 kB / 0.5966 GB, free: 12.49 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002487/0.8706, allocations: 0.9307 MB / 0.5975 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.8707, allocations: 8.031 kB / 0.5975 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003126/0.871, allocations: 114.4 kB / 0.5976 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.8714, allocations: 98.95 kB / 0.5977 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.8726, allocations: 481.9 kB / 0.5981 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.8729, allocations: 93.31 kB / 0.5982 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.8731, allocations: 58.38 kB / 0.5983 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.875, allocations: 0.7254 MB / 0.599 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.8751, allocations: 0 / 0.599 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8752, allocations: 24.75 kB / 0.599 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.8753, allocations: 16 kB / 0.599 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.8772, allocations: 0.7005 MB / 0.5997 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00663/0.8839, allocations: 2.717 MB / 0.6024 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.8859, allocations: 0.6512 MB / 0.603 GB, free: 7.035 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.887, allocations: 399.1 kB / 0.6034 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009312/0.888, allocations: 0.5143 MB / 0.6039 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.8881, allocations: 42.7 kB / 0.6039 GB, free: 6.125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=62): time 4.268e-06/0.8881, allocations: 0 / 0.6039 GB, free: 6.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=62): time 0.004079/0.8922, allocations: 0.8679 MB / 0.6048 GB, free: 5.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8923, allocations: 140.9 kB / 0.6049 GB, free: 5.289 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.8932, allocations: 421.5 kB / 0.6053 GB, free: 4.965 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.8935, allocations: 36.52 kB / 0.6053 GB, free: 4.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.8937, allocations: 316.1 kB / 0.6056 GB, free: 4.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.894, allocations: 203.4 kB / 0.6058 GB, free: 4.527 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.8941, allocations: 7.5 kB / 0.6058 GB, free: 4.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.8943, allocations: 369.6 kB / 0.6062 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.8951, allocations: 258.8 kB / 0.6064 GB, free: 4.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.8959, allocations: 353.4 kB / 0.6068 GB, free: 3.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/0.8967, allocations: 336 kB / 0.6071 GB, free: 3.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8967, allocations: 0 / 0.6071 GB, free: 3.523 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003978/0.9007, allocations: 0.963 MB / 0.608 GB, free: 2.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.9009, allocations: 65.39 kB / 0.6081 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003786/0.9047, allocations: 0.8996 MB / 0.609 GB, free: 2.016 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.9055, allocations: 250.2 kB / 0.6092 GB, free: 1.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.9066, allocations: 119.7 kB / 0.6093 GB, free: 1.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/0.9125, allocations: 2.009 MB / 0.6113 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.9136, allocations: 82.8 kB / 0.6114 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.9137, allocations: 23.89 kB / 0.6114 GB, free: 15.7 MB / 0.4948 GB Warning: Assuming fixed start value for the following 3 variables: PI1.x:VARIABLE(start = PI1.x_start ) "State of block" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" nominal = 300.0 ) "Temperature of the element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004306/0.9142, allocations: 195.7 kB / 0.6116 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.9144, allocations: 59.33 kB / 0.6116 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.9185, allocations: 0.9937 MB / 0.6126 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.9186, allocations: 4 kB / 0.6126 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.9186, allocations: 8 kB / 0.6126 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.9187, allocations: 7.922 kB / 0.6126 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.9205, allocations: 0.7634 MB / 0.6134 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003856/0.9244, allocations: 0.8778 MB / 0.6142 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.9256, allocations: 99.19 kB / 0.6143 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/0.9264, allocations: 247.3 kB / 0.6146 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.9266, allocations: 18.67 kB / 0.6146 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.932, allocations: 2.011 MB / 0.6166 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.932, allocations: 4.031 kB / 0.6166 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.9376, allocations: 1.465 MB / 0.618 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/0.9383, allocations: 222.6 kB / 0.6182 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.9384, allocations: 18 kB / 0.6182 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.9394, allocations: 34.33 kB / 0.6182 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.9397, allocations: 66.77 kB / 0.6183 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-05/0.9398, allocations: 23.55 kB / 0.6183 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006727/0.9405, allocations: 336.1 kB / 0.6187 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9405, allocations: 0 / 0.6187 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001553/0.9421, allocations: 268 kB / 0.6189 GB, free: 9.324 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007338/0.9495, allocations: 2.431 MB / 0.6213 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.9531, allocations: 1.033 MB / 0.6223 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.9531, allocations: 0 / 0.6223 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002275/0.9554, allocations: 0.6454 MB / 0.6229 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.9562, allocations: 75.27 kB / 0.623 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.9607, allocations: 1.382 MB / 0.6243 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.9615, allocations: 0.9546 MB / 0.6253 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008107/0.9624, allocations: 127.3 kB / 0.6254 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.9629, allocations: 247.7 kB / 0.6256 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of SimCode: time 3.336e-06/0.9629, allocations: 0 / 0.6256 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06781/1.031, allocations: 14.63 MB / 0.6399 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/1.031, allocations: 247.5 kB / 0.6402 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.997, allocations: 4 kB / 0.6402 GB, free: 4.801 MB / 0.5105 GB