Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.0009501/0.0009499, allocations: 177.2 kB / 316 MB, free: 3.598 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.096/1.096, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 87.38 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3354/0.3362, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.5095, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.9688, allocations: 132.2 MB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.969, allocations: 71.64 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.00618/0.9752, allocations: 2.357 MB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.9752, allocations: 12 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.9753, allocations: 0 / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.9754, allocations: 171 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.9754, allocations: 0.8125 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.9754, allocations: 3.938 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.737e-05/0.9755, allocations: 7.938 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.795e-05/0.9755, allocations: 36.94 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.9755, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.9755, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.9756, allocations: 4 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.9757, allocations: 141.1 kB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.9757, allocations: 21.7 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.9758, allocations: 15.55 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.9758, allocations: 0 / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.9759, allocations: 61.5 kB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9759, allocations: 0 / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001234/0.976, allocations: 48.91 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.976, allocations: 55.39 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.9761, allocations: 99.69 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.9761, allocations: 25.7 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.9762, allocations: 84.08 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.9762, allocations: 11.91 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.9762, allocations: 0 / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.9763, allocations: 318.2 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.9763, allocations: 7.812 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.9763, allocations: 35.36 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/0.9764, allocations: 11.17 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9764, allocations: 4 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.963e-05/0.9764, allocations: 60.66 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.9765, allocations: 4 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9765, allocations: 4 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.9765, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.9765, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.9766, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.9766, allocations: 7.844 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.9766, allocations: 4 kB / 1.017 GB, free: 2.973 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 5.998e-05/0.9767, allocations: 120.2 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.9767, allocations: 3.906 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.9767, allocations: 4 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9767, allocations: 256 / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.9767, allocations: 7.938 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9767, allocations: 4 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.9768, allocations: 137.2 kB / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9768, allocations: 0 / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.9769, allocations: 0 / 1.018 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9769, allocations: 8 kB / 1.018 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.9769, allocations: 11.97 kB / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.9769, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9769, allocations: 0 / 1.018 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.034e-05/0.977, allocations: 75.97 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002086/0.9772, allocations: 486 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.9772, allocations: 77.11 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.9772, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.9773, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.9773, allocations: 8.078 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.9773, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.892e-05/0.9773, allocations: 82.72 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007783/0.9781, allocations: 55.39 kB / 1.018 GB, free: 1.844 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.0003059/0.9784, allocations: 168.1 kB / 1.019 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.9785, allocations: 23.5 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9785, allocations: 0 / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.9786, allocations: 11.98 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.959e-05/0.9787, allocations: 3.188 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.9789, allocations: 76.59 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.9791, allocations: 0.7005 MB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.9791, allocations: 3.938 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)