Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001059/0.00106, allocations: 187.8 kB / 366.3 MB, free: 2.035 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.561/1.561, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0009361/0.0009361, allocations: 95.73 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2868/0.2878, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7192/1.007, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/1.184, allocations: 138.3 MB / 1.108 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/1.184, allocations: 75.89 kB / 1.108 GB, free: 10.1 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.006344/1.191, allocations: 2.11 MB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/1.191, allocations: 8 kB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/1.191, allocations: 5.344 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.191, allocations: 163.1 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/1.191, allocations: 4 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/1.191, allocations: 0 / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.569e-05/1.191, allocations: 8.562 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/1.191, allocations: 42.98 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.191, allocations: 0.9375 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.191, allocations: 3.906 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.191, allocations: 0.5625 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/1.191, allocations: 134.8 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/1.192, allocations: 24.33 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/1.192, allocations: 16.98 kB / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/1.192, allocations: 0 / 1.11 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.298e-05/1.192, allocations: 56.56 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/1.192, allocations: 0 / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/1.192, allocations: 53.53 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.192, allocations: 57.56 kB / 1.11 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/1.192, allocations: 85.62 kB / 1.111 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.192, allocations: 29.7 kB / 1.111 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/1.192, allocations: 84.83 kB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.192, allocations: 8.516 kB / 1.111 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.192, allocations: 0 / 1.111 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.192, allocations: 315.4 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/1.192, allocations: 8.719 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/1.192, allocations: 28.84 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/1.192, allocations: 15.98 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.192, allocations: 3.906 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/1.193, allocations: 57.62 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.193, allocations: 7.938 kB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.193, allocations: 0 / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.193, allocations: 4 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/1.193, allocations: 5.219 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.193, allocations: 10.59 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/1.193, allocations: 11.98 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.193, allocations: 4 kB / 1.111 GB, free: 6.574 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 9.278e-05/1.193, allocations: 108.9 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.193, allocations: 0 / 1.111 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/1.193, allocations: 11.59 kB / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.193, allocations: 0 / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.193, allocations: 0 / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.193, allocations: 0 / 1.111 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/1.193, allocations: 130.2 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.193, allocations: 4 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/1.193, allocations: 3.938 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.193, allocations: 5.781 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.193, allocations: 288 / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.193, allocations: 7.906 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.193, allocations: 3.984 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001861/1.193, allocations: 77.11 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003043/1.194, allocations: 481.4 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/1.194, allocations: 84.95 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/1.194, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/1.194, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/1.194, allocations: 4 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.194, allocations: 4.078 kB / 1.112 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.477e-05/1.194, allocations: 79.28 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008218/1.195, allocations: 47.94 kB / 1.112 GB, free: 5.434 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.0004303/1.195, allocations: 163 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000111/1.195, allocations: 26.28 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.195, allocations: 0 / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.252e-05/1.195, allocations: 12 kB / 1.112 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/1.195, allocations: 4.188 kB / 1.112 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/1.196, allocations: 75.75 kB / 1.112 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/1.196, allocations: 0.6876 MB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/1.196, allocations: 0 / 1.113 GB, free: 4.43 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)