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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.07/4.07, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5697/4.64, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/4.895, allocations: 98.72 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/5.172, allocations: 123.9 MB / 0.7493 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004426/5.172, allocations: 83.58 kB / 0.7494 GB, free: 13.65 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: 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.01029/5.183, allocations: 2.101 MB / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/5.183, allocations: 12 kB / 0.7515 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/5.183, allocations: 0 / 0.7515 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/5.183, allocations: 178.9 kB / 0.7516 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/5.183, allocations: 0 / 0.7516 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/5.183, allocations: 4 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.341e-05/5.183, allocations: 4 kB / 0.7516 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/5.183, allocations: 37.67 kB / 0.7517 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/5.183, allocations: 4 kB / 0.7517 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/5.183, allocations: 0 / 0.7517 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/5.183, allocations: 0 / 0.7517 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/5.183, allocations: 138.1 kB / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/5.183, allocations: 26.52 kB / 0.7518 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/5.183, allocations: 13 kB / 0.7518 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/5.183, allocations: 3.984 kB / 0.7519 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/5.184, allocations: 55.41 kB / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/5.184, allocations: 0 / 0.7519 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003096/5.184, allocations: 45.69 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/5.184, allocations: 55.34 kB / 0.752 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/5.184, allocations: 92.91 kB / 0.7521 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/5.184, allocations: 25.7 kB / 0.7521 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/5.184, allocations: 92.14 kB / 0.7522 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/5.184, allocations: 3.906 kB / 0.7522 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/5.184, allocations: 0 / 0.7522 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001812/5.185, allocations: 318.8 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/5.185, allocations: 4 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/5.185, allocations: 35.38 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/5.185, allocations: 11.98 kB / 0.7526 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/5.185, allocations: 0 / 0.7526 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/5.185, allocations: 61.53 kB / 0.7526 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/5.185, allocations: 8 kB / 0.7526 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/5.185, allocations: 0 / 0.7526 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/5.185, allocations: 0 / 0.7526 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/5.185, allocations: 11.94 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/5.185, allocations: 0 / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/5.185, allocations: 4 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/5.185, allocations: 4.094 kB / 0.7526 GB, free: 10.11 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 9.89e-05/5.185, allocations: 117.6 kB / 0.7528 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/5.185, allocations: 0 / 0.7528 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/5.185, allocations: 7.688 kB / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/5.185, allocations: 0 / 0.7528 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/5.185, allocations: 4 kB / 0.7528 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/5.185, allocations: 3.938 kB / 0.7528 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/5.186, allocations: 138.1 kB / 0.7529 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/5.186, allocations: 288 / 0.7529 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/5.186, allocations: 4 kB / 0.7529 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/5.186, allocations: 0 / 0.7529 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/5.186, allocations: 4 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/5.186, allocations: 4 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/5.186, allocations: 0 / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001734/5.186, allocations: 80.94 kB / 0.753 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003792/5.186, allocations: 481.5 kB / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/5.186, allocations: 81.11 kB / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/5.186, allocations: 0 / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/5.186, allocations: 0 / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/5.186, allocations: 0 / 0.7535 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/5.186, allocations: 8.031 kB / 0.7535 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.693e-05/5.186, allocations: 79.28 kB / 0.7536 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001206/5.188, allocations: 47.84 kB / 0.7537 GB, free: 8.969 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.0005522/5.188, allocations: 168.3 kB / 0.7538 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001431/5.188, allocations: 23.98 kB / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.188, allocations: 0 / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/5.189, allocations: 15.94 kB / 0.7539 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/5.189, allocations: 11.69 kB / 0.7539 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/5.189, allocations: 71.77 kB / 0.7539 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/5.189, allocations: 0.6876 MB / 0.7546 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/5.189, allocations: 0 / 0.7546 GB, free: 7.945 MB / 0.6355 GB