Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.487/2.487, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001649/0.001649, allocations: 190.6 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.2 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 89.55 kB / 0.67 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4908/0.4922, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.7476, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7326/1.48, allocations: 132 MB / 1.012 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.481, allocations: 69.27 kB / 1.012 GB, free: 8.188 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01093/1.492, allocations: 2.352 MB / 1.015 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.492, allocations: 15.98 kB / 1.015 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/1.492, allocations: 7.125 kB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/1.492, allocations: 170.9 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/1.492, allocations: 0 / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/1.492, allocations: 0 / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.371e-05/1.492, allocations: 4 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/1.492, allocations: 37.5 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.492, allocations: 8 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/1.492, allocations: 0 / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.492, allocations: 0 / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/1.492, allocations: 141.6 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/1.493, allocations: 26.52 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/1.493, allocations: 12.48 kB / 1.015 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/1.493, allocations: 0 / 1.015 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/1.493, allocations: 58 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/1.493, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002/1.493, allocations: 49.47 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.493, allocations: 51.41 kB / 1.015 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/1.493, allocations: 99.98 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.493, allocations: 25.7 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/1.493, allocations: 80.14 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/1.493, allocations: 15.22 kB / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-06/1.493, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.493, allocations: 318.8 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/1.493, allocations: 7.812 kB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/1.494, allocations: 34.48 kB / 1.016 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/1.494, allocations: 11.98 kB / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.494, allocations: 0 / 1.016 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000144/1.494, allocations: 65 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.494, allocations: 8.938 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.494, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.494, allocations: 0 / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/1.494, allocations: 11.44 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.494, allocations: 4.688 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/1.494, allocations: 11.84 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/1.494, allocations: 4.094 kB / 1.016 GB, free: 4.75 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 0.00012/1.494, allocations: 105 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/1.494, allocations: 11.83 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/1.494, allocations: 4 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.494, allocations: 7.562 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.494, allocations: 0 / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.494, allocations: 3.938 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/1.494, allocations: 133.7 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.494, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/1.494, allocations: 4 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.495, allocations: 4 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.495, allocations: 3.906 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.495, allocations: 3.984 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.495, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002417/1.495, allocations: 80.03 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003474/1.495, allocations: 475.1 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/1.495, allocations: 84.08 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/1.495, allocations: 0 / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/1.495, allocations: 4 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/1.495, allocations: 0 / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/1.495, allocations: 4.078 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.226e-05/1.495, allocations: 82.22 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001243/1.497, allocations: 59.08 kB / 1.017 GB, free: 3.629 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.0005401/1.497, allocations: 180 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001376/1.497, allocations: 19.62 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.497, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/1.497, allocations: 15.38 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/1.498, allocations: 6.234 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/1.498, allocations: 79.64 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/1.498, allocations: 0.6954 MB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.498, allocations: 0 / 1.018 GB, free: 2.613 MB / 0.6355 GB