Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.378/1.378, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.00108/0.00108, allocations: 173.3 kB / 361.1 MB, free: 7.105 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.167/1.167, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007767/0.0007767, allocations: 90.67 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.221/0.2218, allocations: 121.4 MB / 0.8512 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.7684, allocations: 115.3 MB / 0.9638 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.919, allocations: 139.1 MB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.9193, allocations: 77.88 kB / 1.1 GB, free: 0.9375 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.008339/0.9276, allocations: 2.987 MB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9277, allocations: 8.594 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.9277, allocations: 13.44 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.9278, allocations: 171.9 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.9278, allocations: 11.98 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.9279, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.014e-05/0.928, allocations: 20.66 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.9281, allocations: 58.88 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.9281, allocations: 0.6562 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.9281, allocations: 0.6875 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9281, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.9286, allocations: 267.6 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.9286, allocations: 44.17 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.9287, allocations: 24.73 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.9287, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.9288, allocations: 72.98 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.9288, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000205/0.9291, allocations: 82.02 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.9291, allocations: 51.91 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.9292, allocations: 120 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.9292, allocations: 25.7 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.9293, allocations: 84.33 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.9293, allocations: 15.75 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.9293, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.9294, allocations: 318.8 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.9294, allocations: 15.94 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.9295, allocations: 57.14 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.9295, allocations: 12 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9295, allocations: 4 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001361/0.9297, allocations: 94.08 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.9297, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9297, allocations: 4 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.9297, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.9298, allocations: 21.67 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.9298, allocations: 9.703 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.9299, allocations: 4 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.9299, allocations: 4 kB / 1.104 GB, free: 12.21 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 7.78e-05/0.93, allocations: 114.5 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.93, allocations: 7.906 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.9301, allocations: 8.375 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9301, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9301, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.9301, allocations: 4.797 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.9304, allocations: 319.1 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.9304, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.9305, allocations: 7.984 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9305, allocations: 3.906 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9305, allocations: 0.9375 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9305, allocations: 5.938 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9305, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001608/0.9307, allocations: 175.4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002518/0.931, allocations: 0.5446 MB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.931, allocations: 85.02 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.931, allocations: 3.984 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.584e-05/0.9311, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.9312, allocations: 8.031 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.9312, allocations: 19.83 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.081e-05/0.9313, allocations: 88.59 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008431/0.9321, allocations: 55.92 kB / 1.106 GB, free: 10.67 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.0005084/0.9326, allocations: 167.2 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.9328, allocations: 56.11 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9328, allocations: 4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.9328, allocations: 24 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.9331, allocations: 4.734 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.9334, allocations: 102.7 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.9337, allocations: 0.7005 MB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9337, allocations: 128 / 1.107 GB, free: 9.582 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)