Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.421/1.421, allocations: 285.5 MB / 292.8 MB, free: 9.828 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.0009591/0.0009591, allocations: 185.2 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.1 MB / 0.6195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008332/0.0008333, allocations: 91.27 kB / 0.7326 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3919/0.3927, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.5547, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/1.042, allocations: 137.5 MB / 1.098 GB, free: 39.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/1.042, allocations: 67.66 kB / 1.098 GB, free: 39.75 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.005858/1.048, allocations: 2.354 MB / 1.1 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/1.048, allocations: 12.25 kB / 1.1 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.048, allocations: 3.906 kB / 1.1 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/1.048, allocations: 163 kB / 1.101 GB, free: 39.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/1.048, allocations: 4 kB / 1.101 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/1.048, allocations: 3.75 kB / 1.101 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.937e-05/1.048, allocations: 5.531 kB / 1.101 GB, free: 39.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.227e-05/1.048, allocations: 46.69 kB / 1.101 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/1.048, allocations: 0 / 1.101 GB, free: 39.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/1.048, allocations: 3.938 kB / 1.101 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/1.048, allocations: 0 / 1.101 GB, free: 39.01 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.465e-05/1.048, allocations: 132 kB / 1.101 GB, free: 38.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.199e-05/1.048, allocations: 32.38 kB / 1.101 GB, free: 38.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/1.048, allocations: 11.11 kB / 1.101 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/1.048, allocations: 0 / 1.101 GB, free: 38.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.048, allocations: 55.69 kB / 1.101 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.048, allocations: 0 / 1.101 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001233/1.048, allocations: 52.69 kB / 1.101 GB, free: 38.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.048, allocations: 58.83 kB / 1.101 GB, free: 38.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/1.049, allocations: 94.75 kB / 1.101 GB, free: 38.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/1.049, allocations: 25.7 kB / 1.101 GB, free: 38.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/1.049, allocations: 82.45 kB / 1.101 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.049, allocations: 17.61 kB / 1.101 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/1.049, allocations: 0 / 1.101 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/1.049, allocations: 313.3 kB / 1.101 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/1.049, allocations: 3.75 kB / 1.101 GB, free: 38.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/1.049, allocations: 40.94 kB / 1.101 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.046e-05/1.049, allocations: 6.375 kB / 1.101 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.049, allocations: 0 / 1.101 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.389e-05/1.049, allocations: 64.53 kB / 1.102 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.049, allocations: 6.641 kB / 1.102 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.049, allocations: 4.031 kB / 1.102 GB, free: 38.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.049, allocations: 11.41 kB / 1.102 GB, free: 38.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/1.049, allocations: 8.844 kB / 1.102 GB, free: 38.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.049, allocations: 0 / 1.102 GB, free: 38.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/1.049, allocations: 7.531 kB / 1.102 GB, free: 38.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.049, allocations: 0 / 1.102 GB, free: 38.05 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 4.673e-05/1.049, allocations: 105 kB / 1.102 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/1.049, allocations: 10.39 kB / 1.102 GB, free: 37.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/1.049, allocations: 11.89 kB / 1.102 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/1.049, allocations: 4 kB / 1.102 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.049, allocations: 0 / 1.102 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.049, allocations: 0 / 1.102 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.049e-05/1.049, allocations: 136 kB / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.049, allocations: 0 / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/1.049, allocations: 7.812 kB / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/1.049, allocations: 0 / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.049, allocations: 0 / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.049, allocations: 5.297 kB / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.049, allocations: 0 / 1.102 GB, free: 37.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.642e-05/1.049, allocations: 83.84 kB / 1.102 GB, free: 37.69 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001554/1.049, allocations: 481.7 kB / 1.102 GB, free: 37.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/1.049, allocations: 80.86 kB / 1.102 GB, free: 37.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/1.05, allocations: 3.906 kB / 1.102 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/1.05, allocations: 3.938 kB / 1.102 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/1.05, allocations: 7.75 kB / 1.102 GB, free: 37.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/1.05, allocations: 3.844 kB / 1.102 GB, free: 37.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.027e-05/1.05, allocations: 81.66 kB / 1.103 GB, free: 37.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008087/1.05, allocations: 46.31 kB / 1.103 GB, free: 37.06 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.0003082/1.051, allocations: 184 kB / 1.103 GB, free: 36.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/1.051, allocations: 31.88 kB / 1.103 GB, free: 36.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.051, allocations: 0 / 1.103 GB, free: 36.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/1.051, allocations: 10.19 kB / 1.103 GB, free: 36.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.976e-05/1.051, allocations: 6.172 kB / 1.103 GB, free: 36.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/1.051, allocations: 69.41 kB / 1.103 GB, free: 36.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/1.051, allocations: 0.6962 MB / 1.104 GB, free: 52.16 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.051, allocations: 0 / 1.104 GB, free: 52.16 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)