Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.393/1.393, allocations: 285.5 MB / 292.8 MB, free: 10.56 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.001094/0.001094, allocations: 185.2 kB / 361.1 MB, free: 7.145 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.201/1.201, allocations: 205.1 MB / 0.6195 GB, free: 10.43 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.0008857/0.0008857, allocations: 91.41 kB / 0.7326 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2254/0.2264, allocations: 121.4 MB / 0.8512 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.7682, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.926, allocations: 139.6 MB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.9263, allocations: 79.95 kB / 1.1 GB, free: 312 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01226/0.9385, allocations: 4.026 MB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.9386, allocations: 9.812 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.9386, allocations: 11.84 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.9388, allocations: 178.9 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.9388, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.9388, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001466/0.939, allocations: 51.89 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.9392, allocations: 93.61 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9392, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.9392, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.9392, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.9401, allocations: 377.1 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.9403, allocations: 62.56 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.9404, allocations: 40.86 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.9404, allocations: 0 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.9406, allocations: 103.9 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.013e-06/0.9406, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003223/0.9409, allocations: 119.7 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.941, allocations: 59.59 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.9411, allocations: 140.8 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.9411, allocations: 25.7 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.9412, allocations: 92.28 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.9412, allocations: 23.7 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.9412, allocations: 0 / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9413, allocations: 322.8 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.9414, allocations: 20 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.9415, allocations: 68.77 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.9415, allocations: 23.98 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.9415, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001933/0.9417, allocations: 109.5 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9418, allocations: 16.03 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9418, allocations: 1.375 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9418, allocations: 4 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.942, allocations: 23.97 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.942, allocations: 3.938 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.9421, allocations: 26.08 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.9421, allocations: 4 kB / 1.106 GB, free: 10.13 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 8.669e-05/0.9422, allocations: 112.9 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.9422, allocations: 7.906 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.9423, allocations: 12.48 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9423, allocations: 0 / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9423, allocations: 0 / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.9423, allocations: 4 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.9428, allocations: 394.9 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9428, allocations: 1.375 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.9429, allocations: 15.98 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.9429, allocations: 4 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.943, allocations: 7.922 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.943, allocations: 3.906 kB / 1.107 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.943, allocations: 4 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000267/0.9433, allocations: 209 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003666/0.9436, allocations: 0.5856 MB / 1.107 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.9437, allocations: 88.92 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.9437, allocations: 9.484 kB / 1.107 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.944, allocations: 29.62 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.944, allocations: 23.91 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.9441, allocations: 4 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.905e-05/0.9441, allocations: 104.1 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000869/0.945, allocations: 59.92 kB / 1.108 GB, free: 8.375 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: 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.0003675/0.9454, allocations: 166 kB / 1.108 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.9456, allocations: 84.48 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9456, allocations: 0 / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.9457, allocations: 55.92 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.9459, allocations: 6.078 kB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.9464, allocations: 143.6 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.9467, allocations: 0.7272 MB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9467, allocations: 4 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)