Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.606/2.606, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001755/0.001755, allocations: 185.2 kB / 360.3 MB, free: 7.488 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.806/1.806, allocations: 205.1 MB / 0.6187 GB, free: 12.52 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.001219/0.001219, allocations: 98.59 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.271/0.2723, allocations: 121.4 MB / 0.8502 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6479/0.9202, allocations: 115.2 MB / 0.9628 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2659/1.186, allocations: 139.3 MB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.187, allocations: 80.8 kB / 1.099 GB, free: 1.422 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01672/1.203, allocations: 3.332 MB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.203, allocations: 12.59 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/1.203, allocations: 8.438 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/1.204, allocations: 167 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/1.204, allocations: 0.7188 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/1.204, allocations: 8 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001399/1.204, allocations: 29.19 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/1.204, allocations: 78.03 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.204, allocations: 0.5312 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/1.204, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.204, allocations: 4.594 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/1.205, allocations: 305.3 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/1.205, allocations: 51 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.205, allocations: 33.97 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/1.205, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/1.205, allocations: 83.41 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/1.205, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003926/1.206, allocations: 95.5 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.206, allocations: 55.41 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.206, allocations: 111.5 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/1.206, allocations: 29.7 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/1.206, allocations: 88.05 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/1.206, allocations: 27.94 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/1.206, allocations: 0 / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.206, allocations: 322.8 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/1.206, allocations: 16 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/1.207, allocations: 52.23 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/1.207, allocations: 27.98 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.207, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003428/1.207, allocations: 98.17 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.207, allocations: 8.938 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.207, allocations: 5.547 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.207, allocations: 3.938 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/1.207, allocations: 19.94 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.207, allocations: 12.08 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/1.207, allocations: 7.906 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.208, allocations: 4 kB / 1.104 GB, free: 12.2 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 0.000117/1.208, allocations: 109.3 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/1.208, allocations: 7.906 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/1.208, allocations: 12.88 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.208, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.208, allocations: 7.906 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.208, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/1.208, allocations: 347.7 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.208, allocations: 3.906 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/1.209, allocations: 9.609 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.209, allocations: 4 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/1.209, allocations: 0.75 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.209, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.209, allocations: 7.672 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003769/1.209, allocations: 199.3 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005237/1.21, allocations: 0.5622 MB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/1.21, allocations: 81.02 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/1.21, allocations: 4 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/1.21, allocations: 11.98 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/1.21, allocations: 13.86 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.21, allocations: 2.125 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.182e-05/1.21, allocations: 95.27 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001317/1.211, allocations: 51.94 kB / 1.105 GB, free: 10.59 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.0005096/1.212, allocations: 167.8 kB / 1.105 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002857/1.212, allocations: 71.92 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.212, allocations: 2.438 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/1.212, allocations: 43.91 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/1.213, allocations: 8.422 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/1.213, allocations: 123.5 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/1.214, allocations: 0.6997 MB / 1.106 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of SimCode: time 1.342e-06/1.214, allocations: 0 / 1.106 GB, free: 9.449 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)