Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000984/0.0009845, allocations: 193.2 kB / 316 MB, free: 3.539 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.143/1.143, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008659/0.0008659, allocations: 94.41 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3594/0.3603, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.5347, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/1.056, allocations: 134 MB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.057, allocations: 83.94 kB / 1.016 GB, free: 4.562 MB / 0.6355 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.009066/1.066, allocations: 3.045 MB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.066, allocations: 12 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/1.066, allocations: 7.906 kB / 1.019 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.066, allocations: 178.8 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/1.066, allocations: 0 / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/1.066, allocations: 7.984 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.375e-05/1.066, allocations: 18.81 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/1.066, allocations: 59.86 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/1.066, allocations: 3.938 kB / 1.019 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.066, allocations: 3.906 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.066, allocations: 4 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/1.067, allocations: 281.1 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/1.067, allocations: 41.81 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/1.067, allocations: 23.61 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/1.067, allocations: 3.625 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/1.067, allocations: 62.45 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/1.067, allocations: 0 / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002058/1.067, allocations: 80.28 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/1.067, allocations: 59.41 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/1.067, allocations: 111.6 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/1.067, allocations: 25.7 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/1.067, allocations: 87.25 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/1.067, allocations: 23.44 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/1.067, allocations: 0 / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/1.068, allocations: 322.7 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/1.068, allocations: 14.88 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.9e-05/1.068, allocations: 40.7 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/1.068, allocations: 23.09 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.068, allocations: 0 / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001651/1.068, allocations: 94.64 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.068, allocations: 11.94 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.068, allocations: 0 / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/1.068, allocations: 0.625 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/1.068, allocations: 20.05 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.068, allocations: 0 / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/1.068, allocations: 7.938 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/1.068, allocations: 4 kB / 1.02 GB, free: 288 kB / 0.6355 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 6.825e-05/1.068, allocations: 111.6 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/1.068, allocations: 7.906 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/1.068, allocations: 20.11 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.068, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.068, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.068, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.069, allocations: 323.9 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.069, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/1.069, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.069, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.069, allocations: 7.984 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.069, allocations: 4 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.069, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001657/1.069, allocations: 175.5 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002462/1.069, allocations: 0.552 MB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/1.069, allocations: 81.11 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/1.069, allocations: 7.906 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.673e-05/1.069, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/1.069, allocations: 3.984 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/1.069, allocations: 7.75 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.867e-05/1.069, allocations: 92.42 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008161/1.07, allocations: 50.81 kB / 1.021 GB, free: 14.81 MB / 0.6511 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.0003211/1.071, allocations: 182.8 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001208/1.071, allocations: 52.94 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/1.071, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/1.071, allocations: 30.55 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.071, allocations: 0 / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/1.071, allocations: 109.4 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/1.072, allocations: 0.7029 MB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.072, allocations: 0 / 1.023 GB, free: 13.73 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)