Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.1.4-maint.8.1.x/package.mo): time 1.481/1.481, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001152/0.001152, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.548/1.548, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008561/0.000856, allocations: 89.86 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2765/0.2773, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/1.009, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/1.193, allocations: 140.2 MB / 1.11 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.193, allocations: 79.95 kB / 1.11 GB, free: 8.18 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.009753/1.203, allocations: 3.05 MB / 1.113 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.203, allocations: 8 kB / 1.113 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/1.203, allocations: 7.906 kB / 1.113 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.203, allocations: 177.3 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.203, allocations: 7.984 kB / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/1.203, allocations: 0 / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.677e-05/1.204, allocations: 27.94 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.204, allocations: 59.86 kB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.204, allocations: 0 / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.204, allocations: 0 / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.204, allocations: 0 / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/1.204, allocations: 281.3 kB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/1.204, allocations: 42.56 kB / 1.113 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/1.204, allocations: 24.92 kB / 1.113 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/1.204, allocations: 4 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/1.205, allocations: 69.92 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/1.205, allocations: 0 / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002665/1.205, allocations: 73.59 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.205, allocations: 59.39 kB / 1.113 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.141e-05/1.205, allocations: 104.9 kB / 1.114 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/1.205, allocations: 25.7 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/1.205, allocations: 92.31 kB / 1.114 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/1.205, allocations: 19.75 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/1.205, allocations: 0 / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.205, allocations: 326.8 kB / 1.114 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/1.205, allocations: 16 kB / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/1.205, allocations: 47.36 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.472e-05/1.205, allocations: 20 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.205, allocations: 0 / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001801/1.206, allocations: 93.52 kB / 1.114 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.206, allocations: 4 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.206, allocations: 0 / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.206, allocations: 7.984 kB / 1.114 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.206, allocations: 8 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.206, allocations: 7.938 kB / 1.114 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/1.206, allocations: 15.89 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/1.206, allocations: 8.062 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.356e-05/1.206, allocations: 105 kB / 1.114 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/1.206, allocations: 3.906 kB / 1.114 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/1.206, allocations: 12.38 kB / 1.114 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.206, allocations: 3.984 kB / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.206, allocations: 0 / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.206, allocations: 5.531 kB / 1.114 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/1.206, allocations: 323 kB / 1.115 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.207, allocations: 4 kB / 1.115 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/1.207, allocations: 4 kB / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.207, allocations: 0 / 1.115 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.207, allocations: 3.984 kB / 1.115 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.207, allocations: 7.906 kB / 1.115 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.207, allocations: 64 / 1.115 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002101/1.207, allocations: 182.1 kB / 1.115 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003089/1.207, allocations: 0.5467 MB / 1.115 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/1.207, allocations: 85.02 kB / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/1.207, allocations: 0 / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.207, allocations: 8 kB / 1.115 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/1.207, allocations: 7.922 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.207, allocations: 8 kB / 1.115 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.566e-05/1.207, allocations: 92.25 kB / 1.116 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009724/1.208, allocations: 53.53 kB / 1.116 GB, free: 1.785 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: 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.0006613/1.209, allocations: 168.3 kB / 1.116 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002075/1.209, allocations: 55.94 kB / 1.116 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.209, allocations: 0 / 1.116 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.637e-05/1.209, allocations: 27.98 kB / 1.116 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/1.21, allocations: 7.5 kB / 1.116 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/1.21, allocations: 99.73 kB / 1.116 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.21, allocations: 0.7036 MB / 1.117 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/1.21, allocations: 0 / 1.117 GB, free: 0.6914 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)