Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.512/2.512, allocations: 284.8 MB / 292.1 MB, free: 1.418 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001752/0.001752, allocations: 181.6 kB / 360.3 MB, free: 15.62 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.1 MB / 0.6187 GB, free: 6.617 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.001299, allocations: 91.88 kB / 0.7317 GB, free: 46.98 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.3076/0.3089, allocations: 121.4 MB / 0.8502 GB, free: 13.62 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.9805, allocations: 115.2 MB / 0.9627 GB, free: 86.39 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/1.214, allocations: 138.9 MB / 1.098 GB, free: 11.38 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006557/1.214, allocations: 83.14 kB / 1.099 GB, free: 11.3 MB / 0.7061 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.01991/1.234, allocations: 2.984 MB / 1.101 GB, free: 8.324 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.234, allocations: 13.12 kB / 1.101 GB, free: 8.312 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/1.234, allocations: 7.906 kB / 1.101 GB, free: 8.305 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/1.235, allocations: 176.2 kB / 1.102 GB, free: 8.094 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/1.235, allocations: 3.938 kB / 1.102 GB, free: 8.09 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/1.235, allocations: 4.562 kB / 1.102 GB, free: 8.086 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/1.235, allocations: 20.69 kB / 1.102 GB, free: 8.066 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/1.235, allocations: 53.67 kB / 1.102 GB, free: 8.008 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.235, allocations: 0.6875 kB / 1.102 GB, free: 8.008 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/1.235, allocations: 4 kB / 1.102 GB, free: 8.004 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.235, allocations: 5.516 kB / 1.102 GB, free: 8 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/1.236, allocations: 270.6 kB / 1.102 GB, free: 7.699 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/1.236, allocations: 39.61 kB / 1.102 GB, free: 7.652 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/1.236, allocations: 25.64 kB / 1.102 GB, free: 7.625 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/1.236, allocations: 1.094 kB / 1.102 GB, free: 7.625 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/1.236, allocations: 64.02 kB / 1.102 GB, free: 7.551 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/1.236, allocations: 2.062 kB / 1.102 GB, free: 7.551 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7): time 0.0002867/1.237, allocations: 78.17 kB / 1.102 GB, free: 7.469 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.237, allocations: 55.41 kB / 1.102 GB, free: 7.402 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.237, allocations: 114 kB / 1.102 GB, free: 7.285 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.237, allocations: 29.7 kB / 1.102 GB, free: 7.25 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/1.237, allocations: 84.33 kB / 1.102 GB, free: 7.16 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/1.237, allocations: 27.67 kB / 1.102 GB, free: 7.133 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/1.237, allocations: 0 / 1.102 GB, free: 7.133 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.237, allocations: 310.8 kB / 1.103 GB, free: 6.82 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/1.237, allocations: 19.94 kB / 1.103 GB, free: 6.801 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/1.237, allocations: 55.39 kB / 1.103 GB, free: 6.73 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/1.237, allocations: 23.98 kB / 1.103 GB, free: 6.707 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.237, allocations: 0 / 1.103 GB, free: 6.707 MB / 0.7061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002183/1.238, allocations: 89.47 kB / 1.103 GB, free: 6.613 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.238, allocations: 5.719 kB / 1.103 GB, free: 6.609 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.238, allocations: 0 / 1.103 GB, free: 6.609 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.238, allocations: 4 kB / 1.103 GB, free: 6.605 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/1.238, allocations: 15.98 kB / 1.103 GB, free: 6.59 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.238, allocations: 3.906 kB / 1.103 GB, free: 6.586 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/1.238, allocations: 8.141 kB / 1.103 GB, free: 6.578 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.238, allocations: 13.25 kB / 1.103 GB, free: 6.566 MB / 0.7061 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.0001011/1.238, allocations: 108.9 kB / 1.103 GB, free: 6.453 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/1.238, allocations: 9.875 kB / 1.103 GB, free: 6.445 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/1.238, allocations: 8.375 kB / 1.103 GB, free: 6.438 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/1.238, allocations: 8.031 kB / 1.103 GB, free: 6.43 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.238, allocations: 0 / 1.103 GB, free: 6.43 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.238, allocations: 3.906 kB / 1.103 GB, free: 6.426 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/1.239, allocations: 323.1 kB / 1.103 GB, free: 6.066 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.239, allocations: 0 / 1.103 GB, free: 6.066 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/1.239, allocations: 4 kB / 1.103 GB, free: 6.062 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.239, allocations: 7.906 kB / 1.103 GB, free: 6.055 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.239, allocations: 0 / 1.103 GB, free: 6.055 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.239, allocations: 1.625 kB / 1.103 GB, free: 6.055 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.239, allocations: 0 / 1.103 GB, free: 6.055 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002495/1.239, allocations: 174 kB / 1.104 GB, free: 5.871 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003886/1.24, allocations: 0.5544 MB / 1.104 GB, free: 5.297 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.24, allocations: 81.02 kB / 1.104 GB, free: 5.199 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/1.24, allocations: 4 kB / 1.104 GB, free: 5.195 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/1.24, allocations: 4 kB / 1.104 GB, free: 5.191 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/1.24, allocations: 3.984 kB / 1.104 GB, free: 5.188 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/1.24, allocations: 11.91 kB / 1.104 GB, free: 5.176 MB / 0.7061 GB Notification: Performance of sort global known variables: time 7.071e-05/1.24, allocations: 96.08 kB / 1.104 GB, free: 5.082 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.001282/1.241, allocations: 51.94 kB / 1.104 GB, free: 5.031 MB / 0.7061 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.0005006/1.242, allocations: 161.8 kB / 1.105 GB, free: 4.887 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0002179/1.242, allocations: 55.92 kB / 1.105 GB, free: 4.832 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.242, allocations: 0.8438 kB / 1.105 GB, free: 4.832 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.242, allocations: 27.94 kB / 1.105 GB, free: 4.805 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/1.243, allocations: 11.98 kB / 1.105 GB, free: 4.793 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/1.243, allocations: 100.4 kB / 1.105 GB, free: 4.676 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/1.244, allocations: 0.7 MB / 1.105 GB, free: 3.949 MB / 0.7061 GB Notification: Performance of SimCode: time 1.282e-06/1.244, allocations: 4 kB / 1.105 GB, free: 3.945 MB / 0.7061 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)