Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 180.4 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008241/0.0008241, allocations: 79.42 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.317/0.3179, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.4657, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.9028, allocations: 132.1 MB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.903, allocations: 73.31 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.005533/0.9085, allocations: 2.108 MB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9086, allocations: 8 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.9086, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.9088, allocations: 175 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.9088, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.9088, allocations: 3.938 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.636e-05/0.9088, allocations: 11.73 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/0.9089, allocations: 33.69 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.9089, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.9089, allocations: 3.938 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9089, allocations: 4 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.9091, allocations: 129.5 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.9091, allocations: 38.3 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.9092, allocations: 8.859 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.9092, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.574e-05/0.9093, allocations: 54 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.9093, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001493/0.9094, allocations: 49.56 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.9095, allocations: 55.41 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.9095, allocations: 95.61 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.9096, allocations: 25.7 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.9096, allocations: 84.05 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.9096, allocations: 11.47 kB / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.9096, allocations: 0 / 1.017 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.9097, allocations: 314.8 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.9098, allocations: 7.875 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.9098, allocations: 35.41 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.9098, allocations: 11.06 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.9098, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.233e-05/0.9099, allocations: 62 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.9099, allocations: 4.094 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.91, allocations: 7.984 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.91, allocations: 4 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.91, allocations: 4 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.91, allocations: 7.938 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.9101, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9101, allocations: 4 kB / 1.017 GB, free: 3.234 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 5.648e-05/0.9101, allocations: 108.4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.9102, allocations: 7.906 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.9102, allocations: 11.95 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.9102, allocations: 3.938 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9102, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9102, allocations: 3.984 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.395e-05/0.9103, allocations: 141.4 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9103, allocations: 3.938 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.9103, allocations: 4 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9103, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.9103, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9103, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9104, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.381e-05/0.9105, allocations: 84.16 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002358/0.9107, allocations: 475 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.9107, allocations: 77.11 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.9108, allocations: 4.078 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.9108, allocations: 0.875 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.9108, allocations: 8 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.9108, allocations: 3 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.608e-05/0.9109, allocations: 79.28 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000789/0.9116, allocations: 38.89 kB / 1.018 GB, free: 2.133 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.0003462/0.912, allocations: 175 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.9121, allocations: 19.67 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9121, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.9121, allocations: 19.73 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.742e-05/0.9122, allocations: 3.938 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.9124, allocations: 67.22 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.9127, allocations: 0.6909 MB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of SimCode: time 2.2e-07/0.9127, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)