Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.0/package.mo): time 2.641/2.641, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001661/0.001661, allocations: 185.2 kB / 360.3 MB, free: 7.484 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.895/1.895, allocations: 205.1 MB / 0.6187 GB, free: 12.43 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.001259/0.001258, allocations: 100.5 kB / 0.7317 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.282/0.2833, allocations: 121.4 MB / 0.8502 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.9229, allocations: 115.2 MB / 0.9627 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/1.169, allocations: 139.3 MB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.169, allocations: 82.12 kB / 1.099 GB, free: 1.383 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01966/1.189, allocations: 3.74 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.189, allocations: 8 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/1.189, allocations: 15.81 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/1.189, allocations: 179.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/1.189, allocations: 3.984 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/1.189, allocations: 11.94 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/1.189, allocations: 36 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/1.19, allocations: 79.14 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/1.19, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/1.19, allocations: 3.906 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/1.19, allocations: 4 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/1.191, allocations: 321.2 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/1.191, allocations: 62.5 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/1.191, allocations: 40.86 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/1.191, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/1.191, allocations: 87.36 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/1.191, allocations: 1.219 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000454/1.192, allocations: 109.5 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.192, allocations: 55.41 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.192, allocations: 132.9 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.192, allocations: 33.64 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/1.192, allocations: 88.53 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/1.192, allocations: 27.69 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/1.192, allocations: 3.281 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.192, allocations: 322.8 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/1.192, allocations: 24 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/1.192, allocations: 60.3 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/1.193, allocations: 35.92 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.193, allocations: 0 / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003488/1.193, allocations: 122.8 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.193, allocations: 4 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.193, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.193, allocations: 4 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/1.193, allocations: 28.02 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.193, allocations: 0 / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/1.194, allocations: 15.92 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/1.194, allocations: 8 kB / 1.104 GB, free: 11.6 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 (14): * Single equations (assignments): 14 * 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.0001675/1.194, allocations: 116.7 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/1.194, allocations: 11.89 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/1.194, allocations: 12.5 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.194, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.194, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.194, allocations: 4.047 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/1.195, allocations: 374.9 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.195, allocations: 1.562 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/1.195, allocations: 19.92 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.195, allocations: 4 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/1.195, allocations: 3.906 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.195, allocations: 3.984 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.195, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004009/1.195, allocations: 209.2 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005525/1.196, allocations: 0.5779 MB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/1.196, allocations: 85 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/1.196, allocations: 7.906 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/1.196, allocations: 6.375 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/1.196, allocations: 16.77 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/1.196, allocations: 15.92 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.933e-05/1.196, allocations: 99.83 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001325/1.198, allocations: 55.94 kB / 1.106 GB, free: 9.898 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 (9): * Single equations (assignments): 5 * 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.0004644/1.198, allocations: 167.5 kB / 1.106 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003067/1.198, allocations: 83.92 kB / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.199, allocations: 0 / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/1.199, allocations: 51.92 kB / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/1.199, allocations: 5.953 kB / 1.106 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/1.2, allocations: 136 kB / 1.106 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.2, allocations: 0.7233 MB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.2, allocations: 1.031 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)