Running command: "" <> buildModelFMU(BuildingSystems.Technologies.SolarThermal.Examples.SingleCollectorTest,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_SolarThermal_Examples_SingleCollectorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.095/3.095, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.784e-05, allocations: 4 kB / 436.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1732, allocations: 77.74 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.705, allocations: 427.9 MB / 0.9202 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.706, allocations: 92.12 kB / 0.9203 GB, free: 102.6 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/BuildingSystems 2.0.0-beta/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 5.495/7.2, allocations: 1.041 GB / 1.961 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.743e-06/7.2, allocations: 0 / 1.961 GB, free: 72.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0007976/7.201, allocations: 114.2 kB / 1.961 GB, free: 71.98 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01516/7.216, allocations: 4.045 MB / 1.965 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/7.216, allocations: 12.02 kB / 1.965 GB, free: 67.89 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002227/7.219, allocations: 457 kB / 1.966 GB, free: 67.44 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007922/7.227, allocations: 0.9197 MB / 1.966 GB, free: 66.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01776/7.244, allocations: 5.391 MB / 1.972 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/7.245, allocations: 326.2 kB / 1.972 GB, free: 60.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/7.247, allocations: 319.8 kB / 1.972 GB, free: 60.53 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/7.26, allocations: 4.473 MB / 1.977 GB, free: 55.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/7.26, allocations: 7.938 kB / 1.977 GB, free: 55.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007132/7.261, allocations: 139.3 kB / 1.977 GB, free: 55.75 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/7.261, allocations: 142 kB / 1.977 GB, free: 55.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/7.275, allocations: 3.939 MB / 1.981 GB, free: 51.67 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/7.316, allocations: 20.33 MB / 2.001 GB, free: 30.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/7.327, allocations: 3.611 MB / 2.004 GB, free: 26.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003783/7.331, allocations: 1.59 MB / 2.006 GB, free: 25.11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003239/7.334, allocations: 2.773 MB / 2.008 GB, free: 21.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003874/7.338, allocations: 1.57 MB / 2.01 GB, free: 20.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=227): time 6.192e-06/7.338, allocations: 0 / 2.01 GB, free: 20.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=255): time 0.02645/7.364, allocations: 8.647 MB / 2.018 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/7.365, allocations: 132.8 kB / 2.019 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006369/7.371, allocations: 2.997 MB / 2.021 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007237/7.372, allocations: 76.89 kB / 2.022 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/7.374, allocations: 1.721 MB / 2.023 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/7.375, allocations: 0.8713 MB / 2.024 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009024/7.376, allocations: 52 kB / 2.024 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0005239/7.377, allocations: 419.5 kB / 2.025 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005993/7.383, allocations: 1.426 MB / 2.026 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006842/7.39, allocations: 1.993 MB / 2.028 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5158/7.905, allocations: 1.833 MB / 2.03 GB, free: 99.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/7.906, allocations: 4.438 kB / 2.03 GB, free: 99.99 MB / 0.6667 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01682/7.922, allocations: 4.386 MB / 2.034 GB, free: 99.79 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/7.924, allocations: 6.368 MB / 2.04 GB, free: 93.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-05/7.924, allocations: 16.61 kB / 2.04 GB, free: 93.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/7.927, allocations: 0.5532 MB / 2.041 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007465/7.934, allocations: 0.7378 MB / 2.041 GB, free: 93.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/7.954, allocations: 17.11 MB / 2.058 GB, free: 79.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/7.961, allocations: 378.5 kB / 2.058 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/7.962, allocations: 119 kB / 2.059 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/7.962, allocations: 3.719 kB / 2.059 GB, free: 79.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/7.977, allocations: 4.096 MB / 2.063 GB, free: 79.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/7.977, allocations: 15.62 kB / 2.063 GB, free: 79.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/7.979, allocations: 0.5371 MB / 2.063 GB, free: 79.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007632/7.987, allocations: 0.7445 MB / 2.064 GB, free: 79.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/8.007, allocations: 17.1 MB / 2.081 GB, free: 66.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/8.014, allocations: 366.8 kB / 2.081 GB, free: 66.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/8.015, allocations: 117.6 kB / 2.081 GB, free: 66.4 MB / 0.6667 GB Warning: Assuming fixed start value for the following 10 variables: collector.cp_solid[10].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[9].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[8].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[7].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[6].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[5].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[4].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[3].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[2].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[1].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 295 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00251/8.018, allocations: 466.8 kB / 2.081 GB, free: 66.29 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/8.02, allocations: 325.7 kB / 2.082 GB, free: 66.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/8.037, allocations: 4.262 MB / 2.086 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/8.037, allocations: 26.09 kB / 2.086 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/8.037, allocations: 6.281 kB / 2.086 GB, free: 65.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01221/8.049, allocations: 3.516 MB / 2.089 GB, free: 65.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03034/8.079, allocations: 9.319 MB / 2.099 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.272e-05/8.079, allocations: 9.156 kB / 2.099 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006605/8.086, allocations: 0.6227 MB / 2.099 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/8.088, allocations: 0.5392 MB / 2.1 GB, free: 64.62 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009097/8.089, allocations: 74.16 kB / 2.1 GB, free: 64.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/8.108, allocations: 17.06 MB / 2.116 GB, free: 51.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/8.108, allocations: 10.59 kB / 2.116 GB, free: 51.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/8.126, allocations: 7.036 MB / 2.123 GB, free: 49.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004169/8.13, allocations: 0.9139 MB / 2.124 GB, free: 49.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/8.132, allocations: 62.72 kB / 2.124 GB, free: 49.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006513/8.139, allocations: 311.9 kB / 2.125 GB, free: 49.06 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/8.14, allocations: 211.8 kB / 2.125 GB, free: 49.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008163/8.141, allocations: 92.64 kB / 2.125 GB, free: 49.05 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.007035/8.148, allocations: 2.456 MB / 2.127 GB, free: 48.89 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.595e-06/8.148, allocations: 0 / 2.127 GB, free: 48.89 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01453/8.162, allocations: 1.961 MB / 2.129 GB, free: 48.89 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 10 (collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T) * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02234/8.185, allocations: 10.26 MB / 2.139 GB, free: 44.65 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01971/8.205, allocations: 8.025 MB / 2.147 GB, free: 42.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/8.205, allocations: 4.219 kB / 2.147 GB, free: 42.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.007177/8.212, allocations: 3.006 MB / 2.15 GB, free: 41.44 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01643/8.228, allocations: 1.874 MB / 2.152 GB, free: 41.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/8.261, allocations: 9.109 MB / 2.161 GB, free: 39.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006151/8.267, allocations: 3.198 MB / 2.164 GB, free: 38.97 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.01697/8.284, allocations: 2.715 MB / 2.166 GB, free: 38.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004775/8.289, allocations: 1.478 MB / 2.168 GB, free: 38.92 MB / 0.6667 GB Notification: Performance of SimCode: time 1.944e-06/8.289, allocations: 0 / 2.168 GB, free: 38.92 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.34/8.629, allocations: 117.6 MB / 2.283 GB, free: 11.19 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000372/8.629, allocations: 234.8 kB / 2.283 GB, free: 10.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/16.17, allocations: 3.828 kB / 2.283 GB, free: 10.88 MB / 0.698 GB