Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001262/0.001262, allocations: 181.3 kB / 366.3 MB, free: 2.004 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.533/1.533, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0009293/0.0009292, allocations: 95.31 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2766/0.2776, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.9401, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/1.121, allocations: 138.4 MB / 1.108 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.121, allocations: 67.97 kB / 1.108 GB, free: 9.973 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.006996/1.128, allocations: 2.355 MB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.128, allocations: 8 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/1.128, allocations: 3.906 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/1.128, allocations: 167 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/1.128, allocations: 0 / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/1.128, allocations: 11.91 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.322e-05/1.128, allocations: 0 / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/1.128, allocations: 41.67 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.128, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.128, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/1.128, allocations: 0 / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/1.128, allocations: 136 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.533e-05/1.129, allocations: 29.17 kB / 1.111 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/1.129, allocations: 16.8 kB / 1.111 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/1.129, allocations: 3.906 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.658e-05/1.129, allocations: 55.55 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.129, allocations: 0 / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001524/1.129, allocations: 53.66 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.129, allocations: 55.41 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/1.129, allocations: 97 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.129, allocations: 25.7 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/1.129, allocations: 88.05 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/1.129, allocations: 11.89 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/1.129, allocations: 0 / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.129, allocations: 310.8 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/1.129, allocations: 8 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/1.129, allocations: 39.38 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/1.129, allocations: 7.984 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.129, allocations: 4 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.116e-05/1.129, allocations: 65.47 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.129, allocations: 5.031 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.129, allocations: 2.266 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.129, allocations: 4 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/1.13, allocations: 8.094 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/1.13, allocations: 3.984 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/1.13, allocations: 7.938 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.13, allocations: 0 / 1.111 GB, free: 6.176 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 6.845e-05/1.13, allocations: 112.8 kB / 1.112 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/1.13, allocations: 0 / 1.112 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/1.13, allocations: 12 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/1.13, allocations: 0 / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.13, allocations: 0.9375 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.13, allocations: 7.906 kB / 1.112 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/1.13, allocations: 134.2 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.13, allocations: 0 / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/1.13, allocations: 7.984 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.13, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.13, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.13, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.13, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.526e-05/1.13, allocations: 84.97 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002992/1.13, allocations: 478.4 kB / 1.112 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/1.13, allocations: 81.02 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/1.13, allocations: 4 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/1.13, allocations: 96 / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/1.13, allocations: 3.984 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.13, allocations: 4.25 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.668e-05/1.131, allocations: 91.28 kB / 1.112 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008122/1.131, allocations: 47.92 kB / 1.112 GB, free: 5.016 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.0004111/1.132, allocations: 175.7 kB / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/1.132, allocations: 23.98 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.132, allocations: 8.188 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/1.132, allocations: 8 kB / 1.113 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.8e-05/1.132, allocations: 11.84 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/1.132, allocations: 69.09 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.133, allocations: 0.6944 MB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.133, allocations: 0 / 1.113 GB, free: 3.996 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)