Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001003/0.001003, allocations: 177.2 kB / 316 MB, free: 3.562 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.095/1.095, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0007994/0.0007995, allocations: 96.66 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.327/0.3278, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.489, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.9773, allocations: 132.2 MB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.9776, allocations: 71.97 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.006433/0.984, allocations: 2.357 MB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.9841, allocations: 12 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.9841, allocations: 0 / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9843, allocations: 170.4 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.9843, allocations: 3.938 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.9843, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.445e-05/0.9843, allocations: 4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.288e-05/0.9844, allocations: 37.62 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.9844, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.9844, allocations: 7.984 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9845, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.9846, allocations: 137.4 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/0.9847, allocations: 26.45 kB / 1.017 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.9847, allocations: 8.859 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.9847, allocations: 3.984 kB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/0.9848, allocations: 57.5 kB / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.9848, allocations: 0 / 1.017 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000135/0.9849, allocations: 53.41 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.985, allocations: 55.39 kB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.985, allocations: 100.2 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.9851, allocations: 29.58 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.9851, allocations: 80.14 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.9851, allocations: 7.906 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.9851, allocations: 4 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.9852, allocations: 317.8 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.9852, allocations: 7.812 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.9853, allocations: 27.44 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.9853, allocations: 11.67 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9853, allocations: 4 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.116e-05/0.9854, allocations: 61.16 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9854, allocations: 8 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9854, allocations: 3.938 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.9854, allocations: 0 / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.9855, allocations: 8 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.9855, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.9855, allocations: 7.844 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.9856, allocations: 10.36 kB / 1.017 GB, free: 3.188 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 8.754e-05/0.9857, allocations: 109.1 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.9857, allocations: 7.844 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.9857, allocations: 11.88 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9857, allocations: 4 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9857, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9857, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.9858, allocations: 130.2 kB / 1.018 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9858, allocations: 0 / 1.018 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.9858, allocations: 3.938 kB / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.9859, allocations: 7.906 kB / 1.018 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.9859, allocations: 7.984 kB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.9859, allocations: 0 / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9859, allocations: 0 / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.137e-05/0.986, allocations: 74.66 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002161/0.9862, allocations: 481.7 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.9862, allocations: 77.11 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.9863, allocations: 3.938 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.9863, allocations: 256 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.9863, allocations: 11.58 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.9863, allocations: 4 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.936e-05/0.9864, allocations: 79.28 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008226/0.9872, allocations: 59.02 kB / 1.018 GB, free: 2.066 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.0003212/0.9875, allocations: 174.5 kB / 1.019 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.9876, allocations: 27.67 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.9876, allocations: 0 / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.9876, allocations: 11.12 kB / 1.019 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.591e-05/0.9877, allocations: 3.266 kB / 1.019 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.9879, allocations: 79.03 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.9881, allocations: 0.6954 MB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9881, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)