Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.378/1.378, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.00102/0.00102, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.176/1.176, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007921/0.0007921, allocations: 95.09 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2222/0.223, allocations: 121.4 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.7738, allocations: 115.3 MB / 0.9638 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.9297, allocations: 139.5 MB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.93, allocations: 80.8 kB / 1.1 GB, free: 388 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.009902/0.9399, allocations: 3.346 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.94, allocations: 12.59 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.94, allocations: 8.562 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.9401, allocations: 170.6 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.9402, allocations: 0.6875 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.9402, allocations: 4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.26e-05/0.9403, allocations: 36.73 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.9404, allocations: 70.28 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.9404, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9405, allocations: 0.8125 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.9405, allocations: 3.906 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.941, allocations: 305.6 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.9411, allocations: 55.03 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.9412, allocations: 33.8 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.9412, allocations: 4.672 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.9413, allocations: 79.97 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.9413, allocations: 0.8438 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002505/0.9416, allocations: 97.3 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.9416, allocations: 52.22 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.9417, allocations: 113.5 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.9417, allocations: 31.02 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.9418, allocations: 92.03 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.9418, allocations: 11.81 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.9418, allocations: 8.625 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.9419, allocations: 319.5 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.942, allocations: 20 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.942, allocations: 56.28 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.9421, allocations: 23.98 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9421, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.9423, allocations: 105.5 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9423, allocations: 8.094 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.9423, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.9423, allocations: 7.938 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9425, allocations: 22.05 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9425, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/0.9426, allocations: 11.91 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.9426, allocations: 7.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 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.637e-05/0.9427, allocations: 115.5 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.9427, allocations: 7.906 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.9427, allocations: 8.375 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9427, allocations: 0.6562 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9427, allocations: 3.906 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9428, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.9431, allocations: 351 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9431, allocations: 3.906 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.9432, allocations: 8 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.9432, allocations: 4.031 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.9432, allocations: 10.42 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9432, allocations: 3.938 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9432, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002169/0.9435, allocations: 194.8 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003334/0.9438, allocations: 0.568 MB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.9438, allocations: 85.02 kB / 1.106 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.9439, allocations: 4 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.944, allocations: 11.98 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.9441, allocations: 0 / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.9441, allocations: 7.984 kB / 1.106 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.025e-05/0.9441, allocations: 95.22 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008666/0.945, allocations: 59.92 kB / 1.107 GB, free: 9.543 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: 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.0003635/0.9454, allocations: 164.4 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.9456, allocations: 68.05 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9456, allocations: 4.062 kB / 1.107 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.9456, allocations: 35.94 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.9459, allocations: 17.77 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.9463, allocations: 120.2 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.9465, allocations: 0.7036 MB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.9465, allocations: 4 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)