Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.248/2.248, 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.001736/0.001736, allocations: 189.2 kB / 315.1 MB, free: 4.289 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.931/1.931, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001216/0.001216, allocations: 90.56 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5093/0.5105, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.7244, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/1.435, allocations: 132 MB / 1.012 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004029/1.435, allocations: 77.31 kB / 1.012 GB, free: 8.215 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.01304/1.448, allocations: 2.353 MB / 1.015 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/1.449, allocations: 11.94 kB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/1.449, allocations: 7.375 kB / 1.015 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/1.449, allocations: 167.7 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/1.449, allocations: 11.98 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/1.449, allocations: 0 / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.873e-05/1.449, allocations: 4 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/1.449, allocations: 33.69 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.449, allocations: 0 / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.449, allocations: 0 / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/1.449, allocations: 4 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/1.45, allocations: 137.3 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/1.45, allocations: 30.02 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/1.45, allocations: 24.48 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.45, allocations: 0 / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/1.45, allocations: 53.53 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/1.45, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003193/1.451, allocations: 49.22 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/1.451, allocations: 55.41 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.451, allocations: 96.19 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.451, allocations: 25.7 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.451, allocations: 84.12 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/1.451, allocations: 7.531 kB / 1.016 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/1.451, allocations: 4 kB / 1.016 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002274/1.451, allocations: 310.8 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/1.451, allocations: 7.5 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.505e-05/1.452, allocations: 39.5 kB / 1.016 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/1.452, allocations: 8 kB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.452, allocations: 0 / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/1.452, allocations: 60.53 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.452, allocations: 4 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.452, allocations: 8.094 kB / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.452, allocations: 0 / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.452, allocations: 11.98 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.452, allocations: 0 / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/1.452, allocations: 11.78 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/1.452, allocations: 7 kB / 1.016 GB, free: 4.789 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.000139/1.453, allocations: 105.1 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/1.453, allocations: 11.34 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/1.453, allocations: 4 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.453, allocations: 4 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.453, allocations: 96 / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.453, allocations: 11.97 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.453, allocations: 133.6 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.453, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/1.453, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/1.453, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.453, allocations: 7.906 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.453, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.453, allocations: 3.984 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002796/1.453, allocations: 79.84 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005855/1.454, allocations: 479.8 kB / 1.017 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/1.454, allocations: 85.09 kB / 1.017 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/1.454, allocations: 3.938 kB / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/1.454, allocations: 0 / 1.017 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/1.454, allocations: 11.94 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/1.454, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.563e-05/1.454, allocations: 79.28 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002461/1.457, allocations: 59.14 kB / 1.017 GB, free: 3.66 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.0007727/1.458, allocations: 160 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001799/1.458, allocations: 31.42 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.458, allocations: 0 / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/1.458, allocations: 11.38 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.458, allocations: 7.938 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/1.459, allocations: 79.19 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/1.459, allocations: 0.691 MB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/1.459, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB