Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.979/1.979, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 185.3 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 86.08 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5043/0.5053, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.7378, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6662/1.404, allocations: 150.7 MB / 1.353 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/1.404, allocations: 79.03 kB / 1.353 GB, free: 15.85 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01105/1.415, allocations: 3.385 MB / 1.356 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.416, allocations: 8.969 kB / 1.356 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/1.416, allocations: 9.203 kB / 1.356 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/1.416, allocations: 180.4 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/1.416, allocations: 1.938 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/1.416, allocations: 4.734 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.896e-05/1.416, allocations: 33.86 kB / 1.356 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.416, allocations: 69.58 kB / 1.356 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/1.416, allocations: 0 / 1.356 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/1.416, allocations: 1.406 kB / 1.356 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.416, allocations: 1.031 kB / 1.356 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/1.416, allocations: 309.1 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/1.417, allocations: 47.3 kB / 1.357 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/1.417, allocations: 33.89 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/1.417, allocations: 8.203 kB / 1.357 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/1.417, allocations: 82.58 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.417, allocations: 0 / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0002679/1.417, allocations: 100.2 kB / 1.357 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/1.417, allocations: 61.91 kB / 1.357 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/1.417, allocations: 109.1 kB / 1.357 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/1.417, allocations: 26.52 kB / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/1.417, allocations: 92.58 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/1.417, allocations: 18.98 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/1.417, allocations: 4 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/1.417, allocations: 319.8 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/1.417, allocations: 18.89 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/1.417, allocations: 55.39 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.691e-05/1.418, allocations: 28.69 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.418, allocations: 0.625 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001935/1.418, allocations: 105.7 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.418, allocations: 6.766 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.418, allocations: 1.062 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.418, allocations: 1.688 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/1.418, allocations: 14.84 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.418, allocations: 3.531 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.805e-05/1.418, allocations: 14.64 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.418, allocations: 3.75 kB / 1.358 GB, free: 13.95 MB / 0.8073 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 6.577e-05/1.418, allocations: 118.5 kB / 1.358 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/1.418, allocations: 10.89 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/1.418, allocations: 8.391 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.418, allocations: 1.25 kB / 1.358 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.418, allocations: 8.594 kB / 1.358 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.418, allocations: 4 kB / 1.358 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/1.419, allocations: 351.6 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.419, allocations: 4.062 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/1.419, allocations: 10.78 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.419, allocations: 0 / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/1.419, allocations: 3.672 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.419, allocations: 0.5938 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.419, allocations: 0.5938 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002352/1.419, allocations: 197.5 kB / 1.358 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003067/1.419, allocations: 0.5643 MB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/1.419, allocations: 82.55 kB / 1.359 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/1.419, allocations: 2.734 kB / 1.359 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.42, allocations: 16.48 kB / 1.359 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/1.42, allocations: 4.906 kB / 1.359 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/1.42, allocations: 7.156 kB / 1.359 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.357e-05/1.42, allocations: 90.88 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009153/1.421, allocations: 52.89 kB / 1.359 GB, free: 12.7 MB / 0.8073 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.0004403/1.421, allocations: 169.3 kB / 1.359 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002066/1.421, allocations: 69.75 kB / 1.359 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.421, allocations: 0 / 1.359 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.044e-05/1.421, allocations: 40.27 kB / 1.359 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/1.422, allocations: 10.34 kB / 1.359 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/1.422, allocations: 116.7 kB / 1.359 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/1.422, allocations: 0.7059 MB / 1.36 GB, free: 27.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.422, allocations: 0.9062 kB / 1.36 GB, free: 27.8 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)