Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.0.1-maint.8.0.x/package.mo): time 1.422/1.422, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001185/0.001185, allocations: 181.3 kB / 361.1 MB, free: 7.113 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.137/1.137, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008333/0.0008333, allocations: 89.52 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2258/0.2267, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.7625, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.9283, allocations: 139.2 MB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.9286, allocations: 85.2 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009198/0.9378, allocations: 3.052 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.9378, allocations: 8 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.9379, allocations: 16.19 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.938, allocations: 175.6 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.938, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.9381, allocations: 4 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.031e-05/0.9381, allocations: 23.98 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.9383, allocations: 56.48 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.9383, allocations: 0.5625 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.9383, allocations: 5.469 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.9383, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.9387, allocations: 279.1 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.9388, allocations: 39.28 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.9389, allocations: 26.19 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.9389, allocations: 0.5 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/0.939, allocations: 68.73 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.939, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.9392, allocations: 89.17 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.9392, allocations: 59.41 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.9394, allocations: 112 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.9394, allocations: 25.7 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.9394, allocations: 88.33 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.9395, allocations: 15.75 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.9395, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.9396, allocations: 328.6 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.9396, allocations: 12 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.9397, allocations: 38.56 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.9397, allocations: 21.09 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9398, allocations: 0 / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001591/0.9399, allocations: 91.08 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.9399, allocations: 8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.9399, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.94, allocations: 0.5 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.9401, allocations: 25.92 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9401, allocations: 0 / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.9402, allocations: 8.562 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.9402, allocations: 8 kB / 1.104 GB, free: 11.96 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 7.486e-05/0.9403, allocations: 110.8 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.9403, allocations: 7.906 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.9403, allocations: 8.375 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9403, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9403, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9403, allocations: 0.6562 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.9407, allocations: 327.6 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9407, allocations: 0 / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.9407, allocations: 7.984 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9407, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.9407, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9408, allocations: 9.594 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9408, allocations: 0 / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001737/0.9409, allocations: 173.7 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003029/0.9412, allocations: 0.5466 MB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.9413, allocations: 89.58 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.9413, allocations: 3.984 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.9414, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.9415, allocations: 16.77 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.9415, allocations: 0 / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.667e-05/0.9416, allocations: 87.28 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008367/0.9424, allocations: 55.83 kB / 1.106 GB, free: 10.43 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.0003555/0.9428, allocations: 179.7 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.9429, allocations: 55.92 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.9429, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.943, allocations: 24 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.9432, allocations: 7.172 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.9435, allocations: 100.7 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.9437, allocations: 0.7122 MB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9437, allocations: 0 / 1.107 GB, free: 9.328 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)