Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.195/1.195, allocations: 249.4 MB / 256.7 MB, free: 15.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009732/0.0009732, allocations: 173.3 kB / 316 MB, free: 7.254 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.231/1.231, allocations: 205.1 MB / 0.5667 GB, free: 23.65 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.0008226/0.0008226, allocations: 84.47 kB / 0.671 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1999/0.2008, allocations: 112.5 MB / 0.7808 GB, free: 448 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.6285, allocations: 106.3 MB / 0.8847 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.7722, allocations: 132.9 MB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.7724, allocations: 79.95 kB / 1.015 GB, free: 7.148 MB / 0.6667 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008826/0.7813, allocations: 3.052 MB / 1.017 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7813, allocations: 8 kB / 1.017 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.7814, allocations: 7.906 kB / 1.017 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7815, allocations: 174.9 kB / 1.018 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.7815, allocations: 0 / 1.018 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.7815, allocations: 11.94 kB / 1.018 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.915e-05/0.7816, allocations: 20 kB / 1.018 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.899e-05/0.7817, allocations: 53.67 kB / 1.018 GB, free: 3.727 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7818, allocations: 3.906 kB / 1.018 GB, free: 3.723 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.7818, allocations: 7.984 kB / 1.018 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.7818, allocations: 0 / 1.018 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.7822, allocations: 277.3 kB / 1.018 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.7823, allocations: 42.52 kB / 1.018 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.7824, allocations: 24.98 kB / 1.018 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.7824, allocations: 3.938 kB / 1.018 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.7825, allocations: 63.47 kB / 1.018 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.7825, allocations: 0 / 1.018 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002206/0.7828, allocations: 85.56 kB / 1.018 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.7828, allocations: 55.41 kB / 1.018 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.7829, allocations: 113.2 kB / 1.018 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.7829, allocations: 25.7 kB / 1.018 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.783, allocations: 92.27 kB / 1.019 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.783, allocations: 15.73 kB / 1.019 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.783, allocations: 0 / 1.019 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7831, allocations: 322.8 kB / 1.019 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.7832, allocations: 20 kB / 1.019 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.7832, allocations: 42.61 kB / 1.019 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.7833, allocations: 23.98 kB / 1.019 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7833, allocations: 0 / 1.019 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001572/0.7834, allocations: 89.52 kB / 1.019 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.7835, allocations: 8 kB / 1.019 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7835, allocations: 4.062 kB / 1.019 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.7835, allocations: 0 / 1.019 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.7836, allocations: 19.92 kB / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.7836, allocations: 0 / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.7837, allocations: 11.98 kB / 1.019 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.7837, allocations: 4 kB / 1.019 GB, free: 2.273 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.6e-05/0.7838, allocations: 124.7 kB / 1.019 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.7838, allocations: 7.906 kB / 1.019 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.7839, allocations: 4.375 kB / 1.019 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7839, allocations: 0 / 1.019 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7839, allocations: 0 / 1.019 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.7839, allocations: 3.984 kB / 1.019 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.7842, allocations: 315 kB / 1.019 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7842, allocations: 0 / 1.019 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.7843, allocations: 11.94 kB / 1.019 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7843, allocations: 4 kB / 1.019 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7843, allocations: 7.984 kB / 1.019 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7843, allocations: 0 / 1.019 GB, free: 1.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7843, allocations: 3.984 kB / 1.02 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000161/0.7845, allocations: 167.8 kB / 1.02 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002624/0.7848, allocations: 0.5583 MB / 1.02 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.7848, allocations: 85.02 kB / 1.02 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7848, allocations: 3.938 kB / 1.02 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.7849, allocations: 4 kB / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.785, allocations: 7.984 kB / 1.02 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.785, allocations: 3.938 kB / 1.02 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.111e-05/0.785, allocations: 95.27 kB / 1.02 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008212/0.7859, allocations: 51.88 kB / 1.02 GB, free: 0.7305 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000346/0.7862, allocations: 165 kB / 1.021 GB, free: 0.5742 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.7864, allocations: 59.86 kB / 1.021 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.7864, allocations: 0 / 1.021 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.7864, allocations: 24 kB / 1.021 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.7866, allocations: 12.11 kB / 1.021 GB, free: 492 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.7869, allocations: 103.6 kB / 1.021 GB, free: 364 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.7872, allocations: 0.7074 MB / 1.021 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.7872, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)