Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.173/1.173, allocations: 249.4 MB / 256.7 MB, free: 15.85 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.0009759/0.0009758, allocations: 188.6 kB / 316 MB, free: 7.246 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.346/1.346, allocations: 205.1 MB / 0.5667 GB, free: 23.98 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.0009894/0.0009896, allocations: 90.39 kB / 0.671 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2258/0.2268, allocations: 112.5 MB / 0.7808 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.6652, allocations: 106.3 MB / 0.8846 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.8126, allocations: 132.9 MB / 1.014 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.8129, allocations: 83.94 kB / 1.015 GB, free: 7.176 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.009239/0.8222, allocations: 3.056 MB / 1.018 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.8222, allocations: 8 kB / 1.018 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.8223, allocations: 11.91 kB / 1.018 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8224, allocations: 167 kB / 1.018 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.8225, allocations: 7.875 kB / 1.018 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.8225, allocations: 4 kB / 1.018 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.841e-05/0.8226, allocations: 23.98 kB / 1.018 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.8227, allocations: 57.66 kB / 1.018 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8227, allocations: 7.906 kB / 1.018 GB, free: 3.738 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8227, allocations: 4 kB / 1.018 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.8227, allocations: 0 / 1.018 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.8232, allocations: 277.3 kB / 1.018 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.8233, allocations: 38.52 kB / 1.018 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.8234, allocations: 28.97 kB / 1.018 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8234, allocations: 0 / 1.018 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.41e-05/0.8235, allocations: 71.45 kB / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8235, allocations: 0 / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.8238, allocations: 77.59 kB / 1.018 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.8238, allocations: 55.41 kB / 1.018 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.8239, allocations: 113.2 kB / 1.018 GB, free: 3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.8239, allocations: 25.7 kB / 1.018 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.824, allocations: 88.31 kB / 1.019 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.824, allocations: 19.69 kB / 1.019 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.824, allocations: 4 kB / 1.019 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8242, allocations: 326.7 kB / 1.019 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.8242, allocations: 12 kB / 1.019 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.8243, allocations: 43.48 kB / 1.019 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.018e-05/0.8244, allocations: 23.98 kB / 1.019 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8244, allocations: 4 kB / 1.019 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001724/0.8246, allocations: 97.52 kB / 1.019 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8246, allocations: 4 kB / 1.019 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.8246, allocations: 0 / 1.019 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8246, allocations: 3.938 kB / 1.019 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.8247, allocations: 19.92 kB / 1.019 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.8248, allocations: 0 / 1.019 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.8249, allocations: 16 kB / 1.019 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.8249, allocations: 3.984 kB / 1.019 GB, free: 2.281 MB / 0.6667 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 0.0001037/0.825, allocations: 111 kB / 1.019 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.825, allocations: 7.906 kB / 1.019 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.8251, allocations: 8.375 kB / 1.019 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8251, allocations: 4 kB / 1.019 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8251, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.8251, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.8254, allocations: 331 kB / 1.02 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8255, allocations: 4 kB / 1.02 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.8255, allocations: 4 kB / 1.02 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8255, allocations: 0 / 1.02 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.8255, allocations: 0 / 1.02 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8255, allocations: 0 / 1.02 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8255, allocations: 0 / 1.02 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002443/0.8258, allocations: 179.4 kB / 1.02 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003359/0.8261, allocations: 0.5544 MB / 1.02 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.8262, allocations: 89 kB / 1.02 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.8262, allocations: 0 / 1.02 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.8263, allocations: 8 kB / 1.02 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.8264, allocations: 7.984 kB / 1.02 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.8264, allocations: 4 kB / 1.02 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.583e-05/0.8265, allocations: 91.27 kB / 1.02 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009341/0.8274, allocations: 51.88 kB / 1.02 GB, free: 0.7422 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.0004247/0.8278, allocations: 169 kB / 1.021 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.828, allocations: 55.92 kB / 1.021 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.828, allocations: 0 / 1.021 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.8281, allocations: 27.94 kB / 1.021 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.8283, allocations: 11.98 kB / 1.021 GB, free: 500 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.8286, allocations: 103.6 kB / 1.021 GB, free: 372 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.8289, allocations: 0.6997 MB / 1.022 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.829, allocations: 4.125 kB / 1.022 GB, free: 15.63 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)