Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 289.8 MB / 297 MB, free: 6.738 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.001086/0.001086, allocations: 173.3 kB / 366.3 MB, free: 2.02 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.473/1.473, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.001135/0.001134, allocations: 78.25 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3065/0.3077, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/1.003, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/1.185, allocations: 138.4 MB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.185, allocations: 76.55 kB / 1.108 GB, free: 9.973 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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.006893/1.192, allocations: 2.357 MB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.192, allocations: 8.875 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/1.192, allocations: 7.906 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/1.192, allocations: 163.6 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/1.192, allocations: 0 / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/1.192, allocations: 8.562 kB / 1.11 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.953e-05/1.192, allocations: 4 kB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/1.192, allocations: 45.67 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/1.193, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.193, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.193, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/1.193, allocations: 138.3 kB / 1.111 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/1.193, allocations: 25.83 kB / 1.111 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/1.193, allocations: 16.8 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/1.193, allocations: 11.91 kB / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/1.193, allocations: 47.5 kB / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.193, allocations: 0 / 1.111 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001625/1.193, allocations: 45.69 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.193, allocations: 51.41 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/1.193, allocations: 98.58 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.193, allocations: 33.7 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/1.193, allocations: 88.05 kB / 1.111 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/1.193, allocations: 3.906 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/1.193, allocations: 0 / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.194, allocations: 322.8 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/1.194, allocations: 4 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/1.194, allocations: 31.38 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/1.194, allocations: 15.98 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.194, allocations: 0 / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.119e-05/1.194, allocations: 65.47 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.194, allocations: 7.125 kB / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/1.194, allocations: 0 / 1.111 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.194, allocations: 4 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/1.194, allocations: 4 kB / 1.111 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.194, allocations: 8.094 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/1.194, allocations: 3.938 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/1.194, allocations: 4.75 kB / 1.111 GB, free: 6.18 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 0.0001164/1.194, allocations: 116.8 kB / 1.112 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/1.194, allocations: 4 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/1.194, allocations: 4 kB / 1.112 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/1.194, allocations: 0 / 1.112 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.194, allocations: 0 / 1.112 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.194, allocations: 3.906 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/1.194, allocations: 142.2 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.194, allocations: 0.9062 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/1.194, allocations: 8 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.194, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/1.194, allocations: 3.984 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.194, allocations: 0 / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.194, allocations: 4 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001087/1.194, allocations: 73.06 kB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00033/1.195, allocations: 486.2 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.195, allocations: 85.02 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.195, allocations: 0 / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/1.195, allocations: 0 / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/1.195, allocations: 4.078 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.195, allocations: 4 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.814e-05/1.195, allocations: 83.28 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008597/1.196, allocations: 51.92 kB / 1.112 GB, free: 5.016 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.0004256/1.196, allocations: 171.5 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.349e-05/1.197, allocations: 23.94 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.197, allocations: 4 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/1.197, allocations: 12.17 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/1.197, allocations: 15.75 kB / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/1.197, allocations: 71.72 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.197, allocations: 0.6915 MB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.197, allocations: 0 / 1.113 GB, free: 3.996 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)