Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001003/0.001003, allocations: 185.2 kB / 316 MB, free: 3.508 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.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.54 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.0008041/0.0008041, allocations: 90.33 kB / 0.671 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3414/0.3423, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.5014, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/1.01, allocations: 134.3 MB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/1.01, allocations: 83.31 kB / 1.016 GB, free: 4.129 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01032/1.021, allocations: 3.337 MB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.021, allocations: 12 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/1.021, allocations: 7.906 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.021, allocations: 163.1 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/1.021, allocations: 7.906 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/1.021, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/1.021, allocations: 37.8 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/1.021, allocations: 67.97 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.021, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.021, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.021, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/1.022, allocations: 311.3 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/1.022, allocations: 52.72 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/1.022, allocations: 31.23 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.022, allocations: 0 / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.022, allocations: 85.31 kB / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.022, allocations: 0 / 1.02 GB, free: 444 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002492/1.022, allocations: 94.39 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.022, allocations: 56.23 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.496e-05/1.023, allocations: 113.6 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/1.023, allocations: 33.44 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/1.023, allocations: 88 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/1.023, allocations: 18.84 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.023, allocations: 0 / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.023, allocations: 322.6 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/1.023, allocations: 23.75 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/1.023, allocations: 54.78 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/1.023, allocations: 31.23 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.023, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/1.023, allocations: 115.9 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/1.023, allocations: 4 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.023, allocations: 4 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/1.023, allocations: 3.938 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.023, allocations: 15.98 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.023, allocations: 0.7031 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/1.023, allocations: 12.09 kB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.023, allocations: 7.984 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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 7.72e-05/1.024, allocations: 116.3 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/1.024, allocations: 7.906 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/1.024, allocations: 8.125 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.024, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.024, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.024, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/1.024, allocations: 355.4 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.024, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/1.024, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.024, allocations: 3.984 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.024, allocations: 7.938 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.024, allocations: 160 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.024, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002107/1.024, allocations: 206.2 kB / 1.022 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003319/1.025, allocations: 0.5612 MB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/1.025, allocations: 81.02 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/1.025, allocations: 3.938 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/1.025, allocations: 15.98 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/1.025, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/1.025, allocations: 7.984 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.666e-05/1.025, allocations: 101 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008633/1.026, allocations: 51.7 kB / 1.022 GB, free: 13.95 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003667/1.026, allocations: 168 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001672/1.026, allocations: 64.17 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.026, allocations: 0 / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/1.026, allocations: 33.62 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/1.027, allocations: 11.86 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/1.027, allocations: 116.9 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/1.027, allocations: 0.7116 MB / 1.023 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.027, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)