Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009593/0.0009592, allocations: 177.2 kB / 316 MB, free: 3.523 MB / 250.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.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008595, allocations: 92.56 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3376/0.3385, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.5073, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/1.016, allocations: 134.4 MB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.016, allocations: 81.12 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01209/1.028, allocations: 4.019 MB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.028, allocations: 8 kB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/1.028, allocations: 16.84 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.029, allocations: 185 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.029, allocations: 3.938 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/1.029, allocations: 4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/1.029, allocations: 52.92 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/1.029, allocations: 90.69 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/1.029, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.029, allocations: 3.938 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.029, allocations: 0 / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/1.03, allocations: 387 kB / 1.021 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/1.03, allocations: 51.7 kB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/1.03, allocations: 50.11 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/1.03, allocations: 4 kB / 1.021 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/1.03, allocations: 104.4 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/1.03, allocations: 4 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003075/1.031, allocations: 108.6 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.031, allocations: 67.31 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/1.031, allocations: 123.9 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/1.031, allocations: 25.7 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/1.031, allocations: 95.3 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/1.031, allocations: 15.72 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/1.031, allocations: 0 / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.031, allocations: 329.5 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/1.031, allocations: 22 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/1.031, allocations: 60.08 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/1.031, allocations: 30.84 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.031, allocations: 4.109 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000188/1.031, allocations: 125 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.031, allocations: 4 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.031, allocations: 0 / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.031, allocations: 4 kB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/1.032, allocations: 23.92 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.032, allocations: 8.125 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/1.032, allocations: 19.83 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/1.032, allocations: 8 kB / 1.022 GB, free: 14.96 MB / 0.6511 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.049e-05/1.032, allocations: 106.3 kB / 1.022 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/1.032, allocations: 11.91 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/1.032, allocations: 20.27 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.032, allocations: 4 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.032, allocations: 0 / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.032, allocations: 0 / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/1.032, allocations: 394.8 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.032, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.033, allocations: 19.92 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.033, allocations: 4 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.033, allocations: 7.609 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.033, allocations: 0 / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.033, allocations: 4 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002595/1.033, allocations: 214.8 kB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003582/1.033, allocations: 0.5935 MB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/1.033, allocations: 85.02 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/1.033, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.034, allocations: 35.97 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/1.034, allocations: 3.984 kB / 1.023 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/1.034, allocations: 7 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.509e-05/1.034, allocations: 108.3 kB / 1.023 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008854/1.035, allocations: 69.64 kB / 1.023 GB, free: 13.32 MB / 0.6511 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.0004042/1.035, allocations: 170 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002004/1.035, allocations: 78.47 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.035, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.076e-05/1.035, allocations: 56.36 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.035, allocations: 4.188 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/1.036, allocations: 150.8 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/1.036, allocations: 0.7192 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.036, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)