Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.348/4.348, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.075e-05, allocations: 2.906 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2153, allocations: 98.74 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.4709, allocations: 124 MB / 0.75 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4713, allocations: 71.95 kB / 0.7501 GB, free: 12.91 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.0092/0.4805, allocations: 2.08 MB / 0.7521 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4805, allocations: 0 / 0.7521 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4806, allocations: 0 / 0.7521 GB, free: 10.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004914/0.4811, allocations: 342.4 kB / 0.7524 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4811, allocations: 8.031 kB / 0.7524 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.4812, allocations: 11.94 kB / 0.7524 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4813, allocations: 171 kB / 0.7526 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4814, allocations: 0 / 0.7526 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4814, allocations: 4 kB / 0.7526 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.726e-05/0.4815, allocations: 0 / 0.7526 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.4816, allocations: 33.69 kB / 0.7526 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4816, allocations: 4 kB / 0.7526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4816, allocations: 0 / 0.7526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4816, allocations: 3.953 kB / 0.7526 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.4818, allocations: 134.2 kB / 0.7528 GB, free: 10 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.788e-05/0.4819, allocations: 30.66 kB / 0.7528 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.482, allocations: 12.84 kB / 0.7528 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.482, allocations: 7.938 kB / 0.7528 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.4822, allocations: 55.39 kB / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.4822, allocations: 0 / 0.7529 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002497/0.4825, allocations: 53.59 kB / 0.7529 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.4825, allocations: 63.34 kB / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.4826, allocations: 96.98 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.4827, allocations: 25.7 kB / 0.7531 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.4827, allocations: 84.08 kB / 0.7532 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4828, allocations: 7.906 kB / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-06/0.4828, allocations: 0 / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4829, allocations: 318.8 kB / 0.7535 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.483, allocations: 8 kB / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.483, allocations: 31.42 kB / 0.7535 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.4831, allocations: 12.61 kB / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4831, allocations: 0 / 0.7535 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.4832, allocations: 57.62 kB / 0.7536 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4833, allocations: 7.984 kB / 0.7536 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.4833, allocations: 4.094 kB / 0.7536 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4833, allocations: 4 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.4834, allocations: 7.938 kB / 0.7536 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.4834, allocations: 4 kB / 0.7536 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.4835, allocations: 3.906 kB / 0.7536 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.4835, allocations: 4 kB / 0.7536 GB, free: 9.031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.257e-05/0.4836, allocations: 104.9 kB / 0.7537 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001511/0.4838, allocations: 61.67 kB / 0.7538 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.4838, allocations: 4 kB / 0.7538 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.4838, allocations: 8.125 kB / 0.7538 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4839, allocations: 3.938 kB / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4839, allocations: 0 / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4839, allocations: 4 kB / 0.7538 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.484, allocations: 142.1 kB / 0.7539 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.484, allocations: 0 / 0.7539 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.4841, allocations: 4 kB / 0.754 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4841, allocations: 0 / 0.754 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.4841, allocations: 0 / 0.754 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4841, allocations: 0 / 0.754 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4841, allocations: 3.984 kB / 0.754 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.4843, allocations: 88.98 kB / 0.754 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4844, allocations: 81.11 kB / 0.7541 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.4844, allocations: 0 / 0.7541 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.4844, allocations: 3.984 kB / 0.7541 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.4845, allocations: 4.375 kB / 0.7541 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4845, allocations: 7.938 kB / 0.7541 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.4845, allocations: 83.2 kB / 0.7542 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4845, allocations: 4 kB / 0.7542 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003879/0.4849, allocations: 39.98 kB / 0.7543 GB, free: 8.309 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008801/0.4858, allocations: 0.6957 MB / 0.7549 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.486, allocations: 23.94 kB / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.486, allocations: 0 / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.486, allocations: 8 kB / 0.755 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4862, allocations: 9.688 kB / 0.755 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.4867, allocations: 113.5 kB / 0.7551 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.487, allocations: 0.6769 MB / 0.7557 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.487, allocations: 15.92 kB / 0.7558 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.4871, allocations: 7.438 kB / 0.7558 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of SimCode: time 9.51e-07/0.4871, allocations: 0 / 0.7558 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.5209, allocations: 1.569 MB / 0.7573 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.5213, allocations: 203.3 kB / 0.7575 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.01, allocations: 0 / 0.7575 GB, free: 4.91 MB / 0.6355 GB