Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.291/2.291, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 189.2 kB / 360.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 90.03 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.487e-06, allocations: 0 / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6057, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2118/0.8176, allocations: 137.2 MB / 1.097 GB, free: 3.535 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.8179, allocations: 75.61 kB / 1.097 GB, free: 3.465 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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: time 0.01058/0.8285, allocations: 1.764 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8286, allocations: 0 / 1.099 GB, free: 1.734 MB / 0.698 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.000554/0.8291, allocations: 349.8 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.8292, allocations: 8.531 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.8293, allocations: 3.906 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.8294, allocations: 167.1 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.8295, allocations: 2.484 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.8295, allocations: 0 / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.285e-05/0.8296, allocations: 4 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.8297, allocations: 45.38 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8297, allocations: 0 / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.8297, allocations: 4.609 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8298, allocations: 4 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.83, allocations: 126.2 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.8301, allocations: 26.58 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.8301, allocations: 12.98 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.8302, allocations: 1.188 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.8303, allocations: 54.02 kB / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.8303, allocations: 0 / 1.099 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002698/0.8306, allocations: 57.53 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8307, allocations: 52.56 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.8308, allocations: 95.98 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.8308, allocations: 28.55 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.8309, allocations: 80.14 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.8309, allocations: 15.88 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.8309, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.8311, allocations: 315.6 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.8311, allocations: 4 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.764e-05/0.8312, allocations: 30.42 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.8313, allocations: 16.97 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8313, allocations: 4.719 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001844/0.8315, allocations: 58.19 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8315, allocations: 9.969 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8315, allocations: 0 / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/0.8316, allocations: 8.641 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.8317, allocations: 4.5 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.8318, allocations: 4 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.8318, allocations: 5.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.8319, allocations: 9.375 kB / 1.1 GB, free: 15.98 MB / 0.7136 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.0001019/0.832, allocations: 110.3 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.832, allocations: 4 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.8321, allocations: 9.781 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8321, allocations: 1.156 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8321, allocations: 0.5625 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8321, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.8323, allocations: 135 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8323, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.8324, allocations: 8.469 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8324, allocations: 0.5 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8324, allocations: 2.125 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8324, allocations: 4.406 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8324, allocations: 0.6562 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002139/0.8327, allocations: 77.95 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.8327, allocations: 85.11 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.8328, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.8328, allocations: 4 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.8329, allocations: 3.984 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.8329, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.717e-05/0.833, allocations: 80.88 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000625/0.8336, allocations: 39.94 kB / 1.101 GB, free: 15.35 MB / 0.7136 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.0005957/0.8342, allocations: 170.6 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.8344, allocations: 20 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8344, allocations: 0.5312 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.8345, allocations: 16.47 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.8347, allocations: 10.95 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.8351, allocations: 69.81 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.8355, allocations: 0.6915 MB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.8355, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.006648/0.8422, allocations: 1.2 MB / 1.103 GB, free: 13.19 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)