Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 181.3 kB / 361.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 0.6195 GB, free: 10.36 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 90.25 kB / 0.7326 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/8.025e-06, allocations: 4 kB / 0.8511 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6397, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.8119, allocations: 137.4 MB / 1.098 GB, free: 2.801 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.8121, allocations: 73.34 kB / 1.098 GB, free: 2.73 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.005709/0.8179, allocations: 1.769 MB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.8179, allocations: 2.75 kB / 1.1 GB, free: 0.9961 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.0003415/0.8182, allocations: 346.3 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8183, allocations: 8.531 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.8183, allocations: 7.906 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8185, allocations: 169.4 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.8185, allocations: 3.875 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.8185, allocations: 0 / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.174e-05/0.8186, allocations: 4 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.8186, allocations: 34.44 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8187, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8187, allocations: 7.844 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.8187, allocations: 4 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.8188, allocations: 130.2 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.8189, allocations: 27.62 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.819, allocations: 15.27 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.819, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/0.8191, allocations: 52.06 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8191, allocations: 0.7188 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.8193, allocations: 57.52 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.8193, allocations: 56.31 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.8194, allocations: 93.09 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.8194, allocations: 29.7 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.8195, allocations: 80.14 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.8195, allocations: 4.75 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.8195, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.8196, allocations: 323.5 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.8196, allocations: 6.688 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.8197, allocations: 27.44 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.8197, allocations: 12.64 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8197, allocations: 7.281 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.204e-05/0.8198, allocations: 57.62 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.8198, allocations: 6.656 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8199, allocations: 0 / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8199, allocations: 4.703 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.243e-05/0.8199, allocations: 11.88 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.82, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.82, allocations: 5.969 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.82, allocations: 4 kB / 1.101 GB, free: 15.25 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 7.036e-05/0.8201, allocations: 116.9 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.8201, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.8201, allocations: 12.47 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8202, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8202, allocations: 0.6562 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8202, allocations: 0.9844 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.8203, allocations: 134.9 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.8203, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.8203, allocations: 6.562 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.8203, allocations: 4.594 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.8203, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8203, allocations: 8.531 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8203, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001117/0.8205, allocations: 74.27 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.8205, allocations: 81.83 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.8205, allocations: 0.9375 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.8206, allocations: 3.125 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.8206, allocations: 5.312 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.8206, allocations: 3.984 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.68e-05/0.8206, allocations: 83.28 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002553/0.8209, allocations: 36.44 kB / 1.102 GB, free: 14.62 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.0003518/0.8213, allocations: 167.6 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.8214, allocations: 32.02 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8214, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.8214, allocations: 8 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.561e-05/0.8215, allocations: 3.938 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.8217, allocations: 72.52 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.822, allocations: 0.6876 MB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.822, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.003488/0.8255, allocations: 1.207 MB / 1.104 GB, free: 12.45 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)