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.ConvertRadiation.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.ConvertRadiation,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.379/4.379, allocations: 433.2 MB / 440.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.237e-05, allocations: 4.406 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2031, allocations: 98.73 MB / 0.6289 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.4326, allocations: 126.3 MB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.433, allocations: 91.92 kB / 0.7523 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03159/0.4646, allocations: 7.384 MB / 0.7596 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4646, allocations: 4 kB / 0.7596 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.4647, allocations: 4 kB / 0.7596 GB, free: 3.062 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007849/0.4655, allocations: 0.4969 MB / 0.7601 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4655, allocations: 8.031 kB / 0.7601 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.4656, allocations: 31.66 kB / 0.7601 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.4661, allocations: 266.5 kB / 0.7603 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.4661, allocations: 8 kB / 0.7604 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.4662, allocations: 8 kB / 0.7604 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/0.4678, allocations: 0.7686 MB / 0.7611 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.4683, allocations: 195.7 kB / 0.7613 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4684, allocations: 0 / 0.7613 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4684, allocations: 0 / 0.7613 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4684, allocations: 4 kB / 0.7613 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.4699, allocations: 0.5554 MB / 0.7618 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.4704, allocations: 215.3 kB / 0.762 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.4707, allocations: 97.36 kB / 0.7621 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.4708, allocations: 23.97 kB / 0.7622 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.4712, allocations: 173.2 kB / 0.7623 GB, free: 60 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/0.4712, allocations: 0 / 0.7623 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0008607/0.4721, allocations: 283.2 kB / 0.7626 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.4722, allocations: 106.8 kB / 0.7627 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.4726, allocations: 246.1 kB / 0.7629 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.4727, allocations: 25.7 kB / 0.763 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.4728, allocations: 120.8 kB / 0.7631 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.473, allocations: 110.5 kB / 0.7632 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.473, allocations: 3.938 kB / 0.7632 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4732, allocations: 342.8 kB / 0.7635 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.4734, allocations: 91.92 kB / 0.7636 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.4737, allocations: 122.4 kB / 0.7637 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.4741, allocations: 115.9 kB / 0.7638 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4741, allocations: 0 / 0.7638 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008604/0.475, allocations: 365.5 kB / 0.7642 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.475, allocations: 35.73 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.475, allocations: 8.016 kB / 0.7642 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4751, allocations: 3.953 kB / 0.7642 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.4755, allocations: 59.91 kB / 0.7643 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.4755, allocations: 4 kB / 0.7643 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.4758, allocations: 27.69 kB / 0.7643 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.4758, allocations: 15.98 kB / 0.7643 GB, free: 13.93 MB / 0.6511 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 (35): * Single equations (assignments): 34 * 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.0001261/0.476, allocations: 114.3 kB / 0.7644 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007407/0.4767, allocations: 281.2 kB / 0.7647 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4768, allocations: 31.67 kB / 0.7647 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.478, allocations: 389 kB / 0.7651 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.478, allocations: 4 kB / 0.7651 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.478, allocations: 3.984 kB / 0.7651 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4781, allocations: 0 / 0.7651 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.4785, allocations: 297.7 kB / 0.7654 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4785, allocations: 0 / 0.7654 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4789, allocations: 63.91 kB / 0.7655 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4789, allocations: 4 kB / 0.7655 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.479, allocations: 7.984 kB / 0.7655 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.479, allocations: 7.953 kB / 0.7655 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.479, allocations: 0 / 0.7655 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007437/0.4798, allocations: 314.6 kB / 0.7658 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.48, allocations: 156.7 kB / 0.7659 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.4801, allocations: 4 kB / 0.7659 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.4803, allocations: 11.98 kB / 0.7659 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.4804, allocations: 27.92 kB / 0.766 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.4804, allocations: 12 kB / 0.766 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002709/0.4807, allocations: 200.6 kB / 0.7662 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4807, allocations: 0 / 0.7662 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004636/0.4812, allocations: 71.91 kB / 0.7662 GB, free: 11.89 MB / 0.6511 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 (33): * Single equations (assignments): 32 * 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.00178/0.483, allocations: 1.047 MB / 0.7673 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006555/0.4837, allocations: 291.2 kB / 0.7675 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4837, allocations: 0 / 0.7675 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.484, allocations: 132.4 kB / 0.7677 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.4843, allocations: 12.62 kB / 0.7677 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4856, allocations: 452.5 kB / 0.7681 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.486, allocations: 0.7691 MB / 0.7689 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006061/0.4866, allocations: 145.9 kB / 0.769 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.4869, allocations: 91.39 kB / 0.7691 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/0.4869, allocations: 4 kB / 0.7691 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6564/1.143, allocations: 4.641 MB / 0.7736 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.144, allocations: 207.5 kB / 0.7738 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.908, allocations: 0 / 0.7738 GB, free: 3.973 MB / 0.6511 GB