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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 9.828 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.0009739/0.0009739, allocations: 181.2 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.2 MB / 0.6195 GB, free: 2.934 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 89.92 kB / 0.7326 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4378/0.4386, allocations: 121.4 MB / 0.8511 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.6199, allocations: 115.3 MB / 0.9638 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/1.091, allocations: 137.4 MB / 1.098 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/1.092, allocations: 68.47 kB / 1.098 GB, free: 44.43 MB / 0.7136 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: 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.004892/1.097, allocations: 2.112 MB / 1.1 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/1.097, allocations: 15.72 kB / 1.1 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/1.097, allocations: 3.906 kB / 1.1 GB, free: 43.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/1.097, allocations: 166 kB / 1.1 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.097, allocations: 0 / 1.1 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/1.097, allocations: 0 / 1.1 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.784e-05/1.097, allocations: 5.812 kB / 1.1 GB, free: 43.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.643e-05/1.097, allocations: 35.44 kB / 1.1 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/1.097, allocations: 0 / 1.1 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/1.097, allocations: 4.594 kB / 1.1 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/1.097, allocations: 0 / 1.1 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.739e-05/1.097, allocations: 137.2 kB / 1.1 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.576e-05/1.097, allocations: 31.89 kB / 1.1 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/1.097, allocations: 14.8 kB / 1.1 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/1.097, allocations: 0 / 1.1 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/1.097, allocations: 55.47 kB / 1.1 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.097, allocations: 0 / 1.1 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001255/1.097, allocations: 48.62 kB / 1.101 GB, free: 43.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/1.097, allocations: 55.16 kB / 1.101 GB, free: 43.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/1.097, allocations: 96.23 kB / 1.101 GB, free: 43.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/1.097, allocations: 29.58 kB / 1.101 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/1.097, allocations: 80.14 kB / 1.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/1.097, allocations: 5.406 kB / 1.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/1.097, allocations: 0 / 1.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.448e-05/1.097, allocations: 328.3 kB / 1.101 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/1.097, allocations: 5.125 kB / 1.101 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/1.097, allocations: 26.81 kB / 1.101 GB, free: 42.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/1.097, allocations: 13.91 kB / 1.101 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/1.097, allocations: 0 / 1.101 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.05e-05/1.098, allocations: 66.52 kB / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/1.098, allocations: 7.219 kB / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/1.098, allocations: 0 / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/1.098, allocations: 0 / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/1.098, allocations: 13.41 kB / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.098, allocations: 3.844 kB / 1.101 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/1.098, allocations: 11.03 kB / 1.101 GB, free: 42.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/1.098, allocations: 3.812 kB / 1.101 GB, free: 42.79 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 4.035e-05/1.098, allocations: 113.2 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/1.098, allocations: 3.812 kB / 1.101 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/1.098, allocations: 3.688 kB / 1.101 GB, free: 42.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.098, allocations: 3.906 kB / 1.101 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/1.098, allocations: 0 / 1.101 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.098, allocations: 3.328 kB / 1.101 GB, free: 42.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.559e-05/1.098, allocations: 131.8 kB / 1.101 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.098, allocations: 0 / 1.101 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/1.098, allocations: 3.719 kB / 1.101 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.098, allocations: 0 / 1.101 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/1.098, allocations: 4 kB / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.098, allocations: 0 / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.098, allocations: 0 / 1.101 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.505e-05/1.098, allocations: 80.56 kB / 1.102 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001437/1.098, allocations: 480.6 kB / 1.102 GB, free: 42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/1.098, allocations: 81.11 kB / 1.102 GB, free: 41.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/1.098, allocations: 3.906 kB / 1.102 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/1.098, allocations: 0 / 1.102 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/1.098, allocations: 3.719 kB / 1.102 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/1.098, allocations: 3.797 kB / 1.102 GB, free: 41.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.053e-05/1.098, allocations: 81.16 kB / 1.102 GB, free: 57.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007659/1.099, allocations: 43.94 kB / 1.102 GB, free: 57.81 MB / 0.7292 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.0002853/1.099, allocations: 180.2 kB / 1.102 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.95e-05/1.099, allocations: 20.5 kB / 1.102 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/1.099, allocations: 0 / 1.102 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/1.099, allocations: 17.89 kB / 1.102 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.591e-05/1.1, allocations: 3.938 kB / 1.102 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/1.1, allocations: 67.77 kB / 1.103 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.1, allocations: 0.6914 MB / 1.103 GB, free: 56.92 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.1, allocations: 0 / 1.103 GB, free: 56.92 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)