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: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [: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.488/1.488, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001017/0.001017, allocations: 192.2 kB / 366.3 MB, free: 1.914 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.28/1.28, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0009554/0.0009552, allocations: 102 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.028e-05/1.037e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5001, allocations: 116.3 MB / 0.9725 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.6554, allocations: 138.4 MB / 1.108 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.6556, allocations: 71.95 kB / 1.108 GB, free: 9.918 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: Performance of FrontEnd: time 0.006118/0.6618, allocations: 1.973 MB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.6618, allocations: 4 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB 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.0003351/0.6621, allocations: 385.7 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6622, allocations: 8.031 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.6622, allocations: 4.875 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.6623, allocations: 163.1 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6624, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.6624, allocations: 4.75 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.832e-05/0.6624, allocations: 11.94 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.54e-05/0.6625, allocations: 35.06 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6625, allocations: 8 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.6625, allocations: 0 / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6625, allocations: 3.984 kB / 1.11 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.6627, allocations: 134.3 kB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.6627, allocations: 22.58 kB / 1.11 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.6628, allocations: 12.86 kB / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.6628, allocations: 3.906 kB / 1.111 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.6629, allocations: 61.91 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6629, allocations: 0.6562 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001346/0.663, allocations: 41.69 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.663, allocations: 59.39 kB / 1.111 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.6631, allocations: 93 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.6631, allocations: 25.7 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.6632, allocations: 92.05 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.6632, allocations: 7.906 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.6632, allocations: 1.219 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6633, allocations: 318.8 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.6633, allocations: 4 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.6634, allocations: 31.44 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/0.6634, allocations: 19.86 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6634, allocations: 0 / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.266e-05/0.6635, allocations: 61.53 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6635, allocations: 8 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6635, allocations: 1.875 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6635, allocations: 0 / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.6636, allocations: 8 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.6636, allocations: 0 / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.6636, allocations: 8.031 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.6637, allocations: 9.031 kB / 1.111 GB, free: 6.137 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.434e-05/0.6638, allocations: 116.8 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.6638, allocations: 0 / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.6638, allocations: 4 kB / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6638, allocations: 4 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6638, allocations: 352 / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6638, allocations: 7.891 kB / 1.111 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.6639, allocations: 142.2 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6639, allocations: 0 / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.664, allocations: 4 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.664, allocations: 4 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.664, allocations: 4.734 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.664, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.664, allocations: 0 / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.5e-05/0.6641, allocations: 73.03 kB / 1.112 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.6641, allocations: 81.02 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6641, allocations: 0 / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.6642, allocations: 7.984 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.6642, allocations: 4 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.6642, allocations: 0.9375 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.314e-05/0.6643, allocations: 87.22 kB / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002374/0.6645, allocations: 51.92 kB / 1.112 GB, free: 5.465 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.000326/0.6648, allocations: 171.6 kB / 1.112 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.6649, allocations: 27.92 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6649, allocations: 1.406 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/0.6649, allocations: 12 kB / 1.112 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.551e-05/0.665, allocations: 0.5156 kB / 1.112 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.6652, allocations: 71.69 kB / 1.112 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6655, allocations: 0.6876 MB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6655, allocations: 4.188 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.003176/0.6687, allocations: 1.284 MB / 1.114 GB, free: 3.195 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (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 & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)