Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.905/1.905, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009763/0.0009764, allocations: 184.6 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008784, allocations: 96.22 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.526/0.5269, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.7609, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5982/1.359, allocations: 148.8 MB / 1.351 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/1.359, allocations: 73.22 kB / 1.351 GB, free: 15.83 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.005884/1.365, allocations: 2.358 MB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/1.365, allocations: 13.72 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/1.365, allocations: 6.125 kB / 1.353 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.834e-05/1.365, allocations: 169.6 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.365, allocations: 1.406 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/1.365, allocations: 5.75 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.564e-05/1.365, allocations: 3.719 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.346e-05/1.366, allocations: 35.45 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/1.366, allocations: 0 / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/1.366, allocations: 0.5938 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.366, allocations: 1.328 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.822e-05/1.366, allocations: 133.9 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/1.366, allocations: 34.91 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/1.366, allocations: 14.98 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/1.366, allocations: 0.75 kB / 1.353 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/1.366, allocations: 59.31 kB / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.366, allocations: 0 / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001156/1.366, allocations: 50.2 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/1.366, allocations: 53.34 kB / 1.354 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/1.366, allocations: 95.12 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/1.366, allocations: 27.7 kB / 1.354 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/1.366, allocations: 86 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/1.366, allocations: 10.39 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/1.366, allocations: 3.938 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/1.366, allocations: 318.3 kB / 1.354 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/1.366, allocations: 11.61 kB / 1.354 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/1.366, allocations: 31.02 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.183e-05/1.366, allocations: 7.141 kB / 1.354 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.366, allocations: 3.938 kB / 1.354 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.991e-05/1.366, allocations: 62.14 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/1.366, allocations: 10.05 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.366, allocations: 1.312 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/1.366, allocations: 1.344 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/1.366, allocations: 7.922 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.366, allocations: 6.641 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/1.366, allocations: 5.281 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.366, allocations: 5.469 kB / 1.354 GB, free: 14.13 MB / 0.8073 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.098e-05/1.366, allocations: 108.2 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/1.367, allocations: 4.953 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/1.367, allocations: 10.09 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/1.367, allocations: 0 / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.367, allocations: 1.312 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.367, allocations: 0.7031 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/1.367, allocations: 138.5 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/1.367, allocations: 0 / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/1.367, allocations: 3.484 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.367, allocations: 0 / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/1.367, allocations: 1.828 kB / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.367, allocations: 0 / 1.354 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.367, allocations: 5.969 kB / 1.354 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.138e-05/1.367, allocations: 83.98 kB / 1.355 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001458/1.367, allocations: 475.8 kB / 1.355 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/1.367, allocations: 82.69 kB / 1.355 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.367, allocations: 1.75 kB / 1.355 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/1.367, allocations: 4 kB / 1.355 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/1.367, allocations: 7.344 kB / 1.355 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/1.367, allocations: 2.031 kB / 1.355 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.144e-05/1.367, allocations: 84.52 kB / 1.355 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007756/1.368, allocations: 47.66 kB / 1.355 GB, free: 13.15 MB / 0.8073 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.0002927/1.368, allocations: 184.8 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.092e-05/1.368, allocations: 22.53 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/1.368, allocations: 0 / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/1.368, allocations: 16.09 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.876e-05/1.368, allocations: 1.953 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/1.368, allocations: 72.91 kB / 1.355 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.369, allocations: 0.6911 MB / 1.356 GB, free: 28.26 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.369, allocations: 4.188 kB / 1.356 GB, free: 28.25 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)