Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.614/1.614, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001125/0.001125, allocations: 181.3 kB / 366.3 MB, free: 1.953 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.522/1.522, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009494/0.0009494, allocations: 89.2 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3002/0.3012, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/1.012, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/1.198, allocations: 140.2 MB / 1.11 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.199, allocations: 83.94 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.00983/1.209, allocations: 3.05 MB / 1.113 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.209, allocations: 12 kB / 1.113 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/1.209, allocations: 7.906 kB / 1.113 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/1.209, allocations: 176.8 kB / 1.113 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/1.209, allocations: 7.984 kB / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/1.209, allocations: 0 / 1.113 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.777e-05/1.209, allocations: 20 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.209, allocations: 59.86 kB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.209, allocations: 0 / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.209, allocations: 0 / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.209, allocations: 1.312 kB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/1.21, allocations: 277.3 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/1.21, allocations: 46.5 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/1.21, allocations: 20.98 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.21, allocations: 8.078 kB / 1.113 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.984e-05/1.21, allocations: 71.38 kB / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/1.21, allocations: 0 / 1.113 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000247/1.21, allocations: 73.59 kB / 1.113 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/1.21, allocations: 59.33 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/1.21, allocations: 108.9 kB / 1.113 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.21, allocations: 25.7 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/1.21, allocations: 96.31 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/1.21, allocations: 15.75 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/1.21, allocations: 0 / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.211, allocations: 320 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/1.211, allocations: 23.94 kB / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/1.211, allocations: 37.42 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/1.211, allocations: 19.98 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.211, allocations: 4 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001678/1.211, allocations: 97.5 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.211, allocations: 4 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.211, allocations: 4 kB / 1.114 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.211, allocations: 4 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/1.211, allocations: 11.98 kB / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.211, allocations: 0 / 1.114 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/1.211, allocations: 15.97 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/1.211, allocations: 2.734 kB / 1.114 GB, free: 3.344 MB / 0.7136 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 8.135e-05/1.211, allocations: 111.6 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/1.211, allocations: 11.89 kB / 1.114 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/1.211, allocations: 8.375 kB / 1.114 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.211, allocations: 4 kB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.211, allocations: 0 / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.211, allocations: 0 / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/1.212, allocations: 319 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.212, allocations: 4 kB / 1.115 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/1.212, allocations: 7.984 kB / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.212, allocations: 0 / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/1.212, allocations: 1.5 kB / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.212, allocations: 3.906 kB / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.212, allocations: 0 / 1.115 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001722/1.212, allocations: 183.4 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003574/1.212, allocations: 0.5467 MB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/1.212, allocations: 81.02 kB / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/1.212, allocations: 0 / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.213, allocations: 11.98 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/1.213, allocations: 4 kB / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.213, allocations: 7.984 kB / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.83e-05/1.213, allocations: 91.22 kB / 1.115 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008851/1.214, allocations: 59.83 kB / 1.116 GB, free: 1.801 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.0005185/1.214, allocations: 167.7 kB / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001835/1.214, allocations: 62.33 kB / 1.116 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.214, allocations: 0 / 1.116 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/1.214, allocations: 25.41 kB / 1.116 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/1.215, allocations: 4.859 kB / 1.116 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/1.215, allocations: 99.75 kB / 1.116 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/1.215, allocations: 0.7037 MB / 1.117 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.215, allocations: 4 kB / 1.117 GB, free: 0.7031 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)