Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.221/1.221, allocations: 249.4 MB / 256.7 MB, free: 7.047 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.0009762/0.0009762, allocations: 185.2 kB / 316 MB, free: 3.547 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.17/1.17, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008249/0.000825, allocations: 101.3 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3544/0.3553, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.5344, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4921/1.027, allocations: 134.2 MB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/1.027, allocations: 85.81 kB / 1.016 GB, free: 4.301 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.009972/1.037, allocations: 3.328 MB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/1.037, allocations: 8 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/1.037, allocations: 7.906 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.037, allocations: 163.1 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/1.037, allocations: 11.84 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/1.037, allocations: 4 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.805e-05/1.037, allocations: 33.17 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.037, allocations: 75.53 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/1.037, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.037, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.037, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/1.038, allocations: 302.5 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/1.038, allocations: 44.45 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/1.038, allocations: 35.09 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/1.038, allocations: 0 / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.038, allocations: 91.98 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/1.038, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000256/1.038, allocations: 89.88 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.038, allocations: 58.28 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/1.039, allocations: 117.5 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.039, allocations: 25.7 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/1.039, allocations: 95.17 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/1.039, allocations: 11.31 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/1.039, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.039, allocations: 322.1 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/1.039, allocations: 23.19 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/1.039, allocations: 61.23 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.815e-05/1.039, allocations: 22.98 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.039, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/1.039, allocations: 114.6 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/1.039, allocations: 8.094 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.039, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.039, allocations: 4 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.039, allocations: 23.98 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/1.039, allocations: 80 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/1.039, allocations: 8 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.039, allocations: 11.42 kB / 1.021 GB, free: 15.66 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 0.0001046/1.04, allocations: 112.9 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/1.04, allocations: 7.891 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/1.04, allocations: 11.94 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.04, allocations: 3.938 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.04, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.04, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/1.04, allocations: 356.9 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.04, allocations: 3.984 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/1.04, allocations: 8 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.04, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.04, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.04, allocations: 7.984 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.04, allocations: 3.938 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002086/1.04, allocations: 193.6 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003086/1.041, allocations: 0.5667 MB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/1.041, allocations: 85.02 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/1.041, allocations: 0 / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/1.041, allocations: 7.984 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/1.041, allocations: 7.984 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/1.041, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.351e-05/1.041, allocations: 101.6 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008437/1.042, allocations: 55.03 kB / 1.022 GB, free: 14.13 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.0003493/1.042, allocations: 162.3 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001511/1.042, allocations: 63.25 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.042, allocations: 4.188 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/1.042, allocations: 41.42 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.043, allocations: 4 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/1.043, allocations: 110.1 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.043, allocations: 0.7036 MB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/1.043, allocations: 3.938 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)