Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.0.0/package.mo): time 2.494/2.494, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001881/0.001881, allocations: 173.3 kB / 360.3 MB, free: 7.559 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.947/1.947, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001237/0.001236, allocations: 90.06 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3004/0.3017, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.9499, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/1.195, allocations: 137.2 MB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.195, allocations: 72.8 kB / 1.097 GB, free: 3.617 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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.009555/1.205, allocations: 2.112 MB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.205, allocations: 12 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/1.205, allocations: 7.891 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.205, allocations: 159.1 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.205, allocations: 4.703 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/1.205, allocations: 0 / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.385e-05/1.205, allocations: 8 kB / 1.099 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/1.205, allocations: 38.19 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.205, allocations: 2.031 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/1.205, allocations: 6.094 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.205, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/1.206, allocations: 137.1 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/1.206, allocations: 26.61 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/1.206, allocations: 12.86 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/1.206, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.206, allocations: 57.22 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/1.206, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002906/1.206, allocations: 53.53 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.206, allocations: 59.06 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/1.206, allocations: 85.89 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.206, allocations: 25.7 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/1.207, allocations: 88.7 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/1.207, allocations: 7.891 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/1.207, allocations: 1.219 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.207, allocations: 310.8 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/1.207, allocations: 10.78 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-05/1.207, allocations: 31.44 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/1.207, allocations: 7.984 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.207, allocations: 10.41 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/1.207, allocations: 62.27 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.207, allocations: 4 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.207, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.207, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.207, allocations: 12.64 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.207, allocations: 3.938 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/1.207, allocations: 9.156 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.207, allocations: 2.891 kB / 1.1 GB, free: 136 kB / 0.698 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.719e-05/1.207, allocations: 113.2 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/1.207, allocations: 4.5 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/1.208, allocations: 10.16 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.208, allocations: 4.047 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.208, allocations: 1.625 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.208, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/1.208, allocations: 130.2 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.208, allocations: 0.75 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/1.208, allocations: 4.594 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.208, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.208, allocations: 8.578 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.208, allocations: 4.75 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.208, allocations: 1.75 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000171/1.208, allocations: 74.19 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003873/1.208, allocations: 483.6 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/1.209, allocations: 82.97 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.209, allocations: 2.625 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/1.209, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/1.209, allocations: 8.672 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.209, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.043e-05/1.209, allocations: 76.39 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001186/1.21, allocations: 52.03 kB / 1.101 GB, free: 15 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.0004526/1.21, allocations: 160 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001284/1.211, allocations: 23.94 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.211, allocations: 0 / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/1.211, allocations: 12.19 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/1.211, allocations: 11.94 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/1.211, allocations: 75.19 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/1.211, allocations: 0.6876 MB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/1.211, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)