Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.242/3.242, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.701e-05, allocations: 4 kB / 436.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 77.73 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6548/0.8262, allocations: 119.4 MB / 0.6189 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.8266, allocations: 83.95 kB / 0.619 GB, free: 1.535 MB / 0.4948 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 0.0928/0.9194, allocations: 19.28 MB / 0.6378 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9194, allocations: 0 / 0.6378 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.099e-05/0.9195, allocations: 12 kB / 0.6378 GB, free: 14.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002425/0.9219, allocations: 0.8451 MB / 0.6387 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.922, allocations: 12.03 kB / 0.6387 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/0.9222, allocations: 82.53 kB / 0.6387 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.9269, allocations: 494.7 kB / 0.6392 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.9282, allocations: 444.8 kB / 0.6396 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.9284, allocations: 122 kB / 0.6398 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.9285, allocations: 40 kB / 0.6398 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.9303, allocations: 0.614 MB / 0.6404 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.9303, allocations: 3.953 kB / 0.6404 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.9305, allocations: 24 kB / 0.6404 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.9305, allocations: 12 kB / 0.6404 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.9324, allocations: 0.6501 MB / 0.6411 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00713/0.9396, allocations: 1.97 MB / 0.643 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.9433, allocations: 0.7861 MB / 0.6438 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/0.9443, allocations: 314.1 kB / 0.6441 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.9476, allocations: 2.32 MB / 0.6463 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.9489, allocations: 390.4 kB / 0.6467 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=55): time 5.209e-06/0.9489, allocations: 0 / 0.6467 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55): time 0.002082/0.951, allocations: 0.6353 MB / 0.6473 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.9511, allocations: 111.3 kB / 0.6474 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/0.9521, allocations: 443.1 kB / 0.6478 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.9522, allocations: 37.7 kB / 0.6479 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.9525, allocations: 264.9 kB / 0.6481 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.9528, allocations: 185.3 kB / 0.6483 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.9529, allocations: 16 kB / 0.6483 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.9531, allocations: 358.8 kB / 0.6487 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.9539, allocations: 261 kB / 0.6489 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.9548, allocations: 357.5 kB / 0.6493 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.9556, allocations: 267.2 kB / 0.6495 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9556, allocations: 0 / 0.6495 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002172/0.9578, allocations: 0.7091 MB / 0.6502 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.9579, allocations: 4 kB / 0.6502 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.9579, allocations: 0 / 0.6502 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/0.958, allocations: 11.98 kB / 0.6502 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001804/0.9598, allocations: 183.9 kB / 0.6504 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.9598, allocations: 4 kB / 0.6504 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.9614, allocations: 135.4 kB / 0.6505 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.9615, allocations: 23.98 kB / 0.6506 GB, free: 248 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (68): * Single equations (assignments): 68 * 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.0002498/0.9618, allocations: 140.8 kB / 0.6507 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.962, allocations: 59.3 kB / 0.6507 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.9649, allocations: 0.8481 MB / 0.6516 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.965, allocations: 4 kB / 0.6516 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.965, allocations: 4 kB / 0.6516 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.965, allocations: 3.984 kB / 0.6516 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.9691, allocations: 1.609 MB / 0.6532 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.9691, allocations: 0 / 0.6532 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.9709, allocations: 175.8 kB / 0.6533 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.9709, allocations: 4 kB / 0.6533 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/0.971, allocations: 19.92 kB / 0.6533 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.9711, allocations: 7.984 kB / 0.6534 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.9711, allocations: 4 kB / 0.6534 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.9732, allocations: 0.7945 MB / 0.6541 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.9738, allocations: 236.1 kB / 0.6544 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.974, allocations: 12 kB / 0.6544 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.9754, allocations: 99.8 kB / 0.6545 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.9755, allocations: 44.5 kB / 0.6545 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.9757, allocations: 23.97 kB / 0.6545 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007166/0.9764, allocations: 345.2 kB / 0.6549 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9764, allocations: 0 / 0.6549 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001268/0.9777, allocations: 275.5 kB / 0.6551 GB, free: 11.46 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004263/0.982, allocations: 1.793 MB / 0.6569 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.9841, allocations: 0.6457 MB / 0.6575 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.9841, allocations: 0 / 0.6575 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.9851, allocations: 365.9 kB / 0.6579 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.9858, allocations: 53.83 kB / 0.6579 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.9894, allocations: 1.017 MB / 0.6589 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.9901, allocations: 0.889 MB / 0.6598 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001325/0.9915, allocations: 140.1 kB / 0.6599 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/0.9922, allocations: 223.3 kB / 0.6601 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of SimCode: time 1.483e-06/0.9922, allocations: 4 kB / 0.6601 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05518/1.047, allocations: 13.85 MB / 0.6736 GB, free: 8.586 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/1.048, allocations: 211.5 kB / 0.6738 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/3.99, allocations: 3.938 kB / 0.6738 GB, free: 8.359 MB / 0.5573 GB