Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.512/1.512, allocations: 289.8 MB / 297 MB, free: 6.656 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.001092/0.001092, allocations: 193.2 kB / 366.3 MB, free: 1.988 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.394/1.394, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009944/0.0009944, allocations: 94.11 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2954/0.2965, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/1.039, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/1.221, allocations: 140.6 MB / 1.11 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.221, allocations: 87.92 kB / 1.11 GB, free: 7.727 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01254/1.234, allocations: 4.018 MB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.234, allocations: 12 kB / 1.114 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/1.234, allocations: 7.906 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/1.234, allocations: 178.9 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/1.234, allocations: 0 / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/1.234, allocations: 4 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/1.235, allocations: 51.91 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/1.235, allocations: 97.61 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.235, allocations: 3.938 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.235, allocations: 0 / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.235, allocations: 4.75 kB / 1.114 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007837/1.236, allocations: 377.1 kB / 1.115 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/1.236, allocations: 58.56 kB / 1.115 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/1.236, allocations: 40.86 kB / 1.115 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.236, allocations: 3.984 kB / 1.115 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/1.236, allocations: 108.2 kB / 1.115 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/1.236, allocations: 0 / 1.115 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003386/1.236, allocations: 117.6 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.236, allocations: 59.34 kB / 1.115 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.237, allocations: 126 kB / 1.115 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.237, allocations: 29.7 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/1.237, allocations: 96.27 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/1.237, allocations: 15.72 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/1.237, allocations: 0 / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.237, allocations: 326.8 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/1.237, allocations: 23.98 kB / 1.116 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/1.237, allocations: 59.16 kB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/1.237, allocations: 27.98 kB / 1.116 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.237, allocations: 4 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002053/1.237, allocations: 122 kB / 1.116 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.237, allocations: 7.906 kB / 1.116 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.237, allocations: 4 kB / 1.116 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.237, allocations: 0 / 1.116 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/1.237, allocations: 28.05 kB / 1.116 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.237, allocations: 4 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/1.238, allocations: 25.42 kB / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/1.238, allocations: 4 kB / 1.116 GB, free: 1.488 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.34e-05/1.238, allocations: 116.9 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/1.238, allocations: 11.91 kB / 1.116 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/1.238, allocations: 12.5 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.238, allocations: 0 / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.238, allocations: 0 / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.238, allocations: 0 / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/1.238, allocations: 395 kB / 1.116 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.238, allocations: 0 / 1.116 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.238, allocations: 24.77 kB / 1.116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.238, allocations: 0 / 1.116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/1.238, allocations: 7.984 kB / 1.116 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.239, allocations: 3.906 kB / 1.116 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.239, allocations: 0 / 1.116 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002709/1.239, allocations: 212.4 kB / 1.117 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003828/1.239, allocations: 0.5916 MB / 1.117 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/1.239, allocations: 84.92 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/1.239, allocations: 4 kB / 1.117 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.24, allocations: 35.91 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/1.24, allocations: 15.92 kB / 1.117 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/1.24, allocations: 3.984 kB / 1.117 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.896e-05/1.24, allocations: 104.7 kB / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001027/1.241, allocations: 55.94 kB / 1.118 GB, free: 15.73 MB / 0.7292 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003845/1.241, allocations: 172.3 kB / 1.118 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001973/1.241, allocations: 83.91 kB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.241, allocations: 0 / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.619e-05/1.241, allocations: 47.94 kB / 1.118 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.242, allocations: 12.2 kB / 1.118 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/1.242, allocations: 147.9 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/1.242, allocations: 0.7192 MB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.242, allocations: 0 / 1.119 GB, free: 14.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)