Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.113/2.113, allocations: 253.1 MB / 260.4 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001657, allocations: 177.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 90.44 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.838e-06/9.999e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6989/0.8953, allocations: 131.9 MB / 1.017 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.8956, allocations: 65.66 kB / 1.017 GB, free: 6.379 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: time 0.009174/0.9048, allocations: 1.763 MB / 1.019 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.9048, allocations: 0 / 1.019 GB, free: 4.922 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.0004849/0.9053, allocations: 345.6 kB / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9054, allocations: 11.97 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.9054, allocations: 7.984 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9056, allocations: 162.1 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.9056, allocations: 3.906 kB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.9057, allocations: 7.938 kB / 1.019 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.386e-05/0.9057, allocations: 4 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/0.9058, allocations: 33.69 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9058, allocations: 0 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9059, allocations: 0 / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.9059, allocations: 4.625 kB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.9061, allocations: 138.1 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.061e-05/0.9062, allocations: 33.73 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.9062, allocations: 13.8 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.9062, allocations: 0 / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.784e-05/0.9063, allocations: 55.44 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.9063, allocations: 0 / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002103/0.9066, allocations: 45.38 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.9066, allocations: 51.41 kB / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.9067, allocations: 92.69 kB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.9067, allocations: 25.7 kB / 1.02 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.9068, allocations: 80.14 kB / 1.02 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.9068, allocations: 18.8 kB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.9069, allocations: 7.938 kB / 1.02 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.907, allocations: 317.2 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.907, allocations: 7.5 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.9071, allocations: 30.75 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.9071, allocations: 7.984 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9072, allocations: 4 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001401/0.9073, allocations: 60.41 kB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9073, allocations: 10.81 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9074, allocations: 8.453 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9074, allocations: 0 / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.9075, allocations: 11.98 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.9075, allocations: 3.938 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.9076, allocations: 4 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.9076, allocations: 0.875 kB / 1.02 GB, free: 3.18 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 0.0001022/0.9077, allocations: 113 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.9077, allocations: 3.906 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.9078, allocations: 7 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9078, allocations: 3.938 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.9078, allocations: 4 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9078, allocations: 0 / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.908, allocations: 130.1 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.908, allocations: 8 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.908, allocations: 0 / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.908, allocations: 4 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.9081, allocations: 3.984 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.9081, allocations: 4 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9081, allocations: 0 / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001777/0.9083, allocations: 75.47 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.9083, allocations: 81.11 kB / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.9084, allocations: 0 / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.9084, allocations: 0 / 1.021 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.9084, allocations: 7.984 kB / 1.021 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.9085, allocations: 4 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.736e-05/0.9085, allocations: 82.5 kB / 1.021 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000414/0.909, allocations: 43.92 kB / 1.021 GB, free: 2.547 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.0004743/0.9094, allocations: 154.6 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.9096, allocations: 27.62 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9096, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.9096, allocations: 11.59 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.9098, allocations: 3.938 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.9101, allocations: 75.16 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.9105, allocations: 0.6915 MB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of SimCode: time 3.126e-06/0.9105, allocations: 0 / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of Templates: time 0.004954/0.9154, allocations: 1.209 MB / 1.023 GB, free: 364 kB / 0.6355 GB