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.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.294/4.294, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6052/4.899, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/5.197, allocations: 98.72 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2734/5.471, allocations: 124 MB / 0.7494 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/5.471, allocations: 79.59 kB / 0.7495 GB, free: 13.54 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.01094/5.482, allocations: 2.349 MB / 0.7518 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/5.482, allocations: 12 kB / 0.7518 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/5.482, allocations: 4 kB / 0.7518 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/5.482, allocations: 170.9 kB / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/5.482, allocations: 0 / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/5.482, allocations: 4 kB / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.183e-05/5.482, allocations: 4 kB / 0.752 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/5.482, allocations: 37.67 kB / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/5.482, allocations: 0 / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/5.482, allocations: 7.938 kB / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/5.482, allocations: 0 / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/5.483, allocations: 150.1 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/5.483, allocations: 26.58 kB / 0.7522 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/5.483, allocations: 8.859 kB / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/5.483, allocations: 0 / 0.7522 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-05/5.483, allocations: 51.5 kB / 0.7522 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/5.483, allocations: 4 kB / 0.7522 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000174/5.483, allocations: 53.53 kB / 0.7523 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/5.483, allocations: 55.39 kB / 0.7523 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.24e-05/5.483, allocations: 97 kB / 0.7524 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/5.483, allocations: 25.7 kB / 0.7525 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/5.483, allocations: 80.14 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/5.483, allocations: 7.906 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/5.483, allocations: 3.938 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001813/5.484, allocations: 322.8 kB / 0.7529 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/5.484, allocations: 4 kB / 0.7529 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/5.484, allocations: 31.44 kB / 0.7529 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/5.484, allocations: 12.7 kB / 0.7529 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/5.484, allocations: 3.906 kB / 0.7529 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001347/5.484, allocations: 61.66 kB / 0.753 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/5.484, allocations: 8 kB / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/5.484, allocations: 0 / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/5.484, allocations: 0 / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/5.484, allocations: 11.94 kB / 0.753 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/5.484, allocations: 0 / 0.753 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/5.484, allocations: 8.156 kB / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/5.484, allocations: 0 / 0.753 GB, free: 9.723 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.17e-05/5.484, allocations: 118.1 kB / 0.7531 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/5.484, allocations: 7.969 kB / 0.7531 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/5.484, allocations: 4 kB / 0.7531 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/5.484, allocations: 4 kB / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/5.484, allocations: 0 / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/5.484, allocations: 0 / 0.7531 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/5.485, allocations: 138.2 kB / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.485, allocations: 0 / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/5.485, allocations: 3.906 kB / 0.7532 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/5.485, allocations: 4 kB / 0.7533 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/5.485, allocations: 3.984 kB / 0.7533 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/5.485, allocations: 3.938 kB / 0.7533 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/5.485, allocations: 4 kB / 0.7533 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000198/5.485, allocations: 77.11 kB / 0.7533 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003693/5.485, allocations: 477.4 kB / 0.7538 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/5.485, allocations: 77.11 kB / 0.7539 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/5.485, allocations: 7.938 kB / 0.7539 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/5.486, allocations: 4 kB / 0.7539 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/5.486, allocations: 8.078 kB / 0.7539 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/5.486, allocations: 0 / 0.7539 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.649e-05/5.486, allocations: 87.12 kB / 0.754 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001282/5.487, allocations: 51.92 kB / 0.754 GB, free: 8.559 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.0005681/5.488, allocations: 177.9 kB / 0.7542 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001486/5.488, allocations: 23.94 kB / 0.7542 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/5.488, allocations: 0 / 0.7542 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/5.488, allocations: 15.98 kB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/5.488, allocations: 4 kB / 0.7542 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/5.488, allocations: 67.78 kB / 0.7543 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/5.489, allocations: 0.6956 MB / 0.755 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of SimCode: time 1.213e-06/5.489, allocations: 0 / 0.755 GB, free: 7.527 MB / 0.6355 GB