Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.328/4.328, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.069e-05, allocations: 4 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6698, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.236/0.9058, allocations: 127 MB / 0.7529 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.9062, allocations: 83.95 kB / 0.753 GB, free: 464 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.9422, allocations: 7.953 MB / 0.7608 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9423, allocations: 0 / 0.7608 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.9423, allocations: 4 kB / 0.7608 GB, free: 8.488 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000964/0.9433, allocations: 0.52 MB / 0.7613 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.9433, allocations: 12.02 kB / 0.7613 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007281/0.9441, allocations: 71.55 kB / 0.7614 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.9446, allocations: 275.6 kB / 0.7616 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.9447, allocations: 12 kB / 0.7616 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.9447, allocations: 8 kB / 0.7617 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001762/0.9465, allocations: 0.7842 MB / 0.7624 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.9471, allocations: 208.1 kB / 0.7626 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.9472, allocations: 0 / 0.7626 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.9472, allocations: 11.88 kB / 0.7626 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9472, allocations: 4 kB / 0.7626 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.9491, allocations: 0.5945 MB / 0.7632 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/0.95, allocations: 323.9 kB / 0.7635 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.9503, allocations: 105.4 kB / 0.7636 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.9504, allocations: 24.25 kB / 0.7636 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.9509, allocations: 179.4 kB / 0.7638 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.306e-06/0.951, allocations: 0 / 0.7638 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.0009655/0.9519, allocations: 300.9 kB / 0.7641 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.952, allocations: 106.8 kB / 0.7642 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.9525, allocations: 263.1 kB / 0.7645 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.9526, allocations: 25.7 kB / 0.7645 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.9527, allocations: 120.8 kB / 0.7646 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.9528, allocations: 114.3 kB / 0.7647 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.9529, allocations: 0 / 0.7647 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9531, allocations: 338.8 kB / 0.765 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.9534, allocations: 95.97 kB / 0.7651 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.9538, allocations: 142.3 kB / 0.7653 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.9542, allocations: 119.7 kB / 0.7654 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.9542, allocations: 0 / 0.7654 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00101/0.9553, allocations: 381.6 kB / 0.7657 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.9553, allocations: 33.7 kB / 0.7658 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9554, allocations: 0 / 0.7658 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.9554, allocations: 0 / 0.7658 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.956, allocations: 75.89 kB / 0.7658 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.956, allocations: 0 / 0.7658 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.9564, allocations: 31.86 kB / 0.7659 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.9564, allocations: 11.98 kB / 0.7659 GB, free: 3.012 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timCon.tNext,timCon.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0001514/0.9566, allocations: 108.9 kB / 0.766 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000879/0.9575, allocations: 321.1 kB / 0.7663 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.9576, allocations: 23.72 kB / 0.7663 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.959, allocations: 417 kB / 0.7667 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.9591, allocations: 11.92 kB / 0.7667 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9591, allocations: 0 / 0.7667 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.9591, allocations: 0 / 0.7667 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.9596, allocations: 317.7 kB / 0.767 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.9597, allocations: 7.953 kB / 0.767 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.9602, allocations: 67.89 kB / 0.7671 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.9602, allocations: 0 / 0.7671 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.9603, allocations: 12 kB / 0.7671 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9603, allocations: 0 / 0.7671 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9603, allocations: 0 / 0.7671 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008863/0.9612, allocations: 342.3 kB / 0.7674 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.9615, allocations: 172.6 kB / 0.7676 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.9616, allocations: 0 / 0.7676 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.9619, allocations: 11.98 kB / 0.7676 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.962, allocations: 27.97 kB / 0.7676 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.9621, allocations: 15.98 kB / 0.7677 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003368/0.9624, allocations: 205.6 kB / 0.7679 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9624, allocations: 0 / 0.7679 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005008/0.963, allocations: 67.91 kB / 0.7679 GB, free: 0.832 MB / 0.6355 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,timCon.tNext) * Number of discrete states: 1 (timCon.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.00196/0.9649, allocations: 1.083 MB / 0.769 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007847/0.9657, allocations: 319.3 kB / 0.7693 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.9658, allocations: 0 / 0.7693 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.9661, allocations: 139.7 kB / 0.7694 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.9665, allocations: 18.55 kB / 0.7694 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.968, allocations: 480.3 kB / 0.7699 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.9685, allocations: 0.7772 MB / 0.7706 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007768/0.9692, allocations: 159.1 kB / 0.7708 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.9695, allocations: 91.39 kB / 0.7709 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.001e-06/0.9695, allocations: 0 / 0.7709 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/1.374, allocations: 4.938 MB / 0.7757 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000372/1.375, allocations: 199.8 kB / 0.7759 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/4.193, allocations: 0 / 0.7759 GB, free: 8.512 MB / 0.6511 GB