Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001088/0.001088, allocations: 181.4 kB / 366.3 MB, free: 2.023 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.305/1.305, allocations: 205.1 MB / 0.6256 GB, free: 7.492 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.0008746/0.0008745, allocations: 91.86 kB / 0.7396 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3123/0.3132, allocations: 122.4 MB / 0.8591 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/1.056, allocations: 116.3 MB / 0.9726 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/1.254, allocations: 140.5 MB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/1.254, allocations: 81.27 kB / 1.11 GB, free: 9.949 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01067/1.265, allocations: 3.336 MB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.265, allocations: 8.688 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/1.265, allocations: 12.5 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.265, allocations: 168.2 kB / 1.113 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/1.265, allocations: 8.594 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/1.265, allocations: 7.984 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.93e-05/1.265, allocations: 28.53 kB / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.265, allocations: 74.12 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.265, allocations: 0.6875 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/1.265, allocations: 3.984 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.265, allocations: 4.469 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/1.266, allocations: 298.3 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/1.266, allocations: 55.16 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/1.266, allocations: 37.53 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.266, allocations: 1 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/1.266, allocations: 84.12 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/1.266, allocations: 0 / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003355/1.267, allocations: 94.27 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.267, allocations: 59.89 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/1.267, allocations: 115.8 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.267, allocations: 26.3 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.267, allocations: 88.05 kB / 1.114 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.267, allocations: 15.81 kB / 1.114 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.267, allocations: 0 / 1.114 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.267, allocations: 322.8 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/1.267, allocations: 20 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/1.267, allocations: 56.28 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/1.267, allocations: 38.48 kB / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.267, allocations: 0 / 1.115 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001806/1.268, allocations: 101.5 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.268, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.268, allocations: 0 / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.268, allocations: 4 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/1.268, allocations: 23.86 kB / 1.115 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.268, allocations: 4.094 kB / 1.115 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/1.268, allocations: 13.2 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/1.268, allocations: 4 kB / 1.115 GB, free: 4.695 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.0001158/1.268, allocations: 109 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/1.268, allocations: 7.906 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/1.268, allocations: 8.375 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.268, allocations: 0 / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/1.268, allocations: 7.906 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.268, allocations: 3.984 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/1.269, allocations: 351.1 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.269, allocations: 7.906 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/1.269, allocations: 7.984 kB / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.269, allocations: 0 / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/1.269, allocations: 2.375 kB / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.269, allocations: 0 / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.269, allocations: 5.312 kB / 1.115 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002641/1.269, allocations: 203.3 kB / 1.116 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004256/1.27, allocations: 0.5635 MB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/1.27, allocations: 85.02 kB / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/1.27, allocations: 0 / 1.116 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/1.27, allocations: 11.98 kB / 1.116 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/1.27, allocations: 4 kB / 1.116 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/1.27, allocations: 7.984 kB / 1.116 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.33e-05/1.27, allocations: 94.16 kB / 1.116 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009543/1.271, allocations: 51.92 kB / 1.116 GB, free: 3.082 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.0005293/1.271, allocations: 172.9 kB / 1.117 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002042/1.272, allocations: 60.83 kB / 1.117 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.272, allocations: 4 kB / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/1.272, allocations: 43.92 kB / 1.117 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.272, allocations: 14.27 kB / 1.117 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/1.272, allocations: 121.8 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/1.273, allocations: 0.7036 MB / 1.117 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.273, allocations: 0 / 1.117 GB, free: 1.934 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)