Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.631/2.631, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001906/0.001906, allocations: 183.6 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.002128/0.002128, allocations: 94.03 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3088/0.311, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.9773, allocations: 115.2 MB / 0.9627 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2659/1.243, allocations: 138.9 MB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004478/1.244, allocations: 85.12 kB / 1.099 GB, free: 1.828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01805/1.262, allocations: 2.986 MB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.262, allocations: 11.94 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/1.262, allocations: 8.438 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/1.262, allocations: 171.4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/1.262, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/1.262, allocations: 4.578 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001907/1.263, allocations: 27.02 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/1.263, allocations: 57.67 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.263, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/1.263, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.263, allocations: 2.375 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/1.264, allocations: 274.7 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/1.264, allocations: 43.62 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/1.264, allocations: 21.48 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/1.264, allocations: 4.969 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/1.265, allocations: 63.92 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.94e-06/1.265, allocations: 1.469 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005262/1.265, allocations: 77.53 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/1.265, allocations: 55.39 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/1.266, allocations: 110.6 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/1.266, allocations: 30.19 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/1.266, allocations: 89.64 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/1.266, allocations: 11.75 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.266, allocations: 0 / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001954/1.266, allocations: 323.4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/1.266, allocations: 16.47 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/1.266, allocations: 56.58 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.266, allocations: 19.98 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.267, allocations: 5.812 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004319/1.267, allocations: 85.52 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.267, allocations: 8.156 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.267, allocations: 4 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.267, allocations: 0 / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/1.267, allocations: 19.92 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/1.267, allocations: 7.906 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.268, allocations: 6.125 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/1.268, allocations: 7.281 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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 0.0001875/1.268, allocations: 118.1 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/1.268, allocations: 7.906 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.52e-05/1.268, allocations: 8.359 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.268, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.268, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.268, allocations: 3.906 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/1.269, allocations: 323.1 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.269, allocations: 0 / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/1.269, allocations: 11.98 kB / 1.103 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.269, allocations: 3.906 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.269, allocations: 0 / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/1.269, allocations: 6.344 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.269, allocations: 0 / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004431/1.27, allocations: 175.4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006392/1.271, allocations: 0.5428 MB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/1.271, allocations: 87.02 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/1.271, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/1.271, allocations: 7.984 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/1.271, allocations: 4 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.271, allocations: 7.891 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000117/1.271, allocations: 95.22 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002747/1.274, allocations: 55.92 kB / 1.104 GB, free: 11.56 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.000767/1.275, allocations: 166.2 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000345/1.275, allocations: 51.92 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.275, allocations: 4.312 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/1.275, allocations: 24 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/1.276, allocations: 8 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/1.277, allocations: 99.92 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/1.277, allocations: 0.7036 MB / 1.105 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of SimCode: time 1.563e-06/1.277, allocations: 0 / 1.105 GB, free: 10.47 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)