Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.485/1.485, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001137/0.001138, allocations: 176.4 kB / 366.3 MB, free: 1.977 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.506/1.506, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0009207/0.0009207, allocations: 95.03 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2847/0.2857, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.9886, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/1.181, allocations: 140.2 MB / 1.11 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.181, allocations: 81.33 kB / 1.11 GB, free: 8.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0104/1.192, allocations: 3.046 MB / 1.113 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.192, allocations: 11.98 kB / 1.113 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/1.192, allocations: 11.91 kB / 1.113 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.192, allocations: 174.9 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/1.192, allocations: 4 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/1.192, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/1.192, allocations: 20 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/1.192, allocations: 53.67 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.192, allocations: 4 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.192, allocations: 3.984 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/1.192, allocations: 4 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/1.193, allocations: 277.3 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.193, allocations: 45.02 kB / 1.113 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/1.193, allocations: 24.98 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/1.193, allocations: 0 / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.193, allocations: 63.39 kB / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.193, allocations: 0 / 1.113 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002903/1.193, allocations: 86.98 kB / 1.113 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.194, allocations: 51.41 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/1.194, allocations: 119.3 kB / 1.114 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.194, allocations: 29.7 kB / 1.114 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/1.194, allocations: 84.33 kB / 1.114 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/1.194, allocations: 19.73 kB / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/1.194, allocations: 0 / 1.114 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/1.194, allocations: 314.8 kB / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/1.194, allocations: 23.94 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/1.194, allocations: 38.56 kB / 1.114 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/1.194, allocations: 27.98 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.194, allocations: 0 / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001642/1.194, allocations: 85.53 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/1.194, allocations: 4 kB / 1.114 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.194, allocations: 4 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/1.194, allocations: 0 / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/1.194, allocations: 11.98 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.194, allocations: 12 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/1.194, allocations: 11.89 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/1.194, allocations: 6.344 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.923e-05/1.195, allocations: 106.5 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/1.195, allocations: 9.688 kB / 1.114 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/1.195, allocations: 8.375 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/1.195, allocations: 0 / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.195, allocations: 4 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.195, allocations: 3.984 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/1.195, allocations: 323 kB / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.195, allocations: 0 / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/1.195, allocations: 8 kB / 1.115 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.195, allocations: 0 / 1.115 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/1.195, allocations: 0 / 1.115 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.195, allocations: 7.906 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.195, allocations: 4 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001927/1.195, allocations: 171.4 kB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003264/1.196, allocations: 0.5506 MB / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/1.196, allocations: 81.02 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/1.196, allocations: 11.98 kB / 1.115 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.196, allocations: 8 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.196, allocations: 3.984 kB / 1.115 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/1.196, allocations: 4 kB / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.748e-05/1.196, allocations: 100 kB / 1.116 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009101/1.197, allocations: 51.84 kB / 1.116 GB, free: 1.863 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004045/1.197, allocations: 168.8 kB / 1.116 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001523/1.197, allocations: 55.92 kB / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.197, allocations: 4 kB / 1.116 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/1.197, allocations: 24 kB / 1.116 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/1.198, allocations: 3.984 kB / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/1.198, allocations: 106.6 kB / 1.116 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.198, allocations: 0.7036 MB / 1.117 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.198, allocations: 0 / 1.117 GB, free: 0.7695 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)