Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [: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.261/2.261, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.001639/0.001638, allocations: 185 kB / 319.6 MB, free: 3.336 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.997/1.997, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001287/0.001287, allocations: 79.97 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.927e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6676/0.8962, allocations: 132 MB / 1.017 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.8965, allocations: 70.2 kB / 1.017 GB, free: 6.086 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: Performance of FrontEnd: time 0.01018/0.9067, allocations: 1.978 MB / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.9067, allocations: 4 kB / 1.019 GB, free: 4.445 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.0004705/0.9072, allocations: 381.6 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9073, allocations: 12.03 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.9073, allocations: 0 / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.9075, allocations: 167 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.9075, allocations: 3.984 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.9075, allocations: 3.938 kB / 1.02 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.027e-05/0.9076, allocations: 8 kB / 1.02 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.9077, allocations: 36.38 kB / 1.02 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9077, allocations: 6.375 kB / 1.02 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9077, allocations: 0 / 1.02 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.9078, allocations: 0 / 1.02 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.9079, allocations: 137.5 kB / 1.02 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.9081, allocations: 25.95 kB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.9082, allocations: 16.98 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.9082, allocations: 0 / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.9083, allocations: 54.41 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.9083, allocations: 0 / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.9085, allocations: 52.52 kB / 1.02 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.9086, allocations: 54.28 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.9087, allocations: 102.1 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.9087, allocations: 25.7 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.9088, allocations: 84.12 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.9088, allocations: 11.47 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.9089, allocations: 0 / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.909, allocations: 310.8 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.909, allocations: 7.438 kB / 1.02 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.9091, allocations: 43.23 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.9092, allocations: 4 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9092, allocations: 0 / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.9093, allocations: 62.19 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9094, allocations: 8 kB / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.9094, allocations: 0 / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.9094, allocations: 0 / 1.021 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.9095, allocations: 20.02 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9095, allocations: 0 / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.9096, allocations: 11.84 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9096, allocations: 3.188 kB / 1.021 GB, free: 2.656 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.0001096/0.9097, allocations: 108.9 kB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.9098, allocations: 7.844 kB / 1.021 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.9098, allocations: 4 kB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9098, allocations: 4 kB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.9098, allocations: 0.875 kB / 1.021 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.9099, allocations: 7.984 kB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.91, allocations: 134 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.91, allocations: 0 / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.9101, allocations: 0 / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.9101, allocations: 4 kB / 1.021 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.9101, allocations: 4.156 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.9101, allocations: 4 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9101, allocations: 0 / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001979/0.9103, allocations: 80.83 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.9104, allocations: 80.92 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.9105, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.9105, allocations: 0 / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.9106, allocations: 7.938 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.9106, allocations: 0 / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.512e-05/0.9107, allocations: 83.27 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005528/0.9113, allocations: 55.7 kB / 1.021 GB, free: 2.012 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.0005364/0.9119, allocations: 176.8 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.912, allocations: 26.75 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9121, allocations: 4 kB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.9121, allocations: 11.94 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.9122, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.9126, allocations: 79.06 kB / 1.021 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.9129, allocations: 0.6915 MB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.913, allocations: 0 / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of Templates: time 0.005289/0.9183, allocations: 1.275 MB / 1.023 GB, free: 15.73 MB / 0.6511 GB